1function _toArray(e){return _arrayWithHoles2(e)||_iterableToArray2(e)||_unsupportedIterableToArray2(e)||_nonIterableRest2()}function _construct(e,t,n){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&_setPrototypeOf2(i,n.prototype),i}function _createForOfIteratorHelper2(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray2(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=n.call(e)},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 _readOnlyError(e){throw new TypeError('"'+e+'" is read-only')}function _slicedToArray2(e,t){return _arrayWithHoles2(e)||_iterableToArrayLimit2(e,t)||_unsupportedIterableToArray2(e,t)||_nonIterableRest2()}function _nonIterableRest2(){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 _iterableToArrayLimit2(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}function _arrayWithHoles2(e){if(Array.isArray(e))return e}function _regenerator2(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,u=Object.create(l.prototype);return _regeneratorDefine2(u,"_invoke",function(n,r,i){var o,s,l,u=0,c=i||[],h=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return o=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!h&&u&&!i&&t<c.length;t++){var i,o=c[t],f=d.p,p=o[2];n>3?(i=p===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=f&&((i=n<2&&f<o[1])?(s=0,d.v=r,d.n=o[1]):f<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,d.n=p,s=0))}if(i||n>1)return a;throw h=!0,r}return function(i,c,p){if(u>1)throw TypeError("Generator is already running");for(h&&1===c&&f(c,p),s=c,l=p;(t=s<2?e:l)||!h;){o||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(u=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(h=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,s=1,l=t}finally{u=1}}return{value:t,done:h}}}(n,i,o),!0),u}var a={};function s(){}function l(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(_regeneratorDefine2(t={},r,(function(){return this})),t),h=u.prototype=s.prototype=Object.create(c);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,_regeneratorDefine2(e,i,"GeneratorFunction")),e.prototype=Object.create(h),e}return l.prototype=u,_regeneratorDefine2(h,"constructor",u),_regeneratorDefine2(u,"constructor",l),l.displayName="GeneratorFunction",_regeneratorDefine2(u,i,"GeneratorFunction"),_regeneratorDefine2(h),_regeneratorDefine2(h,i,"Generator"),_regeneratorDefine2(h,r,(function(){return this})),_regeneratorDefine2(h,"toString",(function(){return"[object Generator]"})),(_regenerator2=function(){return{w:o,m:d}})()}function _regeneratorDefine2(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}(_regeneratorDefine2=function(e,t,n,r){function o(t,n){_regeneratorDefine2(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))})(e,t,n,r)}
1function _toConsumableArray2(e){return _arrayWithoutHoles2(e)||_iterableToArray2(e)||_unsupportedIterableToArray2(e)||_nonIterableSpread2()}function _nonIterableSpread2(){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 _unsupportedIterableToArray2(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray2(e,t);var n={}.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)?_arrayLikeToArray2(e,t):void 0}}function _iterableToArray2(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles2(e){if(Array.isArray(e))return _arrayLikeToArray2(e)}function _arrayLikeToArray2(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _superPropGet(e,t,n,r){var i=_get2(_getPrototypeOf2(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof i?function(e){return i.apply(n,e)}:i}function _get2(){return(_get2="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=_superPropBase(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function _superPropBase(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf2(e)););return e}function _callSuper(e,t,n){return t=_getPrototypeOf2(t),_possibleConstructorReturn2(e,_isNativeReflectConstruct()?Reflect.construct(t,n||[],_getPrototypeOf2(e).constructor):t.apply(e,n))}function _possibleConstructorReturn2(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized2(e)}function _assertThisInitialized2(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf2(e){return(_getPrototypeOf2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _inherits2(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf2(e,t)}function _setPrototypeOf2(e,t){return(_setPrototypeOf2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}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,_toPropertyKey(r.key),r)}}function _createClass2(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:t+""}function _toPrimitive(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _classCallCheck2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}/*! For license information please see main-es2015.b827ac2b56f8a3053bd9.js.LICENSE.txt */(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+924":function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o}
1)),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var r=n("9AQC");function i(e,t){return void 0===t&&(t=0),"string"!=typeof e||0===t||e.length<=t?e:e.substr(0,t)+"..."}function o(e,t){var n=e,r=n.length;if(r<=150)return n;t>r&&(t=r);var i=Math.max(t-60,0);i<5&&(i=0);var o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),n=n.slice(i,o),i>0&&(n="'{snip} "+n),o<r&&(n+=" {snip}"),n}function a(e,t){if(!Array.isArray(e))return"";for(var n=[],r=0;r<e.length;r++){var i=e[r];try{n.push(String(i))}catch(o){n.push("[value cannot be serialized]")}}return n.join(t)}function s(e,t){return!!Object(r.k)(e)&&(Object(r.j)(t)?t.test(e):"string"==typeof t&&-1!==e.indexOf(t))}},"+A1k":function(e,t,n){"use strict";(function(e){function r(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function i(e,t){return e.require(t)}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n("9AQC"),n("6PXS")}).call(this,n("3UD+")(e))},"+Nuo":function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return r.AnnotationLayerBuilder}}),Object.defineProperty(t,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return r.DefaultAnnotationLayerFactory}}),Object.defineProperty(t,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return i.DefaultTextLayerFactory}}),Object.defineProperty(t,"TextLayerBuilder",{enumerable:!0,get:function(){return i.TextLayerBuilder}}),Object.defineProperty(t,"EventBus",{enumerable:!0,get:function(){return o.EventBus}}),Object.defineProperty(t,"NullL10n",{enumerable:!0,get:function(){return o.NullL10n}}),Object.defineProperty(t,"ProgressBar",{enumerable:!0,get:function(){return o.ProgressBar}}),Object.defineProperty(t,"PDFLinkService",{enumerable:!0,get:function(){return a.PDFLinkService}}),Object.defineProperty(t,"SimpleLinkService",{enumerable:!0,get:function(){return a.SimpleLinkService}}),Object.defineProperty(t,"DownloadManager",{enumerable:!0,get:function(){return s.DownloadManager}}),Object.defineProperty(t,"GenericL10n",{enumerable:!0,get:function(){return l.GenericL10n}}),Object.defineProperty(t,"PDFFindController",{enumerable:!0,get:function(){return u.PDFFindController}}),Object.defineProperty(t,"PDFHistory",{enumerable:!0,get:function(){return c.PDFHistory}}),Object.defineProperty(t,"PDFPageView",{enumerable:!0,get:function(){return h.PDFPageView}}),Object.defineProperty(t,"PDFSinglePageViewer",{enumerable:!0,get:function(){return d.PDFSinglePageViewer}}),Object.defineProperty(t,"PDFViewer",{enumerable:!0,get:function(){return f.PDFViewer}});var r=n(1),i=n(8),o=n(3),a=n(7),s=n(9),l=n(11),u=n(13),c=n(15),h=n(16),d=n(18),f=n(20)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultAnnotationLayerFactory=t.AnnotationLayerBuilder=void 0;var r=n(2),i=n(3),o=n(7);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}var u=function(){function e(t){var n=t.pageDiv,r=t.pdfPage,o=t.linkService,s=t.downloadManager,l=t.imageResourcesPath,u=void 0===l?"":l,c=t.renderInteractiveForms,h=void 0!==c&&c,d=t.l10n,f=void 0===d?i.NullL10n:d;a(this,e),this.pageDiv=n,this.pdfPage=r,this.linkService=o,this.downloadManager=s,this.imageResourcesPath=u,this.renderInteractiveForms=h,this.l10n=f,this.div=null,this._cancelled=!1}return l(e,[{key:"render",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"display";this.pdfPage.getAnnotations({intent:n}).then((function(n){if(!t._cancelled){var i={viewport:e.clone({dontFlip:!0}),div:t.div,annotations:n,page:t.pdfPage,imageResourcesPath:t.imageResourcesPath,renderInteractiveForms:t.renderInteractiveForms,linkService:t.linkService,downloadManager:t.downloadManager};if(t.div)r.AnnotationLayer.update(i);else{if(0===n.length)return;t.div=document.createElement("div"),t.div.className="annotationLayer",t.pageDiv.appendChild(t.div),i.div=t.div,r.AnnotationLayer.render(i),t.l10n.translate(t.div)}}}))}},{key:"cancel",value:function(){this._cancelled=!0}},{key:"hide",value:function(){this.div&&this.div.setAttribute("hidden","true")}}]),e}();t.AnnotationLayerBuilder=u,t.DefaultAnnotationLayerFactory=function(){function e(){a(this,e)}return l(e,[{key:"createAnnotationLayerBuilder",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i.NullL10n;return new u({pageDiv:e,pdfPage:t,imageResourcesPath:n,renderInteractiveForms:r,linkService:new o.SimpleLinkService,l10n:a})}}]),e}()},function(e,t,r){"use strict";var i;i="undefined"!=typeof window&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:n("Q4Nv"),e.exports=i},function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.isValidRotation=function(e){return Number.isInteger(e)&&e%90==0},t.isValidScrollMode=function(e){return Number.isInteger(e)&&Object.values(h).includes(e)&&e!==h.UNKNOWN},t.isValidSpreadMode=function(e){return Number.isInteger(e)&&Object.values(d).includes(e)&&e!==d.UNKNOWN},t.isPortraitOrientation=function(e){return e.width<=e.height},t.clamp=y,t.getPDFFileNameFromURL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!=typeof e)return t;if(_(e))return console.warn('getPDFFileNameFromURL: ignoring "data:" URL for performance reasons.'),t;var n=/^(?:(?:[^:]+:)?\/\/[^\/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,r=/[^\/?#=]+\.pdf\b(?!.*\.pdf\b)/i,i=n.exec(e),o=r.exec(i[1])||r.exec(i[2])||r.exec(i[3]);if(o&&(o=o[0]).includes("%"))try{o=r.exec(decodeURIComponent(o))[0]}catch(a){}return o||t},t.noContextMenuHandler=function(e){e.preventDefault()},t.parseQueryString=function(e){for(var t=e.split("&"),n=Object.create(null),r=0,i=t.length;r<i;++r){var o=t[r].split("="),a=o[0].toLowerCase(),s=o.length>1?o[1]:null;n[decodeURIComponent(a)]=decodeURIComponent(s)}return n},t.backtrackBeforeAllVisibleElements=g,t.getVisibleElements=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.scrollTop,o=i+e.clientHeight,a=e.scrollLeft,s=a+e.clientWidth;function l(e){var t=e.div;return t.offsetTop+t.clientTop+t.clientHeight>i}function u(e){var t=e.div;return t.offsetLeft+t.clientLeft+t.clientWidth>a}var c=[],h=t.length,d=0===h?0:p(t,r?u:l);d>0&&d<h&&!r&&(d=g(d,t,i));for(var f=r?s:-1,_=d;_<h;_++){var A=t[_],v=A.div,m=v.offsetLeft+v.clientLeft,y=v.offsetTop+v.clientTop,b=v.clientWidth,C=v.clientHeight,w=m+b,k=y+C;if(-1===f)k>=o&&(f=k);else if((r?m:y)>f)break;if(!(k<=i||y>=o||w<=a||m>=s)){var E=Math.max(0,i-y)+Math.max(0,k-o),S=Math.max(0,a-m)+Math.max(0,w-s),O=(C-E)*(b-S)*100/C/b|0;c.push({id:A.id,x:m,y:y,view:A,percent:O})}}var x=c[0],P=c[c.length-1];return n&&c.sort((function(e,t){var n=e.percent-t.percent;return Math.abs(n)>.001?-n:e.id-t.id})),{first:x,last:P,views:c}},t.roundToDivide=function(e,t){var n=e%t;return 0===n?e:Math.round(e-n+t)},t.getPageSizeInches=function(e){var t,n=e.userUnit,r=e.rotate,i=function(e){if(Array.isArray(e))return e}(t=e.view)||function(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),4!==n.length);r=!0);}catch(l){i=!0,o=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t)||function(e,t){if(e){if("string"==typeof e)return l(e,4);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)?l(e,4):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=r%180!=0,a=(i[2]-i[0])/72*n,s=(i[3]-i[1])/72*n;return{width:o?s:a,height:o?a:s}},t.approximateFraction=function(e){if(Math.floor(e)===e)return[e,1];var t=1/e;if(t>8)return[1,8];if(Math.floor(t)===t)return[1,t];for(var n=e>1?t:e,r=0,i=1,o=1,a=1;;){var s=r+o,l=i+a;if(l>8)break;n<=s/l?(o=s,a=l):(r=s,i=l)}return n-r/i<o/a-n?n===e?[r,i]:[i,r]:n===e?[o,a]:[a,o]},t.getOutputScale=function(e){var t=(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1);return{sx:t,sy:t,scaled:1!==t}},t.scrollIntoView=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.offsetParent;if(r){for(var i=e.offsetTop+e.clientTop,o=e.offsetLeft+e.clientLeft;r.clientHeight===r.scrollHeight&&r.clientWidth===r.scrollWidth||n&&"hidden"===getComputedStyle(r).overflow;)if(r.dataset._scaleY&&(i/=r.dataset._scaleY,o/=r.dataset._scaleX),i+=r.offsetTop,o+=r.offsetLeft,!(r=r.offsetParent))return;t&&(void 0!==t.top&&(i+=t.top),void 0!==t.left&&(r.scrollLeft=o+=t.left)),r.scrollTop=i}else console.error("offsetParent is not set -- cannot scroll")},t.watchScroll=function(e,t){var n=function(n){i||(i=window.requestAnimationFrame((function(){i=null;var n=e.scrollLeft,o=r.lastX;n!==o&&(r.right=n>o),r.lastX=n;var a=e.scrollTop,s=r.lastY;a!==s&&(r.down=a>s),r.lastY=a,t(r)})))},r={right:!0,down:!0,lastX:e.scrollLeft,lastY:e.scrollTop,_eventHandler:n},i=null;return e.addEventListener("scroll",n,!0),r},t.binarySearchFirstItem=p,t.normalizeWheelEventDelta=function(e){var t=Math.sqrt(e.deltaX*e.deltaX+e.deltaY*e.deltaY),n=Math.atan2(e.deltaY,e.deltaX);return-.25*Math.PI<n&&n<.75*Math.PI&&(t=-t),0===e.deltaMode?t/=900:1===e.deltaMode&&(t/=30),t},t.waitOnEventOrTimeout=function(e){var t=e.target,n=e.name,r=e.delay,i=void 0===r?0:r;return new Promise((function(e,r){if("object"!==function(e){return("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)}(t)||!n||"string"!=typeof n||!(Number.isInteger(i)&&i>
1=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function o(r){t instanceof m?t._off(n,a):t.removeEventListener(n,a),l&&clearTimeout(l),e(r)}var a=o.bind(null,A.EVENT);t instanceof m?t._on(n,a):t.addEventListener(n,a);var s=o.bind(null,A.TIMEOUT),l=setTimeout(s,i)}))},t.moveToEndOfArray=function(e,t){for(var n=[],r=e.length,i=0,o=0;o<r;++o)t(e[o])?n.push(e[o]):(e[i]=e[o],++i);for(var a=0;i<r;++a,++i)e[i]=n[a]},t.WaitOnType=t.animationStarted=t.ProgressBar=t.EventBus=t.NullL10n=t.SpreadMode=t.ScrollMode=t.TextLayerMode=t.RendererType=t.PresentationModeState=t.VERTICAL_PADDING=t.SCROLLBAR_PADDING=t.MAX_AUTO_SCALE=t.UNKNOWN_SCALE=t.MAX_SCALE=t.MIN_SCALE=t.DEFAULT_SCALE=t.DEFAULT_SCALE_VALUE=t.CSS_UNITS=t.AutoPrintRegExp=void 0;var r,i=(r=n(4))&&r.__esModule?r:{default:r};function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(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 u(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)}))}}t.CSS_UNITS=96/72,t.DEFAULT_SCALE_VALUE="auto",t.DEFAULT_SCALE=1,t.MIN_SCALE=.1,t.MAX_SCALE=10,t.UNKNOWN_SCALE=0,t.MAX_AUTO_SCALE=1.25,t.SCROLLBAR_PADDING=40,t.VERTICAL_PADDING=5,t.PresentationModeState={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3},t.RendererType={CANVAS:"canvas",SVG:"svg"},t.TextLayerMode={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};var h={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2};t.ScrollMode=h;var d={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};function f(e,t){return t?e.replace(/\{\{\s*(\w+)\s*\}\}/g,(function(e,n){return n in t?t[n]:"{{"+n+"}}"})):e}function p(e,t){var n=0,r=e.length-1;if(r<0||!t(e[r]))return e.length;if(t(e[n]))return n;for(;n<r;){var i=n+r>>1;t(e[i])?r=i:n=i+1}return n}function g(e,t,n){if(e<2)return e;var r=t[e].div,i=r.offsetTop+r.clientTop;i>=n&&(i=(r=t[e-1].div).offsetTop+r.clientTop);for(var o=e-2;o>=0&&!((r=t[o].div).offsetTop+r.clientTop+r.clientHeight<=i);--o)e=o;return e}function _(e){for(var t=0,n=e.length;t<n&&""===e[t].trim();)t++;return"data:"===e.substring(t,t+5).toLowerCase()}t.SpreadMode=d,t.AutoPrintRegExp=/\bprint\s*\(/,t.NullL10n={getLanguage:function(){return c(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return","en-us");case 1:case"end":return e.stop()}}),e)})))()},getDirection:function(){return c(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return","ltr");case 1:case"end":return e.stop()}}),e)})))()},get:function(e,t,n){return c(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",f(n,t));case 1:case"end":return e.stop()}}),e)})))()},translate:function(e){return c(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()}};var A={EVENT:"event",TIMEOUT:"timeout"};t.WaitOnType=A;var v=new Promise((function(e){window.requestAnimationFrame(e)}));t.animationStarted=v;var m=function(){function e(t){o(this,e),this._listeners=Object.create(null)}return s(e,[{key:"on",value:function(e,t){this._on(e,t,{external:!0})}},{key:"off",value:function(e,t){this._off(e,t,{external:!0})}},{key:"dispatch",value:function(e){var t=this._listeners[e];if(t&&0!==t.length){var n,r=Array.prototype.slice.call(arguments,1);t.slice(0).forEach((function(e){var t=e.listener;if(e.external)return n||(n=[]),void n.push(t);t.apply(null,r)})),n&&(n.forEach((function(e){e.apply(null,r)})),n=null)}}},{key:"_on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this._listeners[e];r||(this._listeners[e]=r=[]),r.push({listener:t,external:!0===(n&&n.external)})}},{key:"_off",value:function(e,t){var n=this._listeners[e];if(n)for(var r=0,i=n.length;r<i;r++)if(n[r].listener===t)return void n.splice(r,1)}}]),e}();function y(e,t,n){return Math.min(Math.max(e,t),n)}t.EventBus=m,t.ProgressBar=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.height,i=n.width,a=n.units;o(this,e),this.visible=!0,this.div=document.querySelector(t+" .progress"),this.bar=this.div.parentNode,this.height=r||100,this.width=i||100,this.units=a||"%",this.div.style.height=this.height+this.units,this.percent=0}return s(e,[{key:"_updateBar",value:function(){if(this._indeterminate)return this.div.classList.add("indeterminate"),void(this.div.style.width=this.width+this.units);this.div.classList.remove("indeterminate"),this.div.style.width=this.width*this._percent/100+this.units}}
1,{key:"setWidth",value:function(e){if(e){var t=e.parentNode.offsetWidth-e.offsetWidth;t>0&&(this.bar.style.width="calc(100% - ".concat(t,"px)"))}}},{key:"hide",value:function(){this.visible&&(this.visible=!1,this.bar.classList.add("hidden"),document.body.classList.remove("loadingInProgress"))}},{key:"show",value:function(){this.visible||(this.visible=!0,document.body.classList.add("loadingInProgress"),this.bar.classList.remove("hidden"))}},{key:"percent",get:function(){return this._percent},set:function(e){this._indeterminate=isNaN(e),this._percent=y(e,0,100),this._updateBar()}}]),e}()},function(e,t,n){"use strict";e.exports=n(5)},function(e,t,n){"use strict";(function(e){function t(e){return(t="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)}var n=function(e){var n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n,r){var i=Object.create((t&&t.prototype instanceof h?t:h).prototype),o=new w(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=y(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===c)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,o),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=l;var c={};function h(){}function d(){}function f(){}var p={};p[o]=function(){return this};var g=Object.getPrototypeOf,_=g&&g(g(k([])));_&&_!==n&&r.call(_,o)&&(p=_);var A=f.prototype=h.prototype=Object.create(p);function v(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function m(e,n){var i;this._invoke=function(o,a){function s(){return new n((function(i,s){!function i(o,a,s,l){var c=u(e[o],e,a);if("throw"!==c.type){var h=c.arg,d=h.value;return d&&"object"===t(d)&&r.call(d,"__await")?n.resolve(d.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):n.resolve(d).then((function(e){h.value=e,s(h)}),(function(e){return i("throw",e,s,l)}))}l(c.arg)}(o,a,i,s)}))}return i=i?i.then(s,s):s()}}function y(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}
vendor: 4,537 bytes, line 1
1var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function k(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=A.constructor=f,f.constructor=d,f[s]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},v(m.prototype),m.prototype[a]=function(){return this},e.AsyncIterator=m,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new m(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(A),A[s]="Generator",A[o]=function(){return this},A.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=n}catch(r){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(6)(e))},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleLinkService=t.PDFLinkService=void 0;var r=n(3);function i(e){return(i="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 o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}t.PDFLinkService=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.eventBus,r=t.externalLinkTarget,i=void 0===r?null:r,a=t.externalLinkRel,s=void 0===a?null:a,l=t.externalLinkEnabled,u=void 0===l||l,c=t.ignoreDestinationZoom,h=void 0!==c&&c;o(this,e),this.eventBus=n,this.externalLinkTarget=i,this.externalLinkRel=s,this.externalLinkEnabled=u,this._ignoreDestinationZoom=h,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null,this._pagesRefCache=null}return s(e,[{key:"setDocument",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.baseUrl=t,this.pdfDocument=e,this._pagesRefCache=Object.create(null)}},{key:"setViewer",value:function(e){this.pdfViewer=e}},{key:"setHistory",value:function(e){this.pdfHistory=e}},{key:"navigateTo",value:function(e){var t=this;new Promise((function(n,r){"string"!=typeof e?n({namedDest:"",explicitDest:e}):t.pdfDocument.getDestination(e).then((function(t){n({namedDest:e,explicitDest:t})}))})).then((function(n){Array.isArray(n.explicitDest)?function n(r){var i,o=r.namedDest,a=r.explicitDest,s=a[0];if(s instanceof Object){if(null===(i=t._cachedPageNumber(s)))return void t.pdfDocument.getPageIndex(s).then((function(e){t.cachePageRef(e+1,s),n({namedDest:o,explicitDest:a})})).catch((function(){console.error('PDFLinkService.navigateTo: "'.concat(s,'" is not ')+'a valid page reference, for dest="'.concat(e,'".'))}))}else{if(!Number.isInteger(s))return void console.error('PDFLinkService.navigateTo: "'.concat(s,'" is not ')+'a valid destination reference, for dest="'.concat(e,'".'));i=s+1}!i||i<1||i>t.pagesCount?console.error('PDFLinkService.navigateTo: "'.concat(i,'" is not ')+'a valid page number, for dest="'.concat(e,'".')):(t.pdfHistory&&(t.pdfHistory.pushCurrentPosition(),t.pdfHistory.push({namedDest:o,explicitDest:a,pageNumber:i})),t.pdfViewer.scrollPageIntoView({pageNumber:i,destArray:a,ignoreDestinationZoom:t._ignoreDestinationZoom}))}(n):console.error('PDFLinkService.navigateTo: "'.concat(n.explicitDest,'" is')+' not a valid destination array, for dest="'.concat(e,'".'))}))}},{key:"getDestinationHash",value:function(e){if("string"==typeof e)return this.getAnchorUrl("#"+escape(e));if(Array.isArray(e)){var t=JSON.stringify(e);return this.getAnchorUrl("#"+escape(t))}return this.getAnchorUrl("")}},{key:"getAnchorUrl",value:function(e){return(this.baseUrl||"")+e}},{key:"setHash",value:function(e){var t,n;if(e.includes("=")){var o=(0,r.parseQueryString)(e);if("search"in o&&this.eventBus.dispatch("findfromurlhash",{source:this,query:o.search.replace(/"/g,""),phraseSearch:"true"===o.phrase}),"page"in o&&(t=0|o.page||1),"zoom"in o){var a=o.zoom.split(","),s=a[0],l=parseFloat(s);s.includes("Fit")?"Fit"===s||"FitB"===s?n=[null,{name:s}]:"FitH"===s||"FitBH"===s||"FitV"===s||"FitBV"===s?n=[null,{name:s},a.length>1?0|a[1]:null]:"FitR"===s?5!==a.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):n=[null,{name:s},0|a[1],0|a[2],0|a[3],0|a[4]]:console.error('PDFLinkService.setHash: "'.concat(s,'" is not ')+"a valid zoom value."):n=[null,{name:"XYZ"},a.length>1?0|a[1]:null,a.length>2?0|a[2]:null,l?l/100:s]}n?this.pdfViewer.scrollPageIntoView({pageNumber:t||this.page,destArray:n,allowNegativeOffset:!0}):t&&(this.page=t),"pagemode"in o&&this.eventBus.dispatch("pagemode",{source:this,mode:o.pagemode}),"nameddest"in o&&this.navigateTo(o.nameddest)}
1else{n=unescape(e);try{n=JSON.parse(n),Array.isArray(n)||(n=n.toString())}catch(u){}if("string"==typeof n||function(e){if(!Array.isArray(e))return!1;var t=e.length;if(t<2)return!1;var n=e[0];if(!("object"===i(n)&&Number.isInteger(n.num)&&Number.isInteger(n.gen)||Number.isInteger(n)&&n>=0))return!1;var r=e[1];if("object"!==i(r)||"string"!=typeof r.name)return!1;var o=!0;switch(r.name){case"XYZ":if(5!==t)return!1;break;case"Fit":case"FitB":return 2===t;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==t)return!1;break;case"FitR":if(6!==t)return!1;o=!1;break;default:return!1}for(var a=2;a<t;a++){var s=e[a];if(!("number"==typeof s||o&&null===s))return!1}return!0}(n))return void this.navigateTo(n);console.error('PDFLinkService.setHash: "'.concat(unescape(e),'" is not ')+"a valid destination.")}}},{key:"executeNamedAction",value:function(e){switch(e){case"GoBack":this.pdfHistory&&this.pdfHistory.back();break;case"GoForward":this.pdfHistory&&this.pdfHistory.forward();break;case"NextPage":this.page<this.pagesCount&&this.page++;break;case"PrevPage":this.page>1&&this.page--;break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:e})}},{key:"cachePageRef",value:function(e,t){if(t){var n=0===t.gen?"".concat(t.num,"R"):"".concat(t.num,"R").concat(t.gen);this._pagesRefCache[n]=e}}},{key:"_cachedPageNumber",value:function(e){var t=0===e.gen?"".concat(e.num,"R"):"".concat(e.num,"R").concat(e.gen);return this._pagesRefCache&&this._pagesRefCache[t]||null}},{key:"isPageVisible",value:function(e){return this.pdfViewer.isPageVisible(e)}},{key:"pagesCount",get:function(){return this.pdfDocument?this.pdfDocument.numPages:0}},{key:"page",get:function(){return this.pdfViewer.currentPageNumber},set:function(e){this.pdfViewer.currentPageNumber=e}},{key:"rotation",get:function(){return this.pdfViewer.pagesRotation},set:function(e){this.pdfViewer.pagesRotation=e}}]),e}(),t.SimpleLinkService=function(){function e(){o(this,e),this.externalLinkTarget=null,this.externalLinkRel=null,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=!1}return s(e,[{key:"navigateTo",value:function(e){}},{key:"getDestinationHash",value:function(e){return"#"}},{key:"getAnchorUrl",value:function(e){return"#"}},{key:"setHash",value:function(e){}},{key:"executeNamedAction",value:function(e){}},{key:"cachePageRef",value:function(e,t){}},{key:"isPageVisible",value:function(e){return!0}},{key:"pagesCount",get:function(){return 0}},{key:"page",get:function(){return 0},set:function(e){}},{key:"rotation",get:function(){return 0},set:function(e){}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultTextLayerFactory=t.TextLayerBuilder=void 0;var r=n(2);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}var s=function(){function e(t){var n=t.textLayerDiv,r=t.eventBus,o=t.pageIndex,a=t.viewport,s=t.findController,l=void 0===s?null:s,u=t.enhanceTextSelection,c=void 0!==u&&u;i(this,e),this.textLayerDiv=n,this.eventBus=r,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageIdx=o,this.pageNumber=this.pageIdx+1,this.matches=[],this.viewport=a,this.textDivs=[],this.findController=l,this.textLayerRenderTask=null,this.enhanceTextSelection=c,this._onUpdateTextLayerMatches=null,this._bindMouse()}return a(e,[{key:"_finishRendering",value:function(){if(this.renderingDone=!0,!this.enhanceTextSelection){var e=document.createElement("div");e.className="endOfContent",this.textLayerDiv.appendChild(e)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}},{key:"render",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if((this.textContent||this.textContentStream)&&!this.renderingDone){this.cancel(),this.textDivs=[];var n=document.createDocumentFragment();this.textLayerRenderTask=(0,r.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:n,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:t,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then((function(){e.textLayerDiv.appendChild(n),e._finishRendering(),e._updateMatches()}),(function(e){}
1)),this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=function(t){t.pageIndex!==e.pageIdx&&-1!==t.pageIndex||e._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches))}}},{key:"cancel",value:function(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null)}},{key:"setTextContentStream",value:function(e){this.cancel(),this.textContentStream=e}},{key:"setTextContent",value:function(e){this.cancel(),this.textContent=e}},{key:"_convertMatches",value:function(e,t){if(!e)return[];for(var n=this.textContentItemsStr,r=0,i=0,o=n.length-1,a=this.findController.state.query.length,s=[],l=0,u=e.length;l<u;l++){for(var c=e[l];r!==o&&c>=i+n[r].length;)i+=n[r].length,r++;r===n.length&&console.error("Could not find a matching mapping");var h={begin:{divIdx:r,offset:c-i}};for(c+=t?t[l]:a;r!==o&&c>i+n[r].length;)i+=n[r].length,r++;h.end={divIdx:r,offset:c-i},s.push(h)}return s}},{key:"_renderMatches",value:function(e){if(0!==e.length){var t=this.findController,n=this.pageIdx,r=this.textContentItemsStr,i=this.textDivs,o=n===t.selected.pageIdx,a=t.selected.matchIdx,s=null,l={divIdx:-1,offset:void 0},u=a,c=u+1;if(t.state.highlightAll)u=0,c=e.length;else if(!o)return;for(var h=u;h<c;h++){var d=e[h],f=d.begin,p=d.end,g=o&&h===a,_=g?" selected":"";if(g&&t.scrollMatchIntoView({element:i[f.divIdx],pageIndex:n,matchIndex:a}),s&&f.divIdx===s.divIdx?y(s.divIdx,s.offset,f.offset):(null!==s&&y(s.divIdx,s.offset,l.offset),m(f)),f.divIdx===p.divIdx)y(f.divIdx,f.offset,p.offset,"highlight"+_);else{y(f.divIdx,f.offset,l.offset,"highlight begin"+_);for(var A=f.divIdx+1,v=p.divIdx;A<v;A++)i[A].className="highlight middle"+_;m(p,"highlight end"+_)}s=p}s&&y(s.divIdx,s.offset,l.offset)}function m(e,t){var n=e.divIdx;i[n].textContent="",y(n,0,e.offset,t)}function y(e,t,n,o){var a=i[e],s=r[e].substring(t,n),l=document.createTextNode(s);if(o){var u=document.createElement("span");return u.className=o,u.appendChild(l),void a.appendChild(u)}a.appendChild(l)}}},{key:"_updateMatches",value:function(){if(this.renderingDone){for(var e=this.findController,t=this.matches,n=this.pageIdx,r=this.textContentItemsStr,i=this.textDivs,o=-1,a=0,s=t.length;a<s;a++){for(var l=t[a],u=Math.max(o,l.begin.divIdx),c=l.end.divIdx;u<=c;u++){var h=i[u];h.textContent=r[u],h.className=""}o=l.end.divIdx+1}e&&e.highlightMatches&&(this.matches=this._convertMatches(e.pageMatches[n]||null,e.pageMatchesLength[n]||null),this._renderMatches(this.matches))}}},{key:"_bindMouse",value:function(){var e=this,t=this.textLayerDiv,n=null;t.addEventListener("mousedown",(function(r){if(e.enhanceTextSelection&&e.textLayerRenderTask)return e.textLayerRenderTask.expandTextDivs(!0),void(n&&(clearTimeout(n),n=null));var i=t.querySelector(".endOfContent");if(i){var o=r.target!==t;if(o=o&&"none"!==window.getComputedStyle(i).getPropertyValue("-moz-user-select")){var a=t.getBoundingClientRect(),s=Math.max(0,(r.pageY-a.top)/a.height);i.style.top=(100*s).toFixed(2)+"%"}i.classList.add("active")}})),t.addEventListener("mouseup",(function(){if(e.enhanceTextSelection&&e.textLayerRenderTask)n=setTimeout((function(){e.textLayerRenderTask&&e.textLayerRenderTask.expandTextDivs(!1),n=null}),300);else{var r=t.querySelector(".endOfContent");r&&(r.style.top="",r.classList.remove("active"))}}))}}]),e}();t.TextLayerBuilder=s,t.DefaultTextLayerFactory=function(){function e(){i(this,e)}return a(e,[{key:"createTextLayerBuilder",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return new s({textLayerDiv:e,pageIndex:t,viewport:n,enhanceTextSelection:r,eventBus:i})}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DownloadManager=void 0;var r=n(2),i=n(10).viewerCompatibilityParams.disableCreateObjectURL||!1;function o(e,t){var n=document.createElement("a");if(!n.click)throw new Error('DownloadManager: "a.click()" is not supported.');
1n.href=e,n.target="_parent","download"in n&&(n.download=t),(document.body||document.documentElement).appendChild(n),n.click(),n.remove()}t.DownloadManager=function(){function e(t){var n=t.disableCreateObjectURL,r=void 0===n?i:n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.disableCreateObjectURL=r}var t;return(t=[{key:"downloadUrl",value:function(e,t){(0,r.createValidAbsoluteUrl)(e,"http://example.com")&&o(e+"#pdfjs.action=download",t)}},{key:"downloadData",value:function(e,t,n){navigator.msSaveBlob?navigator.msSaveBlob(new Blob([e],{type:n}),t):o((0,r.createObjectURL)(e,n,this.disableCreateObjectURL),t)}},{key:"download",value:function(e,t,n){navigator.msSaveBlob?navigator.msSaveBlob(e,n)||this.downloadUrl(t,n):this.disableCreateObjectURL?this.downloadUrl(t,n):o(URL.createObjectURL(e),n)}}])&&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}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.viewerCompatibilityParams=void 0;var r=Object.create(null),i="undefined"!=typeof navigator&&navigator.userAgent||"",o="undefined"!=typeof navigator&&navigator.platform||"",a="undefined"!=typeof navigator&&navigator.maxTouchPoints||1,s=/Android/.test(i),l=/Trident/.test(i),u=/\b(iPad|iPhone|iPod)(?=;)/.test(i)||"MacIntel"===o&&a>1,c=/CriOS/.test(i);(l||c)&&(r.disableCreateObjectURL=!0),(u||s)&&(r.maxCanvasPixels=5242880);var h=Object.freeze(r);t.viewerCompatibilityParams=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericL10n=void 0;var r,i=(r=n(4))&&r.__esModule?r:{default:r};function o(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,l,"next",e)}function l(e){o(a,r,i,s,l,"throw",e)}s(void 0)}))}}n(12);var s=document.webL10n;t.GenericL10n=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._lang=t,this._ready=new Promise((function(e,n){s.setLanguage(t,(function(){e(s)}))}))}var t,n,r,o,l,u;return t=e,(n=[{key:"getLanguage",value:(u=a(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return e.abrupt("return",e.sent.getLanguage());case 4:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"getDirection",value:(l=a(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return e.abrupt("return",e.sent.getDirection());case 4:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"get",value:(o=a(i.default.mark((function e(t,n,r){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return e.abrupt("return",e.sent.get(t,n,r));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t,n){return o.apply(this,arguments)})},{key:"translate",value:(r=a(i.default.mark((function e(t){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return e.abrupt("return",e.sent.translate(t));case 4:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})}])&&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)}}(t.prototype,n),e}()},function(e,t,n){"use strict";document.webL10n=function(e,t,n){var r={},i="",o="textContent",a="",s={},l="loading";function u(e,t,n){t=t||function(e){},n=n||function(){};var r=new XMLHttpRequest;r.open("GET",e,!0),r.overrideMimeType&&r.overrideMimeType("text/plain; charset=utf-8"),r.onreadystatechange=function(){4==r.readyState&&(200==r.status||0===r.status?t(r.responseText):n())},r.onerror=n,r.ontimeout=n;try{r.send(null)}catch(i){n()}}
vendor: 5,263 bytes, line 1
1function c(e,t,n){var i=r[e];if(!i){if(console.warn("#"+e+" is undefined."),!n)return null;i=n}var o={};for(var a in i){var s=i[a];s=d(s=h(s,t,e,a),t,e),o[a]=s}return o}function h(e,t,n,i){var o=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/.exec(e);if(!o||!o.length)return e;var a,l=o[1],u=o[2];return t&&u in t?a=t[u]:u in r&&(a=r[u]),l in s&&(e=(0,s[l])(e,a,n,i)),e}function d(e,t,n){return e.replace(/\{\{\s*(.+?)\s*\}\}/g,(function(e,i){return t&&i in t?t[i]:i in r?r[i]:(console.log("argument {{"+i+"}} for #"+n+" is undefined."),e)}))}function f(e){var n=function(e){if(!e)return{};var t=e.getAttribute("data-l10n-id"),n=e.getAttribute("data-l10n-args"),r={};if(n)try{r=JSON.parse(n)}catch(i){console.warn("could not parse arguments for #"+t)}return{id:t,args:r}}(e);if(n.id){var r=c(n.id,n.args);if(r){if(r[o]){if(0===function(e){if(e.children)return e.children.length;if(void 0!==e.childElementCount)return e.childElementCount;for(var t=0,n=0;n<e.childNodes.length;n++)t+=1===e.nodeType?1:0;return t}(e))e[o]=r[o];else{for(var i=e.childNodes,a=!1,s=0,l=i.length;s<l;s++)3===i[s].nodeType&&/\S/.test(i[s].nodeValue)&&(a?i[s].nodeValue="":(i[s].nodeValue=r[o],a=!0));if(!a){var u=t.createTextNode(r[o]);e.insertBefore(u,e.firstChild)}}delete r[o]}for(var h in r)e[h]=r[h]}else console.warn("#"+n.id+" is undefined.")}}return s.plural=function(e,t,n,i){var l=parseFloat(t);if(isNaN(l))return e;if(i!=o)return e;s._pluralRules||(s._pluralRules=function(e){function t(e,t){return-1!==t.indexOf(e)}function n(e,t,n){return t<=e&&e<=n}var r={0:function(e){return"other"},1:function(e){return n(e%100,3,10)?"few":0===e?"zero":n(e%100,11,99)?"many":2==e?"two":1==e?"one":"other"},2:function(e){return 0!==e&&e%10==0?"many":2==e?"two":1==e?"one":"other"},3:function(e){return 1==e?"one":"other"},4:function(e){return n(e,0,1)?"one":"other"},5:function(e){return n(e,0,2)&&2!=e?"one":"other"},6:function(e){return 0===e?"zero":e%10==1&&e%100!=11?"one":"other"},7:function(e){return 2==e?"two":1==e?"one":"other"},8:function(e){return n(e,3,6)?"few":n(e,7,10)?"many":2==e?"two":1==e?"one":"other"},9:function(e){return 0===e||1!=e&&n(e%100,1,19)?"few":1==e?"one":"other"},10:function(e){return n(e%10,2,9)&&!n(e%100,11,19)?"few":e%10!=1||n(e%100,11,19)?"other":"one"},11:function(e){return n(e%10,2,4)&&!n(e%100,12,14)?"few":e%10==0||n(e%10,5,9)||n(e%100,11,14)?"many":e%10==1&&e%100!=11?"one":"other"},12:function(e){return n(e,2,4)?"few":1==e?"one":"other"},13:function(e){return n(e%10,2,4)&&!n(e%100,12,14)?"few":1!=e&&n(e%10,0,1)||n(e%10,5,9)||n(e%100,12,14)?"many":1==e?"one":"other"},14:function(e){return n(e%100,3,4)?"few":e%100==2?"two":e%100==1?"one":"other"},15:function(e){return 0===e||n(e%100,2,10)?"few":n(e%100,11,19)?"many":1==e?"one":"other"},16:function(e){return e%10==1&&11!=e?"one":"other"},17:function(e){return 3==e?"few":0===e?"zero":6==e?"many":2==e?"two":1==e?"one":"other"},18:function(e){return 0===e?"zero":n(e,0,2)&&0!==e&&2!=e?"one":"other"},19:function(e){return n(e,2,10)?"few":n(e,0,1)?"one":"other"},20:function(e){return!n(e%10,3,4)&&e%10!=9||n(e%100,10,19)||n(e%100,70,79)||n(e%100,90,99)?e%1e6==0&&0!==e?"many":e%10!=2||t(e%100,[12,72,92])?e%10!=1||t(e%100,[11,71,91])?"other":"one":"two":"few"},21:function(e){return 0===e?"zero":1==e?"one":"other"},22:function(e){return n(e,0,1)||n(e,11,99)?"one":"other"},23:function(e){return n(e%10,1,2)||e%20==0?"one":"other"},24:function(e){return n(e,3,10)||n(e,13,19)?"few":t(e,[2,12])?"two":t(e,[1,11])?"one":"other"}},i={af:3,ak:4,am:4,ar:1,asa:3,az:0,be:11,bem:3,bez:3,bg:3,bh:4,bm:0,bn:3,bo:0,br:20,brx:3,bs:11,ca:3,cgg:3,chr:3,cs:12,cy:17,da:3,de:3,dv:3,dz:0,ee:3,el:3,en:3,eo:3,es:3,et:3,eu:3,fa:0,ff:5,fi:3,fil:4,fo:3,fr:5,fur:3,fy:3,ga:8,gd:24,gl:3,gsw:3,gu:3,guw:4,gv:23,ha:3,haw:3,he:2,hi:4,hr:11,hu:0,id:0,ig:0,ii:0,is:3,it:3,iu:7,ja:0,jmc:3,jv:0,ka:0,kab:5,kaj:3,kcg:3,kde:0,kea:0,kk:3,kl:3,km:0,kn:0,ko:0,ksb:3,ksh:21,ku:3,kw:7,lag:18,lb:3,lg:3,ln:4,lo:0,lt:10,lv:6,mas:3,mg:4,mk:16,ml:3,mn:3,mo:9,mr:3,ms:0,mt:15,my:0,nah:3,naq:7,nb:3,nd:3,ne:3,nl:3,nn:3,no:3,nr:3,nso:4,ny:3,nyn:3,om:3,or:3,pa:3,pap:3,pl:13,ps:3,pt:3,rm:3,ro:9,rof:3,ru:11,rwk:3,sah:0,saq:3,se:7,seh:3,ses:0,sg:0,sh:11,shi:19,sk:12,sl:14,sma:7,smi:7,smj:7,smn:7,sms:7,sn:3,so:3,sq:3,sr:11,ss:3,ssy:3,st:3,sv:3,sw:3,syr:3,ta:3,te:3,teo:3,th:0,ti:4,tig:3,tk:3,tl:4,tn:3,to:0,tr:0,ts:3,tzm:22,uk:11,ur:3,ve:3,vi:0,vun:3,wa:4,wae:3,wo:0,xh:3,xog:3,yo:0,zh:0,zu:3}[e.replace(/-.*$/,"")];return i in r?r[i]:(console.warn("plural form unknown for ["+e+"]"),function(){return"other"})}(a));var u="["+s._pluralRules(l)+"]";return 0===l&&n+"[zero]"in r?e=r[n+"[zero]"][i]:1==l&&n+"[one]"in r?e=r[n+"[one]"][i]:2==l&&n+"[two]"in r?e=r[n+"[two]"][i]:n+u in r?e=r[n+u][i]:n+"[other]"in r&&(e=r[n+"[other]"][i]),e},{get:function(e,t,n){var r,i=e.lastIndexOf("."),a=o;i>0&&(a=e.substring(i+1),e=e.substring(0,i)),n&&((r={})[a]=n);var s=c(e,t,r);return s&&a in s?s[a]:"{{"+e+"}}"},getData:function(){return r},getText:function(){return i},getLanguage:function(){return a},setLanguage:function(e,n){!function(e,n){e&&(e=e.toLowerCase()),n=n||function(){},r={},i="",a="",a=e;var s=t.querySelectorAll('link[type="application/l10n"]'),c=s.length;if(0!==c){var h,d,f=0;d=function(){++f>=c&&(n(),l="complete")};for(var p=0;p<c;
1p++)new v(s[p]).load(e,d)}else{var g=(h=t.querySelector('script[type="application/l10n"]'))?JSON.parse(h.innerHTML):null;if(g&&g.locales&&g.default_locale){if(console.log("using the embedded JSON directory, early way out"),!(r=g.locales[e])){var _=g.default_locale.toLowerCase();for(var A in g.locales){if((A=A.toLowerCase())===e){r=g.locales[e];break}A===_&&(r=g.locales[_])}}n()}else console.log("no resource to load, early way out");l="complete"}function v(e){var t=e.href;this.load=function(e,n){!function(e,t,n,a){var s=e.replace(/[^\/]*$/,"")||"./";function l(e){return e.lastIndexOf("\\")<0?e:e.replace(/\\\\/g,"\\").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\{/g,"{").replace(/\\}/g,"}").replace(/\\"/g,'"').replace(/\\'/g,"'")}u(e,(function(e){i+=e,function(e,i){var a={},c=/^\s*|\s*$/,h=/^\s*#|^\s*$/,d=/^\s*\[(.*)\]\s*$/,f=/^\s*@import\s+url\((.*)\)\s*$/i,p=/^([^=\s]*)\s*=\s*(.+)$/;function g(e,n,r){var i=e.replace(c,"").split(/[\r\n]+/),o="*",u=t.split("-",1)[0],g=!1,A="";!function e(){for(;;){if(!i.length)return void r();var c=i.shift();if(!h.test(c)){if(n){if(A=d.exec(c)){o=A[1].toLowerCase(),g="*"!==o&&o!==t&&o!==u;continue}if(g)continue;if(A=f.exec(c))return void _(s+A[1],e)}var v=c.match(p);v&&3==v.length&&(a[v[1]]=l(v[2]))}}}()}function _(e,t){u(e,(function(e){g(e,!1,t)}),(function(){console.warn(e+" not found."),t()}))}g(e,!0,(function(){!function(e){for(var t in e){var i,a,s=t.lastIndexOf(".");s>0?(i=t.substring(0,s),a=t.substring(s+1)):(i=t,a=o),r[i]||(r[i]={}),r[i][a]=e[t]}n&&n()}(a)}))}(e)}),a)}(t,e,n,(function(){console.warn(t+" not found."),console.warn('"'+e+'" resource not found'),a="",n()}))}}}(e,(function(){n&&n()}))},getDirection:function(){var e=a.split("-",1)[0];return["ar","he","fa","ps","ur"].indexOf(e)>=0?"rtl":"ltr"},translate:function(e){for(var n=function(e){return e?e.querySelectorAll("*[data-l10n-id]"):[]}(e=e||t.documentElement),r=n.length,i=0;i<r;i++)f(n[i]);f(e)},getReadyState:function(){return l},ready:function(n){n&&("complete"==l||"interactive"==l?e.setTimeout((function(){n()})):t.addEventListener&&t.addEventListener("localized",(function e(){t.removeEventListener("localized",e),n()})))}}}(window,document)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFindController=t.FindState=void 0;var r=n(2),i=n(14),o=n(3),a={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};t.FindState=a;var s={"\u2018":"'","\u2019":"'","\u201a":"'","\u201b":"'","\u201c":'"',"\u201d":'"',"\u201e":'"',"\u201f":'"',"\xbc":"1/4","\xbd":"1/2","\xbe":"3/4"},l=null;function u(e){if(!l){var t=Object.keys(s).join("");l=new RegExp("[".concat(t,"]"),"g")}return e.replace(l,(function(e){return s[e]}))}t.PDFFindController=function(){function e(t){var n=t.linkService,r=t.eventBus;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._linkService=n,this._eventBus=r,this._reset(),r._on("findbarclose",this._onFindBarClose.bind(this))}var t;return(t=[{key:"setDocument",value:function(e){this._pdfDocument&&this._reset(),e&&(this._pdfDocument=e,this._firstPageCapability.resolve())}},{key:"executeCommand",value:function(e,t){var n=this;if(t){var r=this._pdfDocument;(null===this._state||this._shouldDirtyMatch(e,t))&&(this._dirtyMatch=!0),this._state=t,"findhighlightallchange"!==e&&this._updateUIState(a.PENDING),this._firstPageCapability.promise.then((function(){if(n._pdfDocument&&(!r||n._pdfDocument===r)){n._extractText();var t=!n._highlightMatches,i=!!n._findTimeout;n._findTimeout&&(clearTimeout(n._findTimeout),n._findTimeout=null),"find"===e?n._findTimeout=setTimeout((function(){n._nextMatch(),n._findTimeout=null}),250):n._dirtyMatch?n._nextMatch():"findagain"===e?(n._nextMatch(),t&&n._state.highlightAll&&n._updateAllPages()):"findhighlightallchange"===e?(i?n._nextMatch():n._highlightMatches=!0,n._updateAllPages()):n._nextMatch()}}))}}},{key:"scrollMatchIntoView",value:function(e){var t=e.element,n=void 0===t?null:t,r=e.pageIndex,i=void 0===r?-1:r,a=e.matchIndex,s=void 0===a?-1:a;this._scrollMatches&&n&&-1!==s&&s===this._selected.matchIdx&&-1!==i&&i===this._selected.pageIdx&&(this._scrollMatches=!1,(0,o.scrollIntoView)(n,{top:-50,left:-400},!0))}},{key:"_reset",value:function(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=Object.create(null),this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,r.createPromiseCapability)()}},{key:"_shouldDirtyMatch",value:function(e,t){if(t.query!==this._state.query)return!0;switch(e){case"findagain":var n=this._selected.pageIdx+1,r=this._linkService;return n>=1&&n<=r.pagesCount&&n!==r.page&&!r.isPageVisible(n);case"findhighlightallchange":return!1}return!0}},{key:"_prepareMatches",value:function(e,t,n){function r(t){var n=e[t];if(t<e.length-1&&n.match===e[t+1].match)return n.skipped=!0,!0;for(var r=t-1;r>=0;r--){var i=e[r];if(!i.skipped){if(i.match+i.matchLength<n.match)break;if(i.match+i.matchLength>=n.match+n.matchLength)return n.skipped=!0,!0}}return!1}e.sort((function(e,t){return e.match===t.match?e.matchLength-t.matchLength:e.match-t.match}));for(var i=0,o=e.length;i<o;i++)r(i)||(t.push(e[i].match),n.push(e[i].matchLength))}},{key:"_isEntireWord",value:function(e,t,n){if(t>0){var r=e.charCodeAt(t),o=e.charCodeAt(t-1);if((0,i.getCharacterType)(r)===(0,i.getCharacterType)(o))return!1}var a=t+n-1;if(a<e.length-1){var s=e.charCodeAt(a),l=e.charCodeAt(a+1);if((0,i.getCharacterType)(s)===(0,i.getCharacterType)(l))return!1}return!0}},{key:"_calculatePhraseMatch",value:function(e,t,n,r){for(var i=[],o=e.length,a=-o;-1!==(a=n.indexOf(e,a+o));)r&&!this._isEntireWord(n,a,o)||i.push(a);this._pageMatches[t]=i}},{key:"_calculateWordMatch",value:function(e,t,n,r){for(var i=[],o=e.match(/\S+/g),a=0,s=o.length;a<s;a++)for(var l=o[a],u=l.length,c=-u;-1!==(c=n.indexOf(l,c+u));)r&&!this._isEntireWord(n,c,u)||i.push({match:c,matchLength:u,skipped:!1});this._pageMatchesLength[t]=[],this._pageMatches[t]=[],this._prepareMatches(i,this._pageMatches[t],this._pageMatchesLength[t])}},{key:"_calculateMatch",value:function(e){var t=this._pageContents[e],n=this._query,r=this._state,i=r.entireWord,o=r.phraseSearch;if(0!==n.length){r.caseSensitive||(t=t.toLowerCase(),n=n.toLowerCase()),o?this._calculatePhraseMatch(n,e,t,i):this._calculateWordMatch(n,e,t,i),this._state.highlightAll&&this._updatePage(e),this._resumePageIdx===e&&(this._resumePageIdx=null,this._nextPageMatch());var a=this._pageMatches[e].length;a>0&&(this._matchesCountTotal+=a,this._updateUIResultsCount())}}},{key:"_extractText",value:function(){var e=this;if(!(this._extractTextPromises.length>0))for(var t=Promise.resolve(),n=function(n,i){var o=(0,r.createPromiseCapability)();e._extractTextPromises[n]=o.promise,t=t.then((function(){return e._pdfDocument.getPage(n+1).then((function(e){return e.getTextContent({normalizeWhitespace:!0})})).then((function(t){for(var r=t.items,i=[],a=0,s=r.length;a<s;a++)i.push(r[a].str);e._pageContents[n]=u(i.join("")),o.resolve(n)}),(function(t){console.error("Unable to get text content for page ".concat(n+1),t),e._pageContents[n]="",o.resolve(n)}))}))},i=0,o=this._linkService.pagesCount;i<o;i++)n(i)}},{key:"_updatePage",value:function(e){this._scrollMatches&&this._selected.pageIdx===e&&(this._linkService.page=e+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:e})}},{key:"_updateAllPages",value:function(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}},{key:"_nextMatch",value:function(){var e=this,t=this._state.findPrevious,n=this._linkService.page-1,r=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=n,this._offset.matchI
1dx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this._updateAllPages();for(var i=0;i<r;i++)!0!==this._pendingFindMatches[i]&&(this._pendingFindMatches[i]=!0,this._extractTextPromises[i].then((function(t){delete e._pendingFindMatches[t],e._calculateMatch(t)})))}if(""!==this._query){if(!this._resumePageIdx){var o=this._offset;if(this._pagesToSearch=r,null!==o.matchIdx){if(!t&&o.matchIdx+1<this._pageMatches[o.pageIdx].length||t&&o.matchIdx>0)return o.matchIdx=t?o.matchIdx-1:o.matchIdx+1,void this._updateMatch(!0);this._advanceOffsetPage(t)}this._nextPageMatch()}}else this._updateUIState(a.FOUND)}},{key:"_matchesReady",value:function(e){var t=this._offset,n=e.length,r=this._state.findPrevious;return n?(t.matchIdx=r?n-1:0,this._updateMatch(!0),!0):(this._advanceOffsetPage(r),!!(t.wrapped&&(t.matchIdx=null,this._pagesToSearch<0))&&(this._updateMatch(!1),!0))}},{key:"_nextPageMatch",value:function(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");var e=null;do{var t=this._offset.pageIdx;if(!(e=this._pageMatches[t])){this._resumePageIdx=t;break}}while(!this._matchesReady(e))}},{key:"_advanceOffsetPage",value:function(e){var t=this._offset,n=this._linkService.pagesCount;t.pageIdx=e?t.pageIdx-1:t.pageIdx+1,t.matchIdx=null,this._pagesToSearch--,(t.pageIdx>=n||t.pageIdx<0)&&(t.pageIdx=e?n-1:0,t.wrapped=!0)}},{key:"_updateMatch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=a.NOT_FOUND,n=this._offset.wrapped;if(this._offset.wrapped=!1,e){var r=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,t=n?a.WRAPPED:a.FOUND,-1!==r&&r!==this._selected.pageIdx&&this._updatePage(r)}this._updateUIState(t,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this._updatePage(this._selected.pageIdx))}},{key:"_onFindBarClose",value:function(e){var t=this,n=this._pdfDocument;this._firstPageCapability.promise.then((function(){!t._pdfDocument||n&&t._pdfDocument!==n||(t._findTimeout&&(clearTimeout(t._findTimeout),t._findTimeout=null),t._resumePageIdx&&(t._resumePageIdx=null,t._dirtyMatch=!0),t._updateUIState(a.FOUND),t._highlightMatches=!1,t._updateAllPages())}))}},{key:"_requestMatchesCount",value:function(){var e=this._selected,t=e.pageIdx,n=e.matchIdx,r=0,i=this._matchesCountTotal;if(-1!==n){for(var o=0;o<t;o++)r+=this._pageMatches[o]&&this._pageMatches[o].length||0;r+=n+1}return(r<1||r>i)&&(r=i=0),{current:r,total:i}}},{key:"_updateUIResultsCount",value:function(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this._requestMatchesCount()})}},{key:"_updateUIState",value:function(e,t){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:e,previous:t,matchesCount:this._requestMatchesCount()})}},{key:"highlightMatches",get:function(){return this._highlightMatches}},{key:"pageMatches",get:function(){return this._pageMatches}},{key:"pageMatchesLength",get:function(){return this._pageMatchesLength}},{key:"selected",get:function(){return this._selected}},{key:"state",get:function(){return this._state}},{key:"_query",get:function(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,this._normalizedQuery=u(this._state.query)),this._normalizedQuery}}])&&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}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCharacterType=function(e){return function(e){return e<11904}(e)?function(e){return 0==(65408&e)}(e)?function(e){return 32===e||9===e||13===e||10===e}(e)?r.SPACE:function(e){return e>=97&&e<=122||e>=65&&e<=90}(e)||function(e){return e>=48&&e<=57}(e)||95===e?r.ALPHA_LETTER:r.PUNCT:function(e){return 3584==(65408&e)}(e)?r.THAI_LETTER:160===e?r.SPACE:r.ALPHA_LETTER:function(e){return e>=13312&&e<=40959||e>=63744&&e<=64255}(e)?r.HAN_LETTER:function(e){return e>=12448&&e<=12543}(e)?r.KATAKANA_LETTER:function(e){return e>=12352&&e<=12447}(e)?r.HIRAGANA_LETTER:function(e){return e>=65376&&e<=65439}(e)?r.HALFWIDTH_KATAKANA_LETTER:r.ALPHA_LETTER},t.CharacterType=void 0;var r={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};t.CharacterType=r},function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.isDestHashesEqual=l,t.isDestArraysEqual=u,t.PDFHistory=void 0;var r=n(3);function i(e){return(i="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 o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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(l){i=!0,o=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(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)?a(e,t):void 0}}(e,t)||function(){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 a(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 s(){return document.location.hash}function l(e,t){return"string"==typeof e&&"string"==typeof t&&(e===t||(0,r.parseQueryString)(e).nameddest===t)}function u(e,t){function n(e,t){if(i(e)!==i(t))return!1;if(Array.isArray(e)||Array.isArray(t))return!1;if(null!==e&&"object"===i(e)&&null!==t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(!n(e[r],t[r]))return!1;return!0}return e===t||Number.isNaN(e)&&Number.isNaN(t)}if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r++)if(!n(e[r],t[r]))return!1;return!0}t.PDFHistory=function(){function e(t){var n=this,r=t.linkService,i=t.eventBus;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.linkService=r,this.eventBus=i,this._initialized=!1,this._fingerprint="",this.reset(),this._boundEvents=null,this._isViewerInPresentationMode=!1,this.eventBus._on("presentationmodechanged",(function(e){n._isViewerInPresentationMode=e.active||e.switchInProgress})),this.eventBus._on("pagesinit",(function(){n._isPagesLoaded=!1,n.eventBus._on("pagesloaded",(function e(t){n.eventBus._off("pagesloaded",e),n._isPagesLoaded=!!t.pagesCount}))}))}var t;return(t=[{key:"initialize",value:function(e){var t=e.fingerprint,n=e.resetHistory,r=void 0!==n&&n,i=e.updateUrl,o=void 0!==i&&i;if(t&&"string"==typeof t){this._initialized&&this.reset();var a=""!==this._fingerprint&&this._fingerprint!==t;this._fingerprint=t,this._updateUrl=!0===o,this._initialized=!0,this._bindEvents();var l=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=s(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(l,!0)||r){var u=this._parseCurrentHash(!0),c=u.hash,h=u.page,d=u.rotation;return!c||a||r?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:c,page:h,rotation:d},!0)}var f=l.destination;this._updateInternalState(f,l.uid,!0),this._uid>this._maxUid&&(this._maxUid=this._uid),void 0!==f.rotation&&(this._initialRotation=f.rotation),f.dest?(this._initialBookmark=JSON.stringify(f.dest),this._destination.page=null):f.hash?this._initialBookmark=f.hash:f.page&&(this._initialBookmark="page=".concat(f.page))}else console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.')}},{key:"reset",value:function(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}},{key:"push",value:function(e){var t=this,n=e.namedDest,r=void 0===n?null:n,i=e.explicitDest,o=e.pageNumber;if(this._initialized)if(r&&"string"!=typeof r)console.error("PDFHistory.push: "+'"'.concat(r,'" is not a valid namedDest parameter.'));else if(Array.isArray(i))if(Number.isInteger(o)&&o>0&&o<=this.linkService.pagesCount||null===o&&!this._destination){var a=r||JSON.stringify(i);if(a){var s=!1;if(this._destination&&(l(this._destination.hash,a)||u(this._destination.dest,i))){if(this._destination.page)return;s=!0}
1this._popStateInProgress&&!s||(this._pushOrReplaceState({dest:i,hash:a,page:o,rotation:this.linkService.rotation},s),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then((function(){t._popStateInProgress=!1}))))}}else console.error("PDFHistory.push: "+'"'.concat(o,'" is not a valid pageNumber parameter.'));else console.error("PDFHistory.push: "+'"'.concat(i,'" is not a valid explicitDest parameter.'))}},{key:"pushCurrentPosition",value:function(){this._initialized&&!this._popStateInProgress&&this._tryPushCurrentPosition()}},{key:"back",value:function(){if(this._initialized&&!this._popStateInProgress){var e=window.history.state;this._isValidState(e)&&e.uid>0&&window.history.back()}}},{key:"forward",value:function(){if(this._initialized&&!this._popStateInProgress){var e=window.history.state;this._isValidState(e)&&e.uid<this._maxUid&&window.history.forward()}}},{key:"_pushOrReplaceState",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n||!this._destination,i={fingerprint:this._fingerprint,uid:r?this._uid:this._uid+1,destination:e};if(this._updateInternalState(e,i.uid),this._updateUrl&&e&&e.hash){var o=document.location.href.split("#")[0];o.startsWith("file://")||(t="".concat(o,"#").concat(e.hash))}r?window.history.replaceState(i,"",t):(this._maxUid=this._uid,window.history.pushState(i,"",t))}},{key:"_tryPushCurrentPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._position){var t=this._position;if(e&&((t=Object.assign(Object.create(null),this._position)).temporary=!0),this._destination){if(this._destination.temporary)this._pushOrReplaceState(t,!0);else if(this._destination.hash!==t.hash&&(this._destination.page||!(this._numPositionUpdates<=50))){var n=!1;if(this._destination.page>=t.first&&this._destination.page<=t.page){if(this._destination.dest||!this._destination.first)return;n=!0}this._pushOrReplaceState(t,n)}}else this._pushOrReplaceState(t)}}},{key:"_isValidState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return!1;if(e.fingerprint!==this._fingerprint){if(!t)return!1;if("string"!=typeof e.fingerprint||e.fingerprint.length!==this._fingerprint.length)return!1;var n=performance.getEntriesByType("navigation"),r=o(n,1),a=r[0];if(!a||"reload"!==a.type)return!1}return!(!Number.isInteger(e.uid)||e.uid<0)&&null!==e.destination&&"object"===i(e.destination)}},{key:"_updateInternalState",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),n&&e&&e.temporary&&delete e.temporary,this._destination=e,this._uid=t,this._numPositionUpdates=0}},{key:"_parseCurrentHash",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=unescape(s()).substring(1),n=(0,r.parseQueryString)(t),i=n.nameddest||"",o=0|n.page;return Number.isInteger(o)&&o>0&&o<=this.linkService.pagesCount&&!(e&&i.length>0)||(o=null),{hash:t,page:o,rotation:this.linkService.rotation}}},{key:"_updateViewarea",value:function(e){var t=this,n=e.location;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:this._isViewerInPresentationMode?"page=".concat(n.pageNumber):n.pdfOpenParams.substring(1),page:this.linkService.page,first:n.pageNumber,rotation:n.rotation},this._popStateInProgress||(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout((function(){t._popStateInProgress||t._tryPushCurrentPosition(!0),t._updateViewareaTimeout=null}),1e3))}},{key:"_popState",value:function(e){var t=this,n=e.state,i=s(),o=this._currentHash!==i;if(this._currentHash=i,n){if(this._isValidState(n)){this._popStateInProgress=!0,o&&(this._blockHashChange++,(0,r.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:1e3}).then((function(){t._blockHashChange--})));var a=n.destination;this._updateInternalState(a,n.uid,!0),this._uid>this._maxUid&&(this._maxUid=this._uid),(0,r.isValidRotation)(a.rotation)&&(this.linkService.rotation=a.rotation),a.dest?this.linkService.navigateTo(a.dest):a.hash?this.linkService.setHash(a.hash):a.page&&(this.linkService.page=a.page),Promise.resolve().then((function(){t._popStateInProgress=!1}))}}else{this._uid++;var l=this._parseCurrentHash();this._pushOrReplaceState({hash:l.hash,page:l.page,rotation:l.rotation},!0)}}},{key:"_pageHide",value:function(){this._destination&&!this._destination.temporary||this._tryPushCurrentPosition()}},{key:"_bindEvents",value:function(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}},{key:"_unbindEvents",value:function(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}},{key:"popStateInProgress",get:function(){return this._initialized&&(this._popStateInProgress||this._blockHashChange>0)}},{key:"initialBookmark",get:function(){return this._initialized?this._initialBookmark:null}},{key:"initialRotation",get:function(){return this._initialized?this._initialRotation:null}}])&&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}()},function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.PDFPageView=void 0;var r,i=(r=n(4))&&r.__esModule?r:{default:r},o=n(3),a=n(2),s=n(17);function l(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}var u=n(10).viewerCompatibilityParams.maxCanvasPixels||16777216;t.PDFPageView=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=t.container,r=t.defaultViewport;this.id=t.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=t.scale||o.DEFAULT_SCALE,this.viewport=r,this.pdfPageRotate=r.rotation,this.hasRestrictedScaling=!1,this.textLayerMode=Number.isInteger(t.textLayerMode)?t.textLayerMode:o.TextLayerMode.ENABLE,this.imageResourcesPath=t.imageResourcesPath||"",this.renderInteractiveForms=t.renderInteractiveForms||!1,this.useOnlyCssZoom=t.useOnlyCssZoom||!1,this.maxCanvasPixels=t.maxCanvasPixels||u,this.eventBus=t.eventBus,this.renderingQueue=t.renderingQueue,this.textLayerFactory=t.textLayerFactory,this.annotationLayerFactory=t.annotationLayerFactory,this.renderer=t.renderer||o.RendererType.CANVAS,this.enableWebGL=t.enableWebGL||!1,this.l10n=t.l10n||o.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=s.RenderingStates.INITIAL,this.resume=null,this.error=null,this.annotationLayer=null,this.textLayer=null,this.zoomLayer=null;var i=document.createElement("div");i.className="page",i.style.width=Math.floor(this.viewport.width)+"px",i.style.height=Math.floor(this.viewport.height)+"px",i.setAttribute("data-page-number",this.id),this.div=i,n.appendChild(i)}var t;return(t=[{key:"setPdfPage",value:function(e){this.pdfPage=e,this.pdfPageRotate=e.rotate,this.viewport=e.getViewport({scale:this.scale*o.CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.stats=e.stats,this.reset()}},{key:"destroy",value:function(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}},{key:"_resetZoomLayer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.zoomLayer){var t=this.zoomLayer.firstChild;this.paintedViewportMap.delete(t),t.width=0,t.height=0,e&&this.zoomLayer.remove(),this.zoomLayer=null}}},{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.cancelRendering(t),this.renderingState=s.RenderingStates.INITIAL;var n=this.div;n.style.width=Math.floor(this.viewport.width)+"px",n.style.height=Math.floor(this.viewport.height)+"px";for(var r=n.childNodes,i=e&&this.zoomLayer||null,o=t&&this.annotationLayer&&this.annotationLayer.div||null,a=r.length-1;a>=0;a--){var l=r[a];i!==l&&o!==l&&n.removeChild(l)}n.removeAttribute("data-loaded"),o?this.annotationLayer.hide():this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null),i||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon",n.appendChild(this.loadingIconDiv)}},{key:"update",value:function(e,t){if(this.scale=e||this.scale,void 0!==t&&(this.rotation=t),this.viewport=this.viewport.clone({scale:this.scale*o.CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.svg)return this.cssTransform(this.svg,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now()});var n=!1;if(this.canvas&&this.maxCanvasPixels>0){var r=this.outputScale;(Math.floor(this.viewport.width)*r.sx|0)*(Math.floor(this.viewport.height)*r.sy|0)>this.maxCanvasPixels&&(n=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&n)return this.cssTransform(this.canvas,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now()});
1this.zoomLayer||this.canvas.hasAttribute("hidden")||(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform(this.zoomLayer.firstChild),this.reset(!0,!0)}},{key:"cancelRendering",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),!e&&this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null)}},{key:"cssTransform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.viewport.width,r=this.viewport.height,i=this.div;e.style.width=e.parentNode.style.width=i.style.width=Math.floor(n)+"px",e.style.height=e.parentNode.style.height=i.style.height=Math.floor(r)+"px";var o=this.viewport.rotation-this.paintedViewportMap.get(e).rotation,a=Math.abs(o),s=1,l=1;90!==a&&270!==a||(s=r/n,l=n/r);var u="rotate("+o+"deg) scale("+s+","+l+")";if(e.style.transform=u,this.textLayer){var c=this.textLayer.viewport,h=this.viewport.rotation-c.rotation,d=Math.abs(h),f=n/c.width;90!==d&&270!==d||(f=n/c.height);var p,g,_=this.textLayer.textLayerDiv;switch(d){case 0:p=g=0;break;case 90:p=0,g="-"+_.style.height;break;case 180:p="-"+_.style.width,g="-"+_.style.height;break;case 270:p="-"+_.style.width,g=0;break;default:console.error("Bad rotation value.")}_.style.transform="rotate("+d+"deg) scale("+f+", "+f+") translate("+p+", "+g+")",_.style.transformOrigin="0% 0%"}t&&this.annotationLayer&&this.annotationLayer.render(this.viewport,"display")}},{key:"getPagePoint",value:function(e,t){return this.viewport.convertToPdfPoint(e,t)}},{key:"draw",value:function(){var e=this;this.renderingState!==s.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());var t=this.div,n=this.pdfPage;if(!n)return this.renderingState=s.RenderingStates.FINISHED,this.loadingIconDiv&&(t.removeChild(this.loadingIconDiv),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=s.RenderingStates.RUNNING;var r=document.createElement("div");r.style.width=t.style.width,r.style.height=t.style.height,r.classList.add("canvasWrapper"),this.annotationLayer&&this.annotationLayer.div?t.insertBefore(r,this.annotationLayer.div):t.appendChild(r);var u=null;if(this.textLayerMode!==o.TextLayerMode.DISABLE&&this.textLayerFactory){var c=document.createElement("div");c.className="textLayer",c.style.width=r.style.width,c.style.height=r.style.height,this.annotationLayer&&this.annotationLayer.div?t.insertBefore(c,this.annotationLayer.div):t.appendChild(c),u=this.textLayerFactory.createTextLayerBuilder(c,this.id-1,this.viewport,this.textLayerMode===o.TextLayerMode.ENABLE_ENHANCE,this.eventBus)}this.textLayer=u;var h=null;this.renderingQueue&&(h=function(t){if(!e.renderingQueue.isHighestPriority(e))return e.renderingState=s.RenderingStates.PAUSED,void(e.resume=function(){e.renderingState=s.RenderingStates.RUNNING,t()});t()});var d,f,p=(d=i.default.mark((function r(o){return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(g===e.paintTask&&(e.paintTask=null),!(o instanceof a.RenderingCancelledException)){r.next=4;break}return e.error=null,r.abrupt("return");case 4:if(e.renderingState=s.RenderingStates.FINISHED,e.loadingIconDiv&&(t.removeChild(e.loadingIconDiv),delete e.loadingIconDiv),e._resetZoomLayer(!0),e.error=o,e.stats=n.stats,e.eventBus.dispatch("pagerendered",{source:e,pageNumber:e.id,cssTransform:!1,timestamp:performance.now()}),!o){r.next=12;break}throw o;case 12:case"end":return r.stop()}}),r)})),f=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=d.apply(e,t);function o(e){l(i,n,r,o,a,"next",e)}function a(e){l(i,n,r,o,a,"throw",e)}o(void 0)}))},function(e){return f.apply(this,arguments)}),g=this.renderer===o.RendererType.SVG?this.paintOnSvg(r):this.paintOnCanvas(r);g.onRenderContinue=h,this.paintTask=g;var _=g.promise.then((function(){return p(null).then((function(){if(u){var e=n.streamTextContent({normalizeWhitespace:!0});
1u.setTextContentStream(e),u.render()}}))}),(function(e){return p(e)}));return this.annotationLayerFactory&&(this.annotationLayer||(this.annotationLayer=this.annotationLayerFactory.createAnnotationLayerBuilder(t,n,this.imageResourcesPath,this.renderInteractiveForms,this.l10n)),this.annotationLayer.render(this.viewport,"display")),t.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),_}},{key:"paintOnCanvas",value:function(e){var t=(0,a.createPromiseCapability)(),n={promise:t.promise,onRenderContinue:function(e){e()},cancel:function(){g.cancel()}},r=this.viewport,i=document.createElement("canvas");this.l10n.get("page_canvas",{page:this.id},"Page {{page}}").then((function(e){i.setAttribute("aria-label",e)})),i.setAttribute("hidden","hidden");var s=!0,l=function(){s&&(i.removeAttribute("hidden"),s=!1)};e.appendChild(i),this.canvas=i,i.mozOpaque=!0;var u=i.getContext("2d",{alpha:!1}),c=(0,o.getOutputScale)(u);if(this.outputScale=c,this.useOnlyCssZoom){var h=r.clone({scale:o.CSS_UNITS});c.sx*=h.width/r.width,c.sy*=h.height/r.height,c.scaled=!0}if(this.maxCanvasPixels>0){var d=Math.sqrt(this.maxCanvasPixels/(r.width*r.height));c.sx>d||c.sy>d?(c.sx=d,c.sy=d,c.scaled=!0,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}var f=(0,o.approximateFraction)(c.sx),p=(0,o.approximateFraction)(c.sy);i.width=(0,o.roundToDivide)(r.width*c.sx,f[0]),i.height=(0,o.roundToDivide)(r.height*c.sy,p[0]),i.style.width=(0,o.roundToDivide)(r.width,f[1])+"px",i.style.height=(0,o.roundToDivide)(r.height,p[1])+"px",this.paintedViewportMap.set(i,r);var g=this.pdfPage.render({canvasContext:u,transform:c.scaled?[c.sx,0,0,c.sy,0,0]:null,viewport:this.viewport,enableWebGL:this.enableWebGL,renderInteractiveForms:this.renderInteractiveForms});return g.onContinue=function(e){l(),n.onRenderContinue?n.onRenderContinue(e):e()},g.promise.then((function(){l(),t.resolve(void 0)}),(function(e){l(),t.reject(e)})),n}},{key:"paintOnSvg",value:function(e){var t=this,n=!1,r=function(){if(n)throw new a.RenderingCancelledException("Rendering cancelled, page ".concat(t.id),"svg")},i=this.pdfPage,l=this.viewport.clone({scale:o.CSS_UNITS});return{promise:i.getOperatorList().then((function(n){return r(),new a.SVGGraphics(i.commonObjs,i.objs).getSVG(n,l).then((function(n){r(),t.svg=n,t.paintedViewportMap.set(n,l),n.style.width=e.style.width,n.style.height=e.style.height,t.renderingState=s.RenderingStates.FINISHED,e.appendChild(n)}))})),onRenderContinue:function(e){e()},cancel:function(){n=!0}}}},{key:"setPageLabel",value:function(e){this.pageLabel="string"==typeof e?e:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}},{key:"width",get:function(){return this.viewport.width}},{key:"height",get:function(){return this.viewport.height}}])&&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}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFRenderingQueue=t.RenderingStates=void 0;var r={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3};t.RenderingStates=r,t.PDFRenderingQueue=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}var t;return(t=[{key:"setViewer",value:function(e){this.pdfViewer=e}},{key:"setThumbnailViewer",value:function(e){this.pdfThumbnailViewer=e}},{key:"isHighestPriority",value:function(e){return this.highestPriorityPage===e.renderingId}},{key:"renderHighestPriority",value:function(e){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),this.pdfViewer.forceRendering(e)||this.pdfThumbnailViewer&&this.isThumbnailViewEnabled&&this.pdfThumbnailViewer.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4))}},{key:"getHighestPriority",value:function(e,t,n){var r=e.views,i=r.length;if(0===i)return null;for(var o=0;o<i;++o){var a=r[o].view;if(!this.isViewFinished(a))return a}if(n){var s=e.last.id;if(t[s]&&!this.isViewFinished(t[s]))return t[s]}else{var l=e.first.id-2;if(t[l]&&!this.isViewFinished(t[l]))return t[l]}return null}},{key:"isViewFinished",value:function(e){return e.renderingState===r.FINISHED}},{key:"renderView",value:function(e){var t=this;switch(e.renderingState){case r.FINISHED:return!1;case r.PAUSED:this.highestPriorityPage=e.renderingId,e.resume();break;case r.RUNNING:this.highestPriorityPage=e.renderingId;break;case r.INITIAL:this.highestPriorityPage=e.renderingId,e.draw().finally((function(){t.renderHighestPriority()})).catch((function(e){console.error('renderView: "'.concat(e,'"'))}))}return!0}}])&&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}()},function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.PDFSinglePageViewer=void 0;var r=n(19),i=n(2);function o(e){return(o="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 a(e,t,n){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.PDFSinglePageViewer=function(e){!function(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&&s(e,t)}(c,e);var t,n,r,o=(n=c,r=function(){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(){var e,t=u(n);if(r){var i=u(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return l(this,e)});function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=o.call(this,e)).eventBus._on("pagesinit",(function(e){t._ensurePageViewVisible()})),t}return(t=[{key:"_resetView",value:function(){a(u(c.prototype),"_resetView",this).call(this),this._previousPageNumber=1,this._shadowViewer=document.createDocumentFragment(),this._updateScrollDown=null}},{key:"_ensurePageViewVisible",value:function(){var e=this._pages[this._currentPageNumber-1],t=this._pages[this._previousPageNumber-1],n=this.viewer.childNodes;switch(n.length){case 0:this.viewer.appendChild(e.div);break;case 1:if(n[0]!==t.div)throw new Error("_ensurePageViewVisible: Unexpected previously visible page.");if(e===t)break;this._shadowViewer.appendChild(t.div),this.viewer.appendChild(e.div),this.container.scrollTop=0;break;default:throw new Error("_ensurePageViewVisible: Only one page should be visible at a time.")}this._previousPageNumber=this._currentPageNumber}},{key:"_scrollUpdate",value:function(){this._updateScrollDown&&this._updateScrollDown(),a(u(c.prototype),"_scrollUpdate",this).call(this)}},{key:"_scrollIntoView",value:function(e){var t=this,n=e.pageDiv,r=e.pageSpot,i=void 0===r?null:r,o=e.pageNumber,s=void 0===o?null:o;s&&this._setCurrentPageNumber(s);var l=this._currentPageNumber>=this._previousPageNumber;this._ensurePageViewVisible(),this.update(),a(u(c.prototype),"_scrollIntoView",this).call(this,{pageDiv:n,pageSpot:i,pageNumber:s}),this._updateScrollDown=function(){t.scroll.down=l,t._updateScrollDown=null}}},{key:"_getVisiblePages",value:function(){return this._getCurrentVisiblePage()}},{key:"_updateHelper",value:function(e){}},{key:"_updateScrollMode",value:function(){}},{key:"_updateSpreadMode",value:function(){}},{key:"_viewerElement",get:function(){return(0,i.shadow)(this,"_viewerElement",this._shadowViewer)}},{key:"_isScrollModeHorizontal",get:function(){return(0,i.shadow)(this,"_isScrollModeHorizontal",!1)}}])&&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)}}(c.prototype,t),c}(r.BaseViewer)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseViewer=void 0;var r=n(3),i=n(17),o=n(1),a=n(2),s=n(16),l=n(7),u=n(8);function c(e){var t=[];this.push=function(n){var r=t.indexOf(n);r>=0&&t.splice(r,1),t.push(n),t.length>e&&t.shift().destroy()}
1,this.resize=function(n,i){if(e=n,i){for(var o=new Set,a=0,s=i.length;a<s;++a)o.add(i[a].id);(0,r.moveToEndOfArray)(t,(function(e){return o.has(e.id)}))}for(;t.length>e;)t.shift().destroy()}}function h(e,t){return t===e||Math.abs(t-e)<1e-15}t.BaseViewer=function(){function e(t){var n=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.constructor===e)throw new Error("Cannot initialize BaseViewer.");this._name=this.constructor.name,this.container=t.container,this.viewer=t.viewer||t.container.firstElementChild,this.eventBus=t.eventBus,this.linkService=t.linkService||new l.SimpleLinkService,this.downloadManager=t.downloadManager||null,this.findController=t.findController||null,this.removePageBorders=t.removePageBorders||!1,this.textLayerMode=Number.isInteger(t.textLayerMode)?t.textLayerMode:r.TextLayerMode.ENABLE,this.imageResourcesPath=t.imageResourcesPath||"",this.renderInteractiveForms=t.renderInteractiveForms||!1,this.enablePrintAutoRotate=t.enablePrintAutoRotate||!1,this.renderer=t.renderer||r.RendererType.CANVAS,this.enableWebGL=t.enableWebGL||!1,this.useOnlyCssZoom=t.useOnlyCssZoom||!1,this.maxCanvasPixels=t.maxCanvasPixels,this.l10n=t.l10n||r.NullL10n,this.defaultRenderingQueue=!t.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new i.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=t.renderingQueue,this.scroll=(0,r.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=r.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),Promise.resolve().then((function(){n.eventBus.dispatch("baseviewerinit",{source:n})}))}var t;return(t=[{key:"getPageView",value:function(e){return this._pages[e]}},{key:"_setCurrentPageNumber",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._currentPageNumber===e?(t&&this._resetCurrentPageView(),!0):0<e&&e<=this.pagesCount&&(this._currentPageNumber=e,this.eventBus.dispatch("pagechanging",{source:this,pageNumber:e,pageLabel:this._pageLabels&&this._pageLabels[e-1]}),t&&this._resetCurrentPageView(),!0)}},{key:"_onePageRenderedOrForceFetch",value:function(){return this.container.offsetParent&&0!==this._getVisiblePages().views.length?this._onePageRenderedCapability.promise:Promise.resolve()}},{key:"setDocument",value:function(e){var t=this;if(this.pdfDocument&&(this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null)),this.pdfDocument=e,e){var n=e.numPages,i=e.getPage(1);this._pagesCapability.promise.then((function(){t.eventBus.dispatch("pagesloaded",{source:t,pagesCount:n})})),this._onBeforeDraw=function(e){var n=t._pages[e.pageNumber-1];n&&t._buffer.push(n)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=function(e){e.cssTransform||t._onePageRenderedCapability.settled||(t._onePageRenderedCapability.resolve(),t.eventBus._off("pagerendered",t._onAfterDraw),t._onAfterDraw=null)},this.eventBus._on("pagerendered",this._onAfterDraw),i.then((function(i){t._firstPageCapability.resolve(i);for(var o=t.currentScale,a=i.getViewport({scale:o*r.CSS_UNITS}),l=t.textLayerMode!==r.TextLayerMode.DISABLE?t:null,u=1;u<=n;++u){var c=new s.PDFPageView({container:t._viewerElement,eventBus:t.eventBus,id:u,scale:o,defaultViewport:a.clone(),renderingQueue:t.renderingQueue,textLayerFactory:l,textLayerMode:t.textLayerMode,annotationLayerFactory:t,imageResourcesPath:t.imageResourcesPath,renderInteractiveForms:t.renderInteractiveForms,renderer:t.renderer,enableWebGL:t.enableWebGL,useOnlyCssZoom:t.useOnlyCssZoom,maxCanvasPixels:t.maxCanvasPixels,l10n:t.l10n});t._pages.push(c)}var h=t._pages[0];h&&(h.setPdfPage(i),t.linkService.cachePageRef(1,i.ref)),t._spreadMode!==r.SpreadMode.NONE&&t._updateSpreadMode(),t._onePageRenderedOrForceFetch().then((function(){if(t.findController&&t.findController.setDocument(e),e.loadingParams.disableAutoFetch||n>7500)t._pagesCapability.resolve();else{var r=n-1;if(r<=0)t._pagesCapability.resolve();else for(var i=function(n){e.getPage(n).then((function(e){var i=t._pages[n-1];i.pdfPage||i.setPdfPage(e),t.linkService.cachePageRef(n,e.ref),0==--r&&t._pagesCapability.resolve()}),(function(e){console.error("Unable to get page ".concat(n," to initialize viewer"),e),0==--r&&t._pagesCapability.resolve()}))},o=2;o<=n;++o)i(o)}})),t.eventBus.dispatch("pagesinit",{source:t}
1),t.defaultRenderingQueue&&t.update()})).catch((function(e){console.error("Unable to initialize viewer",e)}))}}},{key:"setPageLabels",value:function(e){if(this.pdfDocument){e?Array.isArray(e)&&this.pdfDocument.numPages===e.length?this._pageLabels=e:(this._pageLabels=null,console.error("".concat(this._name,".setPageLabels: Invalid page labels."))):this._pageLabels=null;for(var t=0,n=this._pages.length;t<n;t++)this._pages[t].setPageLabel(this._pageLabels&&this._pageLabels[t])}}},{key:"_resetView",value:function(){this._pages=[],this._currentPageNumber=1,this._currentScale=r.UNKNOWN_SCALE,this._currentScaleValue=null,this._pageLabels=null,this._buffer=new c(10),this._location=null,this._pagesRotation=0,this._pagesRequests=new WeakMap,this._firstPageCapability=(0,a.createPromiseCapability)(),this._onePageRenderedCapability=(0,a.createPromiseCapability)(),this._pagesCapability=(0,a.createPromiseCapability)(),this._scrollMode=r.ScrollMode.VERTICAL,this._spreadMode=r.SpreadMode.NONE,this._onBeforeDraw&&(this.eventBus._off("pagerender",this._onBeforeDraw),this._onBeforeDraw=null),this._onAfterDraw&&(this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null),this.viewer.textContent="",this._updateScrollMode()}},{key:"_scrollUpdate",value:function(){0!==this.pagesCount&&this.update()}},{key:"_scrollIntoView",value:function(e){var t=e.pageSpot;(0,r.scrollIntoView)(e.pageDiv,void 0===t?null:t)}},{key:"_setScaleUpdatePages",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this._currentScaleValue=t.toString(),h(this._currentScale,e))r&&this.eventBus.dispatch("scalechanging",{source:this,scale:e,presetValue:t});else{for(var i=0,o=this._pages.length;i<o;i++)this._pages[i].update(e);if(this._currentScale=e,!n){var a,s=this._currentPageNumber;!this._location||this.isInPresentationMode||this.isChangingPresentationMode||(s=this._location.pageNumber,a=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:s,destArray:a,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:e,presetValue:r?t:void 0}),this.defaultRenderingQueue&&this.update()}}},{key:"_setScale",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=parseFloat(e);if(n>0)this._setScaleUpdatePages(n,e,t,!1);else{var i=this._pages[this._currentPageNumber-1];if(!i)return;var o=this.isInPresentationMode||this.removePageBorders,a=o?0:r.SCROLLBAR_PADDING,s=o?0:r.VERTICAL_PADDING;if(!o&&this._isScrollModeHorizontal){var l=[s,a];a=l[0],s=l[1]}var u=(this.container.clientWidth-a)/i.width*i.scale,c=(this.container.clientHeight-s)/i.height*i.scale;switch(e){case"page-actual":n=1;break;case"page-width":n=u;break;case"page-height":n=c;break;case"page-fit":n=Math.min(u,c);break;case"auto":var h=(0,r.isPortraitOrientation)(i)?u:Math.min(c,u);n=Math.min(r.MAX_AUTO_SCALE,h);break;default:return void console.error("".concat(this._name,'._setScale: "').concat(e,'" is an unknown zoom value.'))}this._setScaleUpdatePages(n,e,t,!0)}}},{key:"_resetCurrentPageView",value:function(){this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0),this._scrollIntoView({pageDiv:this._pages[this._currentPageNumber-1].div})}},{key:"scrollPageIntoView",value:function(e){var t=e.pageNumber,n=e.destArray,i=void 0===n?null:n,o=e.allowNegativeOffset,a=void 0!==o&&o,s=e.ignoreDestinationZoom,l=void 0!==s&&s;if(this.pdfDocument){var u=Number.isInteger(t)&&this._pages[t-1];if(u)if(!this.isInPresentationMode&&i){var c,h=0,d=0,f=0,p=0,g=u.rotation%180!=0,_=(g?u.height:u.width)/u.scale/r.CSS_UNITS,A=(g?u.width:u.height)/u.scale/r.CSS_UNITS,v=0;switch(i[1].name){case"XYZ":v=i[4],h=null!==(h=i[2])?h:0,d=null!==(d=i[3])?d:A;break;case"Fit":case"FitB":v="page-fit";break;case"FitH":case"FitBH":v="page-width",null===(d=i[2])&&this._location&&(h=this._location.left,d=this._location.top);break;case"FitV":case"FitBV":h=i[2],f=_,p=A,v="page-height";break;case"FitR":f=i[4]-(h=i[2]),c=(this.container.clientHeight-(this.removePageBorders?0:r.VERTICAL_PADDING))/(p=i[5]-(d=i[3]))/r.CSS_UNITS,v=Math.min(Math.abs((this.container.clientWidth-(this.removePageBorders?0:r.SCROLLBAR_PADDING))/f/r.CSS_UNITS),Math.abs(c));break;default:return void console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(i[1].name,'" is not a valid destination type.'))}if(l||(v&&v!==this._currentScale?this.currentScaleValue=v:this._currentScale===r.UNKNOWN_SCALE&&(this.currentScaleValue=r.DEFAULT_SCALE_VALUE)),"page-fit"!==v||i[4]){var m=[u.viewport.convertToViewportPoint(h,d),u.viewport.convertToViewportPoint(h+f,d+p)],y=Math.min(m[0][0],m[1][0]),b=Math.min(m[0][1],m[1][1]);a||(y=Math.max(y,0),b=Math.max(b,0)),this._scrollIntoView({pageDiv:u.div,pageSpot:{left:y,top:b},pageNumber:t})}else this._scrollIntoView({pageDiv:u.div,pageNumber:t})}else this._setCurrentPageNumber(t,!0);else console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(t,'" is not a valid pageNumber parameter.'))}}},{key:"_updateLocation",value:function(e){var t=this._currentScale,n=this._currentScaleValue,r=parseFloat(n)===t?Math.round(1e4*t)/100:n,i=e.id,o="#page="+i;o+="&zoom="+r;var a=this.container,s=this._pages[i-1].getPagePoint(a.scrollLeft-e.x,a.scrollTop-e.y),l=Math.round(s[0]),u=Math.round(s[1]);this._location={pageNumber:i,scale:r,top:u,left:l,rotation:this._pagesRotation,pdfOpenParams:o+=","+l+","+u}}
1},{key:"_updateHelper",value:function(e){throw new Error("Not implemented: _updateHelper")}},{key:"update",value:function(){var e=this._getVisiblePages(),t=e.views,n=t.length;if(0!==n){var r=Math.max(10,2*n+1);this._buffer.resize(r,t),this.renderingQueue.renderHighestPriority(e),this._updateHelper(t),this._updateLocation(e.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}}},{key:"containsElement",value:function(e){return this.container.contains(e)}},{key:"focus",value:function(){this.container.focus()}},{key:"_getCurrentVisiblePage",value:function(){if(!this.pagesCount)return{views:[]};var e=this._pages[this._currentPageNumber-1],t=e.div,n={id:e.id,x:t.offsetLeft+t.clientLeft,y:t.offsetTop+t.clientTop,view:e};return{first:n,last:n,views:[n]}}},{key:"_getVisiblePages",value:function(){return(0,r.getVisibleElements)(this.container,this._pages,!0,this._isScrollModeHorizontal)}},{key:"isPageVisible",value:function(e){return!!this.pdfDocument&&(e<1||e>this.pagesCount?(console.error("".concat(this._name,'.isPageVisible: "').concat(e,'" is out of bounds.')),!1):this._getVisiblePages().views.some((function(t){return t.id===e})))}},{key:"cleanup",value:function(){for(var e=0,t=this._pages.length;e<t;e++)this._pages[e]&&this._pages[e].renderingState!==i.RenderingStates.FINISHED&&this._pages[e].reset()}},{key:"_cancelRendering",value:function(){for(var e=0,t=this._pages.length;e<t;e++)this._pages[e]&&this._pages[e].cancelRendering()}},{key:"_ensurePdfPageLoaded",value:function(e){var t=this;if(e.pdfPage)return Promise.resolve(e.pdfPage);if(this._pagesRequests.has(e))return this._pagesRequests.get(e);var n=this.pdfDocument.getPage(e.id).then((function(n){return e.pdfPage||e.setPdfPage(n),t._pagesRequests.delete(e),n})).catch((function(n){console.error("Unable to get page for page view",n),t._pagesRequests.delete(e)}));return this._pagesRequests.set(e,n),n}},{key:"forceRendering",value:function(e){var t=this,n=e||this._getVisiblePages(),r=this.renderingQueue.getHighestPriority(n,this._pages,this._isScrollModeHorizontal?this.scroll.right:this.scroll.down);return!!r&&(this._ensurePdfPageLoaded(r).then((function(){t.renderingQueue.renderView(r)})),!0)}},{key:"createTextLayerBuilder",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return new u.TextLayerBuilder({textLayerDiv:e,eventBus:i,pageIndex:t,viewport:n,findController:this.isInPresentationMode?null:this.findController,enhanceTextSelection:!this.isInPresentationMode&&r})}},{key:"createAnnotationLayerBuilder",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.NullL10n;return new o.AnnotationLayerBuilder({pageDiv:e,pdfPage:t,imageResourcesPath:n,renderInteractiveForms:i,linkService:this.linkService,downloadManager:this.downloadManager,l10n:a})}},{key:"getPagesOverview",value:function(){var e=this._pages.map((function(e){var t=e.pdfPage.getViewport({scale:1});return{width:t.width,height:t.height,rotation:t.rotation}}));if(!this.enablePrintAutoRotate)return e;var t=(0,r.isPortraitOrientation)(e[0]);return e.map((function(e){return t===(0,r.isPortraitOrientation)(e)?e:{width:e.height,height:e.width,rotation:(e.rotation+90)%360}}))}},{key:"_updateScrollMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this._scrollMode,n=this.viewer;n.classList.toggle("scrollHorizontal",t===r.ScrollMode.HORIZONTAL),n.classList.toggle("scrollWrapped",t===r.ScrollMode.WRAPPED),this.pdfDocument&&e&&(this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(e,!0),this.update())}},{key:"_updateSpreadMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.pdfDocument){var t=this.viewer,n=this._pages;if(t.textContent="",this._spreadMode===r.SpreadMode.NONE)for(var i=0,o=n.length;i<o;++i)t.appendChild(n[i].div);else for(var a=this._spreadMode-1,s=null,l=0,u=n.length;l<u;++l)null===s?((s=document.createElement("div")).className="spread",t.appendChild(s)):l%2===a&&(s=s.cloneNode(!1),t.appendChild(s)),s.appendChild(n[l].div);e&&(this._setCurrentPageNumber(e,!0),this.update())}}},{key:"pagesCount",get:function(){return this._pages.length}},{key:"pageViewsReady",get:function(){return!!this._pagesCapability.settled&&this._pages.every((function(e){return e&&e.pdfPage}))}},{key:"currentPageNumber",get:function(){return this._currentPageNumber},set:function(e){if(!Number.isInteger(e))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(e,!0)||console.error("".concat(this._name,'.currentPageNumber: "').concat(e,'" is not a valid page.')))}},{key:"currentPageLabel",get:function(){return this._pageLabels&&this._pageLabels[this._currentPageNumber-1]},set:function(e){if(this.pdfDocument){var t=0|e;if(this._pageLabels){var n=this._pageLabels.indexOf(e);n>=0&&(t=n+1)}this._setCurrentPageNumber(t,!0)||console.error("".concat(this._name,'.currentPageLabel: "').concat(e,'" is not a valid page.'))}}},{key:"currentScale",get:function(){return this._currentScale!==r.UNKNOWN_SCALE?this._currentScale:r.DEFAULT_SCALE},set:function(e){if(isNaN(e))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(e,!1)}},{key:"currentScaleValue",get:function(){return this._currentScaleValue},set:function(e){this.pdfDocument&&this._setScale(e,!1)}},{key:"pagesRotation",get:function(){return this._pagesRotation},set:function(e){if(!(0,r.isValidRotation)(e))throw new Error("Invalid pages rotation angle.");if(this.pdfDocument&&this._pagesRotation!==e){this._pagesRotation=e;for(var t=this._currentPageNumber,n=0,i=this._pages.length;n<i;n++){var o=this._pages[n];o.update(o.scale,e)}this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:e,pageNumber:t}),this.defaultRenderingQueue&&this.update()}}},{key:"firstPagePromise",get:function(){return this.pdfDocument?this._firstPageCapability.promise:null}},{key:"onePageRendered",get:function(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}},{key:"pagesPromise",get:function(){return this.pdfDocument?this._pagesCapability.promise:null}},{key:"_viewerElement",get:function(){throw new Error("Not implemented: _viewerElement")}},{key:"_isScrollModeHorizontal",get:function(){return!this.isInPresentationMode&&this._scrollMode===r.ScrollMode.HORIZONTAL}},{key:"isInPresentationMode",get:function(){return this.presentationModeState===r.PresentationModeState.FULLSCREEN}},{key:"isChangingPresentationMode",get:function(){return this.presentationModeState===r.PresentationModeState.CHANGING}},{key:"isHorizontalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}},{key:"isVerticalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}},{key:"hasEqualPageSizes",get:function(){for(var e=this._pages[0],t=1,n=this._pages.length;t<n;++t){var r=this._pages[t];if(r.width!==e.width||r.height!==e.height)return!1}return!0}},{key:"scrollMode",get:function(){return this._scrollMode},set:function(e){if(this._scrollMode!==e){if(!(0,r.isValidScrollMode)(e))throw new Error("Invalid scroll mode: ".concat(e));this._scrollMode=e,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:e}),this._updateScrollMode(this._currentPageNumber)}}},{key:"spreadMode",get:function(){return this._spreadMode},set:function(e){if(this._spreadMode!==e){if(!(0,r.isValidSpreadMode)(e))throw new Error("Invalid spread mode: ".concat(e));this._spreadMode=e,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:e}),this._updateSpreadMode(this._currentPageNumber)}}}])&&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}()},function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.PDFViewer=void 0;var r=n(19),i=n(2);function o(e){return(o="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 a(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 s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.PDFViewer=function(e){!function(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&&u(e,t)}(d,e);var t,n,r,o=(n=d,r=function(){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(){var e,t=h(n);if(r){var i=h(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return c(this,e)});function d(){return s(this,d),o.apply(this,arguments)}return(t=[{key:"_scrollIntoView",value:function(e){var t=e.pageDiv,n=e.pageSpot,r=void 0===n?null:n,i=e.pageNumber,o=void 0===i?null:i;if(!r&&!this.isInPresentationMode){var a=t.offsetLeft+t.clientLeft,s=this.container,u=s.scrollLeft;(this._isScrollModeHorizontal||a<u||a+t.clientWidth>u+s.clientWidth)&&(r={left:0,top:0})}l(h(d.prototype),"_scrollIntoView",this).call(this,{pageDiv:t,pageSpot:r,pageNumber:o})}},{key:"_getVisiblePages",value:function(){return this.isInPresentationMode?this._getCurrentVisiblePage():l(h(d.prototype),"_getVisiblePages",this).call(this)}},{key:"_updateHelper",value:function(e){if(!this.isInPresentationMode){var t,n=this._currentPageNumber,r=!1,i=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,void 0);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)?a(e,void 0):void 0}}(e))){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,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}(e);try{for(i.s();!(t=i.n()).done;){var o=t.value;if(o.percent<100)break;if(o.id===n){r=!0;break}}}catch(s){i.e(s)}finally{i.f()}r||(n=e[0].id),this._setCurrentPageNumber(n)}}},{key:"_viewerElement",get:function(){return(0,i.shadow)(this,"_viewerElement",this.viewer)}}])&&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)}}(d.prototype,t),d}(r.BaseViewer)}])},e.exports=r()},"+az/":function(e,t,n){!function(e,t){"use strict";var n=function(e){e&&Object.assign(this,e)},r=function(){function e(e,n){this.el=e,this.ngZone=n,this.onAddressChange=new t.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.options||(this.options=new n),this.initialize()},e.prototype.isGoogleLibExists=function(){return!(!google||!google.maps||!google.maps.places)},e.prototype.initialize=function(){var e=this;if(!this.isGoogleLibExists())throw new Error("Google maps library can not be found");if(this.autocomplete=new google.maps.places.Autocomplete(this.el.nativeElement,this.options),!this.autocomplete)throw new Error("Autocomplete is not initialized");null!=!this.autocomplete.addListener&&(this.eventListener=this.autocomplete.addListener("place_changed",(function(){e.handleChangeEvent()}))),this.el.nativeElement.addEventListener("keydown",(function(t){t.key&&"enter"
1==t.key.toLowerCase()&&t.target===e.el.nativeElement&&(t.preventDefault(),t.stopPropagation())})),window&&window.navigator&&window.navigator.userAgent&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&setTimeout((function(){var e=document.getElementsByClassName("pac-container");if(e){var t=Array.from(e);if(t)for(var n=0,r=t;n<r.length;n++){var i=r[n];i&&i.addEventListener("touchend",(function(e){e.stopImmediatePropagation()}))}}}),500)},e.prototype.reset=function(){this.autocomplete.setComponentRestrictions(this.options.componentRestrictions),this.autocomplete.setTypes(this.options.types)},e.prototype.handleChangeEvent=function(){var e=this;this.ngZone.run((function(){e.place=e.autocomplete.getPlace(),e.place&&e.onAddressChange.emit(e.place)}))},e.decorators=[{type:t.Directive,args:[{selector:"[ngx-google-places-autocomplete]",exportAs:"ngx-places"}]}],e.ctorParameters=function(){return[{type:t.ElementRef},{type:t.NgZone}]},e.propDecorators={options:[{type:t.Input,args:["options"]}],onAddressChange:[{type:t.Output}]},e}();e.GooglePlaceModule=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[r],exports:[r]}]}],e.ctorParameters=function(){return[]},e}(),e.GooglePlaceDirective=r,Object.defineProperty(e,"__esModule",{value:!0})}(t,n("8Y7J"))},"/HVE":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return h}));var r,i=n("8Y7J"),o=n("SVse");try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(p){r=!1}var a,s=function(){var e=_createClass2((function e(t){_classCallCheck2(this,e),this._platformId=t,this.isBrowser=this._platformId?Object(o.z)(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&&!r)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}));return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(i.PLATFORM_ID,8))},token:e,providedIn:"root"}),e}(),l=_createClass2((function e(){_classCallCheck2(this,e)}));function u(e){return function(){if(null==a&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return a=!0}}))}finally{a=a||!1}return a}()?e:!!e.capture}var c,h=function(){var e={NORMAL:0,NEGATED:1,INVERTED:2};return e[e.NORMAL]="NORMAL",e[e.NEGATED]="NEGATED",e[e.INVERTED]="INVERTED",e}();function d(){return!("object"!=typeof document||!("scrollBehavior"in document.documentElement.style))}function f(){if("object"!=typeof document||!document)return h.NORMAL;if(!c){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),c=h.NORMAL,0===e.scrollLeft&&(e.scrollLeft=1,c=0===e.scrollLeft?h.NEGATED:h.INVERTED),e.parentNode.removeChild(e)}return c}},"/uUt":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){return function(n){return n.lift(new o(e,t))}}var o=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.compare=t,this.keySelector=n}),[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.compare,this.keySelector))}}])}(),a=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[e])).keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}
1return _inherits2(t,e),_createClass2(t,[{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))}}])}(r.a)},0:function(e,t,n){e.exports=n("zUnb")},"0EUg":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("bHdf");function i(){return Object(r.a)(1)}},1:function(e,t){},"128B":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("Kqap"),i=n("BFxc"),o=n("xbPD"),a=n("mCNh");function s(e,t){return arguments.length>=2?function(n){return Object(a.a)(Object(r.a)(e,t),Object(i.a)(1),Object(o.a)(t))(n)}:function(t){return Object(a.a)(Object(r.a)((function(t,n,r){return e(t,n,r+1)})),Object(i.a)(1))(t)}}},"1G5W":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("l7GE"),i=n("ZUHj");function o(e){return function(t){return t.lift(new a(e))}}var a=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.notifier=t}),[{key:"call",value:function(e,t){var n=new s(e),r=Object(i.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}])}(),s=function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t,[e])).seenValue=!1,n}return _inherits2(t,e),_createClass2(t,[{key:"notifyNext",value:function(e,t,n,r,i){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}])}(r.a)},"1gqn":function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},"1v46":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("d7n7");var r=function(){}},2:function(e,t){},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("XNiG"),i=n("9ppp"),o=function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t))._value=e,n}return _inherits2(t,e),_createClass2(t,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var n=_superPropGet(t,"_subscribe",this,3)([e]);return n&&!n.closed&&e.next(this._value),n}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value}},{key:"next",value:function(e){_superPropGet(t,"next",this,3)([this._value=e])}}])}(r.a)},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=!1,i={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 r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"2uy1":function(e,t,n){"use strict";n.d(t,"a",(function(){return H}));var r=n("8Y7J"),i=n("SVse"),o=n("XNiG"),a=n("VRyK"),s=n("xgIS"),l=n("LRne"),u=n("eNwd");function c(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function h(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function d(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=c(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(String(n)+String(i)+String(r))?e:d(h(e))}var f="undefined"!=typeof window&&"undefined"!=typeof document,p=f&&!(!window.MSInputMethodContext||!document.documentMode),g=f&&!(!window.MSInputMethodContext||!/MSIE 10/.test(navigator.userAgent));function _(e){return 11===e?p:10===e?g:p||g}function A(e){if(!e)return document.documentElement;for(var t,n=_(10)?document.body:null,r=e.offsetParent||null;r===n&&e.nextElementSibling&&t!==e.nextElementSibling;)r=(t=e.nextElementSibling).offsetParent;var i=r&&r.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===c(r,"position")?A(r):r:t?t.ownerDocument.documentElement:document.documentElement}function v(e){return null!==e.parentNode?v(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,s,l=o.commonAncestorContainer;if(e!==l&&t!==l||r.contains(i))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&A(a.firstElementChild)!==a?A(l):l;var u=v(e);return u.host?m(u.host,t):m(e,v(t).host)}function y(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border".concat(n,"Width")])+parseFloat(e["border".concat(r,"Wi
1dth")])}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],_(10)?parseInt(n["offset"+e],10)+parseInt(r["margin"+("Height"===e?"Top":"Left")],10)+parseInt(r["margin"+("Height"===e?"Bottom":"Right")],10):0)}function C(e){var t=e.body,n=e.documentElement,r=_(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[n]}return e[n]}function k(e){return Object.assign({},e,{right:e.left+e.width,bottom:e.top+e.height})}function E(e){var t={};try{if(_(10)){t=e.getBoundingClientRect();var n=w(e,"top"),r=w(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(u){return}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?C(e.ownerDocument):{},a=e.offsetWidth-(o.width||e.clientWidth||i.right-i.left),s=e.offsetHeight-(o.height||e.clientHeight||i.bottom-i.top);if(a||s){var l=c(e);a-=y(l,"x"),s-=y(l,"y"),i.width-=a,i.height-=s}return k(i)}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=_(10),i="HTML"===t.nodeName,o=E(e),a=E(t),s=d(e),l=c(t),u=parseFloat(l.borderTopWidth),h=parseFloat(l.borderLeftWidth);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=k({top:o.top-a.top-u,left:o.left-a.left-h,width:o.width,height:o.height});if(f.marginTop=0,f.marginLeft=0,!r&&i){var p=parseFloat(l.marginTop),g=parseFloat(l.marginLeft);f.top-=u-p,f.bottom-=u-p,f.left-=h-g,f.right-=h-g,f.marginTop=p,f.marginLeft=g}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(f=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=w(t,"top"),i=w(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}(f,t)),f}function O(e){if(!e||!e.parentElement||_())return document.documentElement;for(var t=e.parentElement;t&&"none"===c(t,"transform");)t=t.parentElement;return t||document.documentElement}function x(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?O(e):m(e,t);if("viewport"===r)o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=S(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:w(n),s=t?0:w(n,"left");return k({top:a-Number(r.top)+Number(r.marginTop),left:s-Number(r.left)+Number(r.marginLeft),width:i,height:o})}(a,i);else{var s;"scrollParent"===r?"BODY"===(s=d(h(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=S(s,a,i);if("HTML"!==s.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===c(t,"position")||e(h(t)))}(a))o=l;else{var u=C(e.ownerDocument),f=u.height,p=u.width;o.top+=l.top-l.marginTop,o.bottom=Number(f)+Number(l.top),o.left+=l.left-l.marginLeft,o.right=Number(p)+Number(l.left)}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function P(e){return e.width*e.height}function T(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:["top","bottom","right","left"],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"viewport",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;if(-1===e.indexOf("auto"))return e;var s=x(n,r,a,o),l={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},u=Object.keys(l).map((function(e){return Object.assign({key:e},l[e],{area:P(l[e])})})).sort((function(e,t){return t.area-e.area})),c=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),h=(c=c.filter((function(e){return i.some((function(t){return t===e.key}))}))).length>0?c[0].key:u[0].key,d=e.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,"bs-tooltip-"+h),h+(d?"-"+d:"")}function B(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:Number(e.offsetWidth)+r,height:Number(e.offsetHeight)+n}}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return S(t,n?O(e):m(e,t),n)}function M(e,t,n){var r=n.split(" ")[0],i=B(e),o={width:i.width,height:i.height},a=-1!==["right","left"].indexOf(r),s=a?"top":"left",l=a?"left":"top",u=a?"height":"width",c=a?"
1width":"height";return o[s]=t[s]+t[u]/2-i[u]/2,o[l]=r===l?t[l]-i[c]:t[function(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}(l)],o}function I(e,t){return e&&e.modifiers&&e.modifiers[t]&&e.modifiers[t].enabled}function R(e,t,n){Object.keys(t).forEach((function(r){var i,o="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&""!==(i=t[r])&&!isNaN(parseFloat(i))&&isFinite(i)&&(o="px"),n?n.setStyle(e,r,"".concat(String(t[r])).concat(o)):e.style[r]=String(t[r])+o}))}function F(e){var t=e.offsets.target,n=e.instance.target.querySelector(".arrow");if(!n)return e;var r=-1!==["left","right"].indexOf(e.placement.split(" ")[0]),i=r?"height":"width",o=r?"Top":"Left",a=o.toLowerCase(),s=r?"left":"top",l=r?"bottom":"right",u=B(n)[i],h=e.placement.split(" ")[1];e.offsets.host[l]-u<t[a]&&(t[a]-=t[a]-(e.offsets.host[l]-u)),Number(e.offsets.host[a])+Number(u)>t[l]&&(t[a]+=Number(e.offsets.host[a])+Number(u)-Number(t[l])),t=k(t);var d,f=c(e.instance.target),p=parseFloat(f["margin"+o]),g=parseFloat(f["border".concat(o,"Width")]);if(h){var _=parseFloat(f.borderRadius),A=Number(p+g+_);d=a===h?Number(e.offsets.host[a])+A:Number(e.offsets.host[a])+Number(e.offsets.host[i]-A)}else d=Number(e.offsets.host[a])+Number(e.offsets.host[i]/2-u/2);var v=d-t[a]-p-g;return v=Math.max(Math.min(t[i]-u,v),0),e.offsets.arrow=_defineProperty(_defineProperty({},a,Math.round(v)),s,""),e.instance.arrow=n,e}function L(e){if(e.offsets.target=k(e.offsets.target),!I(e.options,"flip"))return e.offsets.target=Object.assign({},e.offsets.target,M(e.instance.target,e.offsets.host,e.placement)),e;var t=x(e.instance.target,e.instance.host,0,"viewport",!1),n=e.placement.split(" ")[0],r=e.placement.split(" ")[1]||"",i=T("auto",e.offsets.host,e.instance.target,e.instance.host,e.options.allowedPositions),o=[n,i];return o.forEach((function(i,a){if(n!==i||o.length===a+1)return e;var s="left"===(n=e.placement.split(" ")[0])&&Math.floor(e.offsets.target.right)>Math.floor(e.offsets.host.left)||"right"===n&&Math.floor(e.offsets.target.left)<Math.floor(e.offsets.host.right)||"top"===n&&Math.floor(e.offsets.target.bottom)>Math.floor(e.offsets.host.top)||"bottom"===n&&Math.floor(e.offsets.target.top)<Math.floor(e.offsets.host.bottom),l=Math.floor(e.offsets.target.left)<Math.floor(t.left),u=Math.floor(e.offsets.target.right)>Math.floor(t.right),c=Math.floor(e.offsets.target.top)<Math.floor(t.top),h=Math.floor(e.offsets.target.bottom)>Math.floor(t.bottom),d="left"===n&&l||"right"===n&&u||"top"===n&&c||"bottom"===n&&h,f=-1!==["top","bottom"].indexOf(n),p=f&&"left"===r&&l||f&&"right"===r&&u||!f&&"left"===r&&c||!f&&"right"===r&&h;(s||d||p)&&((s||d)&&(n=o[a+1]),p&&(r=function(e){return"right"===e?"left":"left"===e?"right":e}(r)),e.placement=n+(r?" "+r:""),e.offsets.target=Object.assign({},e.offsets.target,M(e.instance.target,e.offsets.host,e.placement)))})),e}function U(e){if(!I(e.options,"preventOverflow"))return e;var t=e.instance.target.style,n=t.top,r=t.left,i=t.transform;t.top="",t.left="",t.transform="";var o=x(e.instance.target,e.instance.host,0,"scrollParent",!1);t.top=n,t.left=r,t.transform=i;var a,s={primary:function(t){var n=e.offsets.target[t];return e.offsets.target[t]<o[t]&&(n=Math.max(e.offsets.target[t],o[t])),_defineProperty({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=e.offsets.target[n];return e.offsets.target[t]>o[t]&&(r=Math.min(e.offsets.target[n],o[t]-("right"===t?e.offsets.target.width:e.offsets.target.height))),_defineProperty({},n,r)}};return["left","right","top","bottom"].forEach((function(t){a=-1!==["left","top"].indexOf(t)?"primary":"secondary",e.offsets.target=Object.assign({},e.offsets.target,s[a](t))})),e}function N(e){var t=e.placement,n=t.split(" ")[0],r=t.split(" ")[1];if(r){var i=e.offsets,o=i.host,a=i.target,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:_defineProperty({},l,o[l]),end:_defineProperty({},l,o[l]+o[u]-a[u])};e.offsets.target=Object.assign({},a,_defineProperty({},l,l===r?c.start[l]:c.end[l]))}return e}var j=new(function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"position",value:function(e,t){!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return this.offset(e,t,!1)}},{key:"offset",value:function(e,t){!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return D(t,e)}},{key:"positionElements",value:function(e,t,n,r,i){return[L,N,U,F].reduce((function(e,t){return t(e)}),function(e,t,n,r){var i=D(e,t);n.match(/^(auto)*\s*(left|right|top|bottom)*$/)||n.match(/^(left|right|top|bottom)*(?: (left|right|top|bottom))?\s*(start|end)*$/)||(n="auto");var o=!!n.match(/auto/g),a=n.match(/auto\s(left|right|top|bottom)/)?n.split(" ")[1]||"auto":n,s=a.match(/^(left|right|top|bottom)* ?(?!\1)(left|right|top|bottom)?/);return s&&(a=s[1]+(s[2]?" "+s[2]:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(a)&&(a="auto"),{options:r,instance:{target:e,host:t,arrow:null},offsets:{target:M(e,i,a),host:i,arrow:null},positionFixed:!1,placement:a=T(a,i,e,t,r?r.allowedPositions:void 0),placementAuto:o}}(t,e,n,i))}}])}()),H=function(){return _createClass2((function e(t,n,r){var c=this;_classCallCheck2(this,e),this.update$$=new o.a,this.positionElements=new Map,this.isDisabled=!1,Object(i.z)(r)&&t.runOutsideAngular((function(){c.triggerEvent$=Object(a.a)(Object(s.a)(window,"scroll",{passive:!0}),Object(s.a)(window,"resize",{passive:!0}),Object(l.a)(0,u.a),c.update$$),c.triggerEvent$.subscribe((function(){c.isDisabled||c.positionElements.forEac
1h((function(e){var t,r,i,o,a,s,l,u;t=Q(e.target),r=Q(e.element),i=e.attachment,o=e.appendToBody,a=c.options,s=n.createRenderer(null,null),l=j.positionElements(t,r,i,o,a),u=function(e){return{width:e.offsets.target.width,height:e.offsets.target.height,left:Math.floor(e.offsets.target.left),top:Math.round(e.offsets.target.top),bottom:Math.round(e.offsets.target.bottom),right:Math.floor(e.offsets.target.right)}}(l),R(r,{"will-change":"transform",top:"0px",left:"0px",transform:"translate3d(".concat(u.left,"px, ").concat(u.top,"px, 0px)")},s),l.instance.arrow&&R(l.instance.arrow,l.offsets.arrow,s),function(e,t){var n=e.instance.target,r=n.className;e.placementAuto&&(-1!==(r=(r=(r=r.replace(/bs-popover-auto/g,"bs-popover-"+e.placement)).replace(/bs-tooltip-auto/g,"bs-tooltip-"+e.placement)).replace(/\sauto/g," "+e.placement)).indexOf("popover")&&-1===r.indexOf("popover-auto")&&(r+=" popover-auto"),-1!==r.indexOf("tooltip")&&-1===r.indexOf("tooltip-auto")&&(r+=" tooltip-auto")),r=r.replace(/left|right|top|bottom/g,""+e.placement.split(" ")[0]),t?t.setAttribute(n,"class",r):n.className=r}(l,s)}))}))}))}),[{key:"position",value:function(e){this.addPositionElement(e)}},{key:"event$",get:function(){return this.triggerEvent$}},{key:"disable",value:function(){this.isDisabled=!0}},{key:"enable",value:function(){this.isDisabled=!1}},{key:"addPositionElement",value:function(e){this.positionElements.set(Q(e.element),e)}},{key:"calcPosition",value:function(){this.update$$.next()}},{key:"deletePositionElement",value:function(e){this.positionElements.delete(Q(e))}},{key:"setOptions",value:function(e){this.options=e}}])}();function Q(e){return"string"==typeof e?document.querySelector(e):e instanceof r.ElementRef?e.nativeElement:e}},3:function(e,t){},"3E0/":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("D0XW"),i=n("mlxB"),o=n("7o/Q"),a=n("WMd4");function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.a,n=Object(i.a)(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new l(n,t))}}var l=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.delay=t,this.scheduler=n}),[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.delay,this.scheduler))}}])}(),u=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[e])).delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return _inherits2(t,e),_createClass2(t,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(t.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 c(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(a.a.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(a.a.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}}])}(o.a),c=_createClass2((function e(t,n){_classCallCheck2(this,e),this.time=t,this.notification=n}))},"3N8a":function(e,t,n){"use strict";var r=function(e){function t(e,n){return _classCallCheck2(this,t),_callSuper(this,t)}return _inherits2(t,e),_createClass2(t,[{key:"schedule",value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this}}])}(n("quSY").a);n.d(t,"a",(function(){return i}));var i=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e,n])).scheduler
1=e,r.work=n,r.pending=!1,r}return _inherits2(t,e),_createClass2(t,[{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}}])}(r)},"3Rfw":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=22)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i={debug:function(){},info:function(){},warn:function(){},error:function(){}},o=void 0,a=void 0;(t.Log=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.reset=function(){a=3,o=i},e.debug=function(){if(a>=4){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];o.debug.apply(o,Array.from(t))}},e.info=function(){if(a>=3){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];o.info.apply(o,Array.from(t))}},e.warn=function(){if(a>=2){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];o.warn.apply(o,Array.from(t))}},e.error=function(){if(a>=1){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];o.error.apply(o,Array.from(t))}},r(e,null,[{key:"NONE",get:function(){return 0}},{key:"ERROR",get:function(){return 1}},{key:"WARN",get:function(){return 2}},{key:"INFO",get:function(){return 3}},{key:"DEBUG",get:function(){return 4}},{key:"level",get:function(){return a}
vendor: 22,054 bytes, line 1
1,set:function(e){if(!(0<=e&&e<=4))throw new Error("Invalid log level");a=e}},{key:"logger",get:function(){return o},set:function(e){if(!e.debug&&e.info&&(e.debug=e.info),!(e.debug&&e.info&&e.warn&&e.error))throw new Error("Invalid logger");o=e}}]),e}()).reset()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i={setInterval:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){return setInterval(e,t)})),clearInterval:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return clearInterval(e)}))},o=!1,a=null;t.Global=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e._testing=function(){o=!0},e.setXMLHttpRequest=function(e){a=e},r(e,null,[{key:"location",get:function(){if(!o)return location}},{key:"localStorage",get:function(){if(!o&&"undefined"!=typeof window)return localStorage}},{key:"sessionStorage",get:function(){if(!o&&"undefined"!=typeof window)return sessionStorage}},{key:"XMLHttpRequest",get:function(){if(!o&&"undefined"!=typeof window)return a||XMLHttpRequest}},{key:"timer",get:function(){if(!o)return i}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MetadataService=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=n(7);t.MetadataService=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.JsonService;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw i.Log.error("MetadataService: No settings passed to MetadataService"),new Error("settings");this._settings=t,this._jsonService=new n(["application/jwk-set+json"])}return e.prototype.getMetadata=function(){var e=this;return this._settings.metadata?(i.Log.debug("MetadataService.getMetadata: Returning metadata from settings"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(i.Log.debug("MetadataService.getMetadata: getting metadata from",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then((function(t){return i.Log.debug("MetadataService.getMetadata: json received"),e._settings.metadata=t,t}))):(i.Log.error("MetadataService.getMetadata: No authority or metadataUrl configured on settings"),Promise.reject(new Error("No authority or metadataUrl configured on settings")))},e.prototype.getIssuer=function(){return this._getMetadataProperty("issuer")},e.prototype.getAuthorizationEndpoint=function(){return this._getMetadataProperty("authorization_endpoint")},e.prototype.getUserInfoEndpoint=function(){return this._getMetadataProperty("userinfo_endpoint")},e.prototype.getTokenEndpoint=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty("token_endpoint",e)},e.prototype.getCheckSessionIframe=function(){return this._getMetadataProperty("check_session_iframe",!0)},e.prototype.getEndSessionEndpoint=function(){return this._getMetadataProperty("end_session_endpoint",!0)},e.prototype.getRevocationEndpoint=function(){return this._getMetadataProperty("revocation_endpoint",!0)},e.prototype.getKeysEndpoint=function(){return this._getMetadataProperty("jwks_uri",!0)},e.prototype._getMetadataProperty=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return i.Log.debug("MetadataService.getMetadataProperty for: "+e),this.getMetadata().then((function(n){if(i.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),void 0===n[e]){if(!0===t)return void i.Log.warn("MetadataService.getMetadataProperty: Metadata does not contain optional property "+e);throw i.Log.error("MetadataService.getMetadataProperty: Metadata does not contain property "+e),new Error("Metadata does not contain property "+e)}return n[e]}))},e.prototype.getSigningKeys=function(){var e=this;return this._settings.signingKeys?(i.Log.debug("MetadataService.getSigningKeys: Returning signingKeys from settings"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty("jwks_uri").then((function(t){return i.Log.debug("MetadataService.getSigningKeys: jwks_uri received",t),e._jsonService.getJson(t).then((function(t){if(i.Log.debug("MetadataService.getSigningKeys: key set received",t),!t.keys)throw i.Log.error("MetadataService.getSigningKeys: Missing keys on keyset"),new Error("Missing keys on keyset");return e._settings.signingKeys=t.keys,e._settings.signingKeys}))}))},r(e,[{key:"metadataUrl",get:function(){return this._metadataUrl||(this._settings.metadataUrl?this._metadataUrl=this._settings.metadataUrl:(this._metadataUrl=this._settings.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration"))),this._metadataUrl}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UrlUtility=void 0;var r=n(0),i=n(1);t.UrlUtility=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.addQueryParam=function(e,t,n){return e.indexOf("?")<0&&(e+="?"),"?"!==e[e.length-1]&&(e+="&"),e+=encodeURIComponent(t),(e+="=")+encodeURIComponent(n)},e.parseUrlFragment=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.Global;"string"!=typeof e&&(e=n.location.href);var o=e.lastIndexOf(t);o>=0&&(e=e.substr(o+1)),"?"===t&&(o=e.indexOf("#"))>=0&&(e=e.substr(0,o));for(var a,s={},l=/([^&=]+)=([^&]*)/g,u=0;a=l.exec(e);)if(s[decodeURIComponent(a[1])]=decodeURIComponent(a[2]),u++>50)return r.Log.error("UrlUtility.parseUrlFragment: response exceeded expected number of parameters",e),{error:"Response exceeded expected number of parameters"};for(var c in s)return s;return{}},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JoseUtil=void 0;var r=n(25),i=function(e){return e&&e.__esModule?e:{default:e}}(n(32));t.JoseUtil=(0,i.default)({jws:r.jws,KeyUtil:r.KeyUtil,X509:r.X509,crypto:r.crypto,hextob64u:r.hextob64u,b64tohex:r.b64tohex,AllowedSigningAlgs:r.AllowedSigningAlgs})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OidcClientSettings=void 0;var r="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},i=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),a=n(6),s=n(23),l=n(2),u="id_token",c="openid";t.OidcClientSettings=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.authority,i=t.metadataUrl,o=t.metadata,h=t.signingKeys,d=t.client_id,f=t.client_secret,p=t.response_type,g=void 0===p?u:p,_=t.scope,A=void 0===_?c:_,v=t.redirect_uri,m=t.post_logout_redirect_uri,y=t.prompt,b=t.display,C=t.max_age,w=t.ui_locales,k=t.acr_values,E=t.resource,S=t.response_mode,O=t.filterProtocolClaims,x=void 0===O||O,P=t.loadUserInfo,T=void 0===P||P,B=t.staleStateAge,D=void 0===B?900:B,M=t.clockSkew,I=void 0===M?300:M,R=t.userInfoJwtIssuer,F=void 0===R?"OP":R,L=t.stateStore,U=void 0===L?new a.WebStorageStateStore:L,N=t.ResponseValidatorCtor,j=void 0===N?s.ResponseValidator:N,H=t.MetadataServiceCtor,Q=void 0===H?l.MetadataService:H,V=t.extraQueryParams,K=void 0===V?{}:V,W=t.extraTokenParams,z=void 0===W?{}:W;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._authority=n,this._metadataUrl=i,this._metadata=o,this._signingKeys=h,this._client_id=d,this._client_secret=f,this._response_type=g,this._scope=A,this._redirect_uri=v,this._post_logout_redirect_uri=m,this._prompt=y,this._display=b,this._max_age=C,this._ui_locales=w,this._acr_values=k,this._resource=E,this._response_mode=S,this._filterProtocolClaims=!!x,this._loadUserInfo=!!T,this._staleStateAge=D,this._clockSkew=I,this._userInfoJwtIssuer=F,this._stateStore=U,this._validator=new j(this),this._metadataService=new Q(this),this._extraQueryParams="object"===(void 0===K?"undefined":r(K))?K:{},this._extraTokenParams="object"===(void 0===z?"undefined":r(z))?z:{}}return i(e,[{key:"client_id",get:function(){return this._client_id},set:function(e){if(this._client_id)throw o.Log.error("OidcClientSettings.set_client_id: client_id has already been assigned."),new Error("client_id has already been assigned.");this._client_id=e}},{key:"client_secret",get:function(){return this._client_secret}},{key:"response_type",get:function(){return this._response_type}},{key:"scope",get:function(){return this._scope}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"post_logout_redirect_uri",get:function(){return this._post_logout_redirect_uri}},{key:"prompt",get:function(){return this._prompt}},{key:"display",get:function(){return this._display}},{key:"max_age",get:function(){return this._max_age}},{key:"ui_locales",get:function(){return this._ui_locales}},{key:"acr_values",get:function(){return this._acr_values}},{key:"resource",get:function(){return this._resource}},{key:"response_mode",get:function(){return this._response_mode}},{key:"authority",get:function(){return this._authority},set:function(e){if(this._authority)throw o.Log.error("OidcClientSettings.set_authority: authority has already been assigned."),new Error("authority has already been assigned.");this._authority=e}},{key:"metadataUrl",get:function(){return this._metadataUrl||(this._metadataUrl=this.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration")),this._metadataUrl}},{key:"metadata",get:function(){return this._metadata},set:function(e){this._metadata=e}},{key:"signingKeys",get:function(){return this._signingKeys},set:function(e){this._signingKeys=e}},{key:"filterProtocolClaims",get:function(){return this._filterProtocolClaims}},{key:"loadUserInfo",get:function(){return this._loadUserInfo}},{key:"staleStateAge",get:function(){return this._staleStateAge}},{key:"clockSkew",get:function(){return this._clockSkew}},{key:"userInfoJwtIssuer",get:function(){return this._userInfoJwtIssuer}},{key:"stateStore",get:function(){return this._stateStore}},{key:"validator",get:function(){return this._validator}},{key:"metadataService",get:function(){return this._metadataService}},{key:"extraQueryParams",get:function(){return this._extraQueryParams},set:function(e){this._extraQueryParams="object"===(void 0===e?"undefined":r(e))?e:{}}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(e){this._extraTokenParams="object"===(void 0===e?"undefined":r(e))?e:{}}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebStorageStateStore=void 0;var r=n(0),i=n(1);t.WebStorageStateStore=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.prefix,r=void 0===n?"oidc.":n,o=t.store,a=void 0===o?i.Global.localStorage:o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._store=a,this._prefix=r}return e.prototype.set=function(e,t){return r.Log.debug("WebStorageStateStore.set",e),this._store.setItem(e=this._prefix+e,t),Promise.resolve()},e.prototype.get=function(e){r.Log.debug("WebStorageStateStore.get",e);var t=this._store.getItem(e=this._prefix+e);return Promise.resolve(t)},e.prototype.remove=function(e){r.Log.debug("WebStorageStateStore.remove",e);var t=this._store.getItem(e=this._prefix+e);return this._store.removeItem(e),Promise.resolve(t)},e.prototype.getAllKeys=function(){r.Log.debug("WebStorageStateStore.getAllKeys");for(var e=[],t=0;t<this._store.length;t++){var n=this._store.key(t);0===n.indexOf(this._prefix)&&e.push(n.substr(this._prefix.length))}return Promise.resolve(e)},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonService=void 0;var r=n(0),i=n(1);t.JsonService=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Global.XMLHttpRequest,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._contentTypes=t&&Array.isArray(t)?t.slice():[],this._contentTypes.push("application/json"),r&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=n,this._jwtHandler=r}return e.prototype.getJson=function(e,t){var n=this;if(!e)throw r.Log.error("JsonService.getJson: No url passed"),new Error("url");return r.Log.debug("JsonService.getJson, url: ",e),new Promise((function(i,o){var a=new n._XMLHttpRequest;a.open("GET",e);var s=n._contentTypes,l=n._jwtHandler;a.onload=function(){if(r.Log.debug("JsonService.getJson: HTTP response received, status",a.status),200===a.status){var t=a.getResponseHeader("Content-Type");if(t){var n=s.find((function(e){if(t.startsWith(e))return!0}));if("application/jwt"==n)return void l(a).then(i,o);if(n)try{return void i(JSON.parse(a.responseText))}catch(i){return r.Log.error("JsonService.getJson: Error parsing JSON response",i.message),void o(i)}}o(Error("Invalid response Content-Type: "+t+", from URL: "+e))}else o(Error(a.statusText+" ("+a.status+")"))},a.onerror=function(){r.Log.error("JsonService.getJson: network error"),o(Error("Network Error"))},t&&(r.Log.debug("JsonService.getJson: token passed, setting Authorization header"),a.setRequestHeader("Authorization","Bearer "+t)),a.send()}))},e.prototype.postForm=function(e,t){var n=this;if(!e)throw r.Log.error("JsonService.postForm: No url passed"),new Error("url");return r.Log.debug("JsonService.postForm, url: ",e),new Promise((function(i,o){var a=new n._XMLHttpRequest;a.open("POST",e);var s=n._contentTypes;a.onload=function(){if(r.Log.debug("JsonService.postForm: HTTP response received, status",a.status),200!==a.status){if(400===a.status&&(n=a.getResponseHeader("Content-Type"))&&s.find((function(e){if(n.startsWith(e))return!0})))try{var t=JSON.parse(a.responseText);if(t&&t.error)return r.Log.error("JsonService.postForm: Error from server: ",t.error),void o(new Error(t.error))}catch(i){return r.Log.error("JsonService.postForm: Error parsing JSON response",i.message),void o(i)}o(Error(a.statusText+" ("+a.status+")"))}else{var n;if((n=a.getResponseHeader("Content-Type"))&&s.find((function(e){if(n.startsWith(e))return!0})))try{return void i(JSON.parse(a.responseText))}catch(i){return r.Log.error("JsonService.postForm: Error parsing JSON response",i.message),void o(i)}o(Error("Invalid response Content-Type: "+n+", from URL: "+e))}},a.onerror=function(){r.Log.error("JsonService.postForm: network error"),o(Error("Network Error"))};var l="";for(var u in t){var c=t[u];c&&(l.length>0&&(l+="&"),l+=encodeURIComponent(u),l+="=",l+=encodeURIComponent(c))}a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.send(l)}))},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.State=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(n(14));t.State=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.id,r=t.data,i=t.created,a=t.request_type;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._id=n||(0,o.default)(),this._data=r,this._created="number"==typeof i&&i>0?i:parseInt(Date.now()/1e3),this._request_type=a}return e.prototype.toStorageString=function(){return i.Log.debug("State.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})},e.fromStorageString=function(t){return i.Log.debug("State.fromStorageString"),new e(JSON.parse(t))},e.clearStaleState=function(t,n){var r=Date.now()/1e3-n;return t.getAllKeys().then((function(n){i.Log.debug("State.clearStaleState: got keys",n);for(var o=[],a=function(a){var s=n[a];l=t.get(s).then((function(n){var o=!1;if(n)try{var a=e.fromStorageString(n);i.Log.debug("State.clearStaleState: got item from key: ",s,a.created),a.created<=r&&(o=!0)}catch(e){i.Log.error("State.clearStaleState: Error parsing state for key",s,e.message),o=!0}else i.Log.debug("State.clearStaleState: no item in storage for key: ",s),o=!0;if(o)return i.Log.debug("State.clearStaleState: removed item for key: ",s),t.remove(s)})),o.push(l)},s=0;s<n.length;s++){var l;a(s)}return i.Log.debug("State.clearStaleState: waiting on promise count:",o.length),Promise.all(o)}))},r(e,[{key:"id",get:function(){return this._id}},{key:"data",get:function(){return this._data}},{key:"created",get:function(){return this._created}},{key:"request_type",get:function(){return this._request_type}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OidcClient=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=n(5),a=n(11),s=n(12),l=n(36),u=n(37),c=n(38),h=n(13),d=n(8);t.OidcClient=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._settings=t instanceof o.OidcClientSettings?t:new o.OidcClientSettings(t)}return e.prototype.createSigninRequest=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.response_type,r=t.scope,o=t.redirect_uri,a=t.data,l=t.state,u=t.prompt,c=t.display,h=t.max_age,d=t.ui_locales,f=t.id_token_hint,p=t.login_hint,g=t.acr_values,_=t.resource,A=t.request,v=t.request_uri,m=t.response_mode,y=t.extraQueryParams,b=t.extraTokenParams,C=t.request_type,w=t.skipUserInfo,k=arguments[1];i.Log.debug("OidcClient.createSigninRequest");var E=this._settings.client_id;r=r||this._settings.scope,o=o||this._settings.redirect_uri,u=u||this._settings.prompt,c=c||this._settings.display,h=h||this._settings.max_age,d=d||this._settings.ui_locales,g=g||this._settings.acr_values,_=_||this._settings.resource,m=m||this._settings.response_mode,y=y||this._settings.extraQueryParams,b=b||this._settings.extraTokenParams;var S=this._settings.authority;return s.SigninRequest.isCode(n=n||this._settings.response_type)&&"code"!==n?Promise.reject(new Error("OpenID Connect hybrid flow is not supported")):this._metadataService.getAuthorizationEndpoint().then((function(t){i.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",t);var O=new s.SigninRequest({url:t,client_id:E,redirect_uri:o,response_type:n,scope:r,data:a||l,authority:S,prompt:u,display:c,max_age:h,ui_locales:d,id_token_hint:f,login_hint:p,acr_values:g,resource:_,request:A,request_uri:v,extraQueryParams:y,extraTokenParams:b,request_type:C,response_mode:m,client_secret:e._settings.client_secret,skipUserInfo:w}),x=O.state;return(k=k||e._stateStore).set(x.id,x.toStorageString()).then((function(){return O}))}))},e.prototype.readSigninResponseState=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i.Log.debug("OidcClient.readSigninResponseState");var r="query"===this._settings.response_mode||!this._settings.response_mode&&s.SigninRequest.isCode(this._settings.response_type)?"?":"#",o=new l.SigninResponse(e,r);return o.state?(t=t||this._stateStore,(n?t.remove.bind(t):t.get.bind(t))(o.state).then((function(e){if(!e)throw i.Log.error("OidcClient.readSigninResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:h.SigninState.fromStorageString(e),response:o}}))):(i.Log.error("OidcClient.readSigninResponseState: No state in response"),Promise.reject(new Error("No state in response")))},e.prototype.processSigninResponse=function(e,t){var n=this;return i.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(e,t,!0).then((function(e){var t=e.state,r=e.response;return i.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),n._validator.validateSigninResponse(t,r)}))},e.prototype.createSignoutRequest=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.id_token_hint,r=t.data,o=t.state,a=t.post_logout_redirect_uri,s=t.extraQueryParams,l=t.request_type,c=arguments[1];return i.Log.debug("OidcClient.createSignoutRequest"),a=a||this._settings.post_logout_redirect_uri,s=s||this._settings.extraQueryParams,this._metadataService.getEndSessionEndpoint().then((function(t){if(!t)throw i.Log.error("OidcClient.createSignoutRequest: No end session endpoint url returned"),new Error("no end session endpoint");i.Log.debug("OidcClient.createSignoutRequest: Received end session endpoint",t);
1var h=new u.SignoutRequest({url:t,id_token_hint:n,post_logout_redirect_uri:a,data:r||o,extraQueryParams:s,request_type:l}),d=h.state;return d&&(i.Log.debug("OidcClient.createSignoutRequest: Signout request has state to persist"),(c=c||e._stateStore).set(d.id,d.toStorageString())),h}))},e.prototype.readSignoutResponseState=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i.Log.debug("OidcClient.readSignoutResponseState");var r=new c.SignoutResponse(e);if(!r.state)return i.Log.debug("OidcClient.readSignoutResponseState: No state in response"),r.error?(i.Log.warn("OidcClient.readSignoutResponseState: Response was error: ",r.error),Promise.reject(new a.ErrorResponse(r))):Promise.resolve({undefined:void 0,response:r});var o=r.state;return t=t||this._stateStore,(n?t.remove.bind(t):t.get.bind(t))(o).then((function(e){if(!e)throw i.Log.error("OidcClient.readSignoutResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:d.State.fromStorageString(e),response:r}}))},e.prototype.processSignoutResponse=function(e,t){var n=this;return i.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(e,t,!0).then((function(e){var t=e.state,r=e.response;return t?(i.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),n._validator.validateSignoutResponse(t,r)):(i.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),r)}))},e.prototype.clearStaleState=function(e){return i.Log.debug("OidcClient.clearStaleState"),d.State.clearStaleState(e=e||this._stateStore,this.settings.staleStateAge)},r(e,[{key:"_stateStore",get:function(){return this.settings.stateStore}},{key:"_validator",get:function(){return this.settings.validator}},{key:"_metadataService",get:function(){return this.settings.metadataService}},{key:"settings",get:function(){return this._settings}},{key:"metadataService",get:function(){return this._metadataService}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenClient=void 0;var r=n(7),i=n(2),o=n(0);t.TokenClient=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.JsonService,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw o.Log.error("TokenClient.ctor: No settings passed"),new Error("settings");this._settings=t,this._jsonService=new n,this._metadataService=new a(this._settings)}return e.prototype.exchangeCode=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(t=Object.assign({},t)).grant_type=t.grant_type||"authorization_code",t.client_id=t.client_id||this._settings.client_id,t.redirect_uri=t.redirect_uri||this._settings.redirect_uri,t.code?t.redirect_uri?t.code_verifier?t.client_id?this._metadataService.getTokenEndpoint(!1).then((function(n){return o.Log.debug("TokenClient.exchangeCode: Received token endpoint"),e._jsonService.postForm(n,t).then((function(e){return o.Log.debug("TokenClient.exchangeCode: response received"),e}))})):(o.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(o.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(o.Log.error("TokenClient.exchangeCode: No code passed"),Promise.reject(new Error("A code is required")))},e.prototype.exchangeRefreshToken=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(t=Object.assign({},t)).grant_type=t.grant_type||"refresh_token",t.client_id=t.client_id||this._settings.client_id,t.client_secret=t.client_secret||this._settings.client_secret,t.refresh_token?t.client_id?this._metadataService.getTokenEndpoint(!1).then((function(n){return o.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),e._jsonService.postForm(n,t).then((function(e){return o.Log.debug("TokenClient.exchangeRefreshToken: response received"),e}))})):(o.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.Log.error("TokenClient.exchangeRefreshToken: No refresh_token passed"),Promise.reject(new Error("A refresh_token is required")))},e}()},function(e,t,n){"use strict";
vendor: 6,505 bytes, line 1
1Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorResponse=void 0;var r=n(0);t.ErrorResponse=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.error,o=n.error_description,a=n.error_uri,s=n.state,l=n.session_state;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),!i)throw r.Log.error("No error passed to ErrorResponse"),new Error("error");var u=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,o||i));return u.name="ErrorResponse",u.error=i,u.error_description=o,u.error_uri=a,u.state=s,u.session_state=l,u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(Error)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SigninRequest=void 0;var r=n(0),i=n(3),o=n(13);t.SigninRequest=function(){function e(t){var n=t.url,a=t.client_id,s=t.redirect_uri,l=t.response_type,u=t.scope,c=t.authority,h=t.data,d=t.prompt,f=t.display,p=t.max_age,g=t.ui_locales,_=t.id_token_hint,A=t.login_hint,v=t.acr_values,m=t.resource,y=t.response_mode,b=t.request,C=t.request_uri,w=t.extraQueryParams,k=t.request_type,E=t.client_secret,S=t.extraTokenParams,O=t.skipUserInfo;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!n)throw r.Log.error("SigninRequest.ctor: No url passed"),new Error("url");if(!a)throw r.Log.error("SigninRequest.ctor: No client_id passed"),new Error("client_id");if(!s)throw r.Log.error("SigninRequest.ctor: No redirect_uri passed"),new Error("redirect_uri");if(!l)throw r.Log.error("SigninRequest.ctor: No response_type passed"),new Error("response_type");if(!u)throw r.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!c)throw r.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var x=e.isOidc(l),P=e.isCode(l);y||(y=e.isCode(l)?"query":null),this.state=new o.SigninState({nonce:x,data:h,client_id:a,authority:c,redirect_uri:s,code_verifier:P,request_type:k,response_mode:y,client_secret:E,scope:u,extraTokenParams:S,skipUserInfo:O}),n=i.UrlUtility.addQueryParam(n,"client_id",a),n=i.UrlUtility.addQueryParam(n,"redirect_uri",s),n=i.UrlUtility.addQueryParam(n,"response_type",l),n=i.UrlUtility.addQueryParam(n,"scope",u),n=i.UrlUtility.addQueryParam(n,"state",this.state.id),x&&(n=i.UrlUtility.addQueryParam(n,"nonce",this.state.nonce)),P&&(n=i.UrlUtility.addQueryParam(n,"code_challenge",this.state.code_challenge),n=i.UrlUtility.addQueryParam(n,"code_challenge_method","S256"));var T={prompt:d,display:f,max_age:p,ui_locales:g,id_token_hint:_,login_hint:A,acr_values:v,resource:m,request:b,request_uri:C,response_mode:y};for(var B in T)T[B]&&(n=i.UrlUtility.addQueryParam(n,B,T[B]));for(var D in w)n=i.UrlUtility.addQueryParam(n,D,w[D]);this.url=n}return e.isOidc=function(e){return!!e.split(/\s+/g).filter((function(e){return"id_token"===e}))[0]},e.isOAuth=function(e){return!!e.split(/\s+/g).filter((function(e){return"token"===e}))[0]},e.isCode=function(e){return!!e.split(/\s+/g).filter((function(e){return"code"===e}))[0]},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SigninState=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=n(8),a=n(4),s=function(e){return e&&e.__esModule?e:{default:e}}(n(14));t.SigninState=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.nonce,i=n.authority,o=n.client_id,l=n.redirect_uri,u=n.code_verifier,c=n.response_mode,h=n.client_secret,d=n.scope,f=n.extraTokenParams,p=n.skipUserInfo;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var g=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,arguments[0]));if(!0===r?g._nonce=(0,s.default)():r&&(g._nonce=r),!0===u?g._code_verifier=(0,s.default)()+(0,s.default)()+(0,s.default)():u&&(g._code_verifier=u),g.code_verifier){var _=a.JoseUtil.hashString(g.code_verifier,"SHA256");g._code_challenge=a.JoseUtil.hexToBase64Url(_)}return g._redirect_uri=l,g._authority=i,g._client_id=o,g._response_mode=c,g._client_secret=h,g._scope=d,g._extraTokenParams=f,g._skipUserInfo=p,g}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.toStorageString=function(){return i.Log.debug("SigninState.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,nonce:this.nonce,code_verifier:this.code_verifier,redirect_uri:this.redirect_uri,authority:this.authority,client_id:this.client_id,response_mode:this.response_mode,client_secret:this.client_secret,scope:this.scope,extraTokenParams:this.extraTokenParams,skipUserInfo:this.skipUserInfo})},t.fromStorageString=function(e){return i.Log.debug("SigninState.fromStorageString"),new t(JSON.parse(e))},r(t,[{key:"nonce",get:function(){return this._nonce}},{key:"authority",get:function(){return this._authority}},{key:"client_id",get:function(){return this._client_id}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"code_verifier",get:function(){return this._code_verifier}},{key:"code_challenge",get:function(){return this._code_challenge}},{key:"response_mode",get:function(){return this._response_mode}},{key:"client_secret",get:function(){return this._client_secret}},{key:"scope",get:function(){return this._scope}},{key:"extraTokenParams",get:function(){return this._extraTokenParams}},{key:"skipUserInfo",get:function(){return this._skipUserInfo}}]),t}(o.State)},function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.default)().replace(/-/g,"")};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(33));e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.User=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0);t.User=function(){function e(t){var n=t.id_token,r=t.session_state,i=t.access_token,o=t.refresh_token,a=t.token_type,s=t.scope,l=t.profile,u=t.expires_at,c=t.state;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id_token=n,this.session_state=r,this.access_token=i,this.refresh_token=o,this.token_type=a,this.scope=s,this.profile=l,this.expires_at=u,this.state=c}return e.prototype.toStorageString=function(){return i.Log.debug("User.toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})},e.fromStorageString=function(t){return i.Log.debug("User.fromStorageString"),new e(JSON.parse(t))},r(e,[{key:"expires_in",get:function(){if(this.expires_at){var e=parseInt(Date.now()/1e3);return this.expires_at-e}},set:function(e){var t=parseInt(e);if("number"==typeof t&&t>0){var n=parseInt(Date.now()/1e3);this.expires_at=n+t}}},{key:"expired",get:function(){var e=this.expires_in;if(void 0!==e)return e<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccessTokenEvents=void 0;var r=n(0),i=n(48);t.AccessTokenEvents=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.accessTokenExpiringNotificationTime,r=void 0===n?60:n,o=t.accessTokenExpiringTimer,a=void 0===o?new i.Timer("Access token expiring"):o,s=t.accessTokenExpiredTimer,l=void 0===s?new i.Timer("Access token expired"):s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._accessTokenExpiringNotificationTime=r,this._accessTokenExpiring=a,this._accessTokenExpired=l}return e.prototype.load=function(e){if(e.access_token&&void 0!==e.expires_in){var t=e.expires_in;if(r.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",t),t>0){var n=t-this._accessTokenExpiringNotificationTime;n<=0&&(n=1),r.Log.debug("AccessTokenEvents.load: registering expiring timer in:",n),this._accessTokenExpiring.init(n)}else r.Log.debug("AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration."),this._accessTokenExpiring.cancel();var i=t+1;r.Log.debug("AccessTokenEvents.load: registering expired timer in:",i),this._accessTokenExpired.init(i)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},e.prototype.unload=function(){r.Log.debug("AccessTokenEvents.unload: canceling existing access token timers"),this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},e.prototype.addAccessTokenExpiring=function(e){this._accessTokenExpiring.addHandler(e)},e.prototype.removeAccessTokenExpiring=function(e){this._accessTokenExpiring.removeHandler(e)},e.prototype.addAccessTokenExpired=function(e){this._accessTokenExpired.addHandler(e)},e.prototype.removeAccessTokenExpired=function(e){this._accessTokenExpired.removeHandler(e)},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Event=void 0;var r=n(0);t.Event=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._name=t,this._callbacks=[]}return e.prototype.addHandler=function(e){this._callbacks.push(e)},e.prototype.removeHandler=function(e){var t=this._callbacks.findIndex((function(t){return t===e}));t>=0&&this._callbacks.splice(t,1)},e.prototype.raise=function(){r.Log.debug("Event: Raising event: "+this._name);for(var e=0;e<this._callbacks.length;e++){var t;(t=this._callbacks)[e].apply(t,arguments)}},e}()},function(e,t,n){"use strict";
vendor: 11,005 bytes, line 1
1Object.defineProperty(t,"__esModule",{value:!0}),t.SessionMonitor=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=n(19),a=n(1);t.SessionMonitor=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.CheckSessionIFrame,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.Global.timer;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw i.Log.error("SessionMonitor.ctor: No user manager passed to SessionMonitor"),new Error("userManager");this._userManager=t,this._CheckSessionIFrameCtor=r,this._timer=s,this._userManager.events.addUserLoaded(this._start.bind(this)),this._userManager.events.addUserUnloaded(this._stop.bind(this)),this._userManager.getUser().then((function(e){e?n._start(e):n._settings.monitorAnonymousSession&&n._userManager.querySessionStatus().then((function(e){var t={session_state:e.session_state};e.sub&&e.sid&&(t.profile={sub:e.sub,sid:e.sid}),n._start(t)})).catch((function(e){i.Log.error("SessionMonitor ctor: error from querySessionStatus:",e.message)}))})).catch((function(e){i.Log.error("SessionMonitor ctor: error from getUser:",e.message)}))}return e.prototype._start=function(e){var t=this,n=e.session_state;n&&(e.profile?(this._sub=e.profile.sub,this._sid=e.profile.sid,i.Log.debug("SessionMonitor._start: session_state:",n,", sub:",this._sub)):(this._sub=void 0,this._sid=void 0,i.Log.debug("SessionMonitor._start: session_state:",n,", anonymous user")),this._checkSessionIFrame?this._checkSessionIFrame.start(n):this._metadataService.getCheckSessionIframe().then((function(e){if(e){i.Log.debug("SessionMonitor._start: Initializing check session iframe");var r=t._client_id,o=t._checkSessionInterval,a=t._stopCheckSessionOnError;t._checkSessionIFrame=new t._CheckSessionIFrameCtor(t._callback.bind(t),r,e,o,a),t._checkSessionIFrame.load().then((function(){t._checkSessionIFrame.start(n)}))}else i.Log.warn("SessionMonitor._start: No check session iframe found in the metadata")})).catch((function(e){i.Log.error("SessionMonitor._start: Error from getCheckSessionIframe:",e.message)})))},e.prototype._stop=function(){var e=this;if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&(i.Log.debug("SessionMonitor._stop"),this._checkSessionIFrame.stop()),this._settings.monitorAnonymousSession)var t=this._timer.setInterval((function(){e._timer.clearInterval(t),e._userManager.querySessionStatus().then((function(t){var n={session_state:t.session_state};t.sub&&t.sid&&(n.profile={sub:t.sub,sid:t.sid}),e._start(n)})).catch((function(e){i.Log.error("SessionMonitor: error from querySessionStatus:",e.message)}))}),1e3)},e.prototype._callback=function(){var e=this;this._userManager.querySessionStatus().then((function(t){var n=!0;t?t.sub===e._sub?(n=!1,e._checkSessionIFrame.start(t.session_state),t.sid===e._sid?i.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:",t.session_state):(i.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, session state has changed, restarting check session iframe; session_state:",t.session_state),e._userManager.events._raiseUserSessionChanged())):i.Log.debug("SessionMonitor._callback: Different subject signed into OP:",t.sub):i.Log.debug("SessionMonitor._callback: Subject no longer signed into OP"),n&&(e._sub?(i.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed out event"),e._userManager.events._raiseUserSignedOut()):(i.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed in event"),e._userManager.events._raiseUserSignedIn()))})).catch((function(t){e._sub&&(i.Log.debug("SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event",t.message),e._userManager.events._raiseUserSignedOut())}))},r(e,[{key:"_settings",get:function(){return this._userManager.settings}},{key:"_metadataService",get:function(){return this._userManager.metadataService}},{key:"_client_id",get:function(){return this._settings.client_id}},{key:"_checkSessionInterval",get:function(){return this._settings.checkSessionInterval}},{key:"_stopCheckSessionOnError",get:function(){return this._settings.stopCheckSessionOnError}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckSessionIFrame=void 0;var r=n(0);t.CheckSessionIFrame=function(){function e(t,n,r,i){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._callback=t,this._client_id=n,this._url=r,this._interval=i||2e3,this._stopOnError=o;var a=r.indexOf("/",r.indexOf("//")+2);this._frame_origin=r.substr(0,a),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.style.width=0,this._frame.style.height=0,this._frame.src=r}return e.prototype.load=function(){var e=this;return new Promise((function(t){e._frame.onload=function(){t()},window.document.body.appendChild(e._frame),e._boundMessageEvent=e._message.bind(e),window.addEventListener("message",e._boundMessageEvent,!1)}))},e.prototype._message=function(e){e.origin===this._frame_origin&&e.source===this._frame.contentWindow&&("error"===e.data?(r.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===e.data?(r.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):r.Log.debug("CheckSessionIFrame: "+e.data+" message from check session op iframe"))},e.prototype.start=function(e){var t=this;if(this._session_state!==e){r.Log.debug("CheckSessionIFrame.start"),this.stop(),this._session_state=e;var n=function(){t._frame.contentWindow.postMessage(t._client_id+" "+t._session_state,t._frame_origin)};n(),this._timer=window.setInterval(n,this._interval)}},e.prototype.stop=function(){this._session_state=null,this._timer&&(r.Log.debug("CheckSessionIFrame.stop"),window.clearInterval(this._timer),this._timer=null)},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenRevocationClient=void 0;var r=n(0),i=n(2),o=n(1);t.TokenRevocationClient=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Global.XMLHttpRequest,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw r.Log.error("TokenRevocationClient.ctor: No settings provided"),new Error("No settings provided.");this._settings=t,this._XMLHttpRequestCtor=n,this._metadataService=new a(this._settings)}return e.prototype.revoke=function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"access_token";if(!e)throw r.Log.error("TokenRevocationClient.revoke: No token provided"),new Error("No token provided.");if("access_token"!==i&&"refresh_token"!=i)throw r.Log.error("TokenRevocationClient.revoke: Invalid token type"),new Error("Invalid token type.");return this._metadataService.getRevocationEndpoint().then((function(o){if(o)return r.Log.debug("TokenRevocationClient.revoke: Revoking "+i),n._revoke(o,n._settings.client_id,n._settings.client_secret,e,i);if(t)throw r.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")}))},e.prototype._revoke=function(e,t,n,i,o){var a=this;return new Promise((function(s,l){var u=new a._XMLHttpRequestCtor;u.open("POST",e),u.onload=function(){r.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",u.status),200===u.status?s():l(Error(u.statusText+" ("+u.status+")"))},u.onerror=function(){r.Log.debug("TokenRevocationClient.revoke: Network Error."),l("Network Error")};var c="client_id="+encodeURIComponent(t);n&&(c+="&client_secret="+encodeURIComponent(n)),c+="&token_type_hint="+encodeURIComponent(o),c+="&token="+encodeURIComponent(i),u.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),u.send(c)}))},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CordovaPopupWindow=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0);t.CordovaPopupWindow=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._promise=new Promise((function(e,t){n._resolve=e,n._reject=t})),this.features=t.popupWindowFeatures||"location=no,toolbar=no,zoom=no",this.target=t.popupWindowTarget||"_blank",this.redirect_uri=t.startUrl,i.Log.debug("CordovaPopupWindow.ctor: redirect_uri: "+this.redirect_uri)}return e.prototype._isInAppBrowserInstalled=function(e){return["cordova-plugin-inappbrowser","cordova-plugin-inappbrowser.inappbrowser","org.apache.cordova.inappbrowser"].some((function(t){return e.hasOwnProperty(t)}))},e.prototype.navigate=function(e){if(e&&e.url){if(!window.cordova)return this._error("cordova is undefined");var t=window.cordova.require("cordova/plugin_list").metadata;if(!1===this._isInAppBrowserInstalled(t))return this._error("InAppBrowser plugin not found");this._popup=cordova.InAppBrowser.open(e.url,this.target,this.features),this._popup?(i.Log.debug("CordovaPopupWindow.navigate: popup successfully created"),this._exitCallbackEvent=this._exitCallback.bind(this),this._loadStartCallbackEvent=this._loadStartCallback.bind(this),this._popup.addEventListener("exit",this._exitCallbackEvent,!1),this._popup.addEventListener("loadstart",this._loadStartCallbackEvent,!1)):this._error("Error opening popup window")}else this._error("No url provided");return this.promise},e.prototype._loadStartCallback=function(e){0===e.url.indexOf(this.redirect_uri)&&this._success({url:e.url})},e.prototype._exitCallback=function(e){this._error(e)},e.prototype._success=function(e){this._cleanup(),i.Log.debug("CordovaPopupWindow: Successful response from cordova popup window"),this._resolve(e)},e.prototype._error=function(e){this._cleanup(),i.Log.error(e),this._reject(new Error(e))},e.prototype.close=function(){this._cleanup()},e.prototype._cleanup=function(){this._popup&&(i.Log.debug("CordovaPopupWindow: cleaning up popup"),this._popup.removeEventListener("exit",this._exitCallbackEvent,!1),this._popup.removeEventListener("loadstart",this._loadStartCallbackEvent,!1),this._popup.close()),this._popup=null},r(e,[{key:"promise",get:function(){return this._promise}}]),e}()},function(e,t,n){"use strict";
vendor: 6,994 bytes, line 1
1Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(9),o=n(5),a=n(6),s=n(39),l=n(40),u=n(16),c=n(2),h=n(50),d=n(51),f=n(19),p=n(20),g=n(18),_=n(1),A=n(15),v=n(52);t.default={Version:v.Version,Log:r.Log,OidcClient:i.OidcClient,OidcClientSettings:o.OidcClientSettings,WebStorageStateStore:a.WebStorageStateStore,InMemoryWebStorage:s.InMemoryWebStorage,UserManager:l.UserManager,AccessTokenEvents:u.AccessTokenEvents,MetadataService:c.MetadataService,CordovaPopupNavigator:h.CordovaPopupNavigator,CordovaIFrameNavigator:d.CordovaIFrameNavigator,CheckSessionIFrame:f.CheckSessionIFrame,TokenRevocationClient:p.TokenRevocationClient,SessionMonitor:g.SessionMonitor,Global:_.Global,User:A.User},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseValidator=void 0;var r="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},i=n(0),o=n(2),a=n(24),s=n(10),l=n(11),u=n(4),c=["nonce","at_hash","iat","nbf","exp","aud","iss","c_hash"];t.ResponseValidator=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.MetadataService,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.UserInfoService,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u.JoseUtil,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:s.TokenClient;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw i.Log.error("ResponseValidator.ctor: No settings passed to ResponseValidator"),new Error("settings");this._settings=t,this._metadataService=new n(this._settings),this._userInfoService=new r(this._settings),this._joseUtil=l,this._tokenClient=new c(this._settings)}return e.prototype.validateSigninResponse=function(e,t){var n=this;return i.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(e,t).then((function(t){return i.Log.debug("ResponseValidator.validateSigninResponse: state processed"),n._validateTokens(e,t).then((function(t){return i.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),n._processClaims(e,t).then((function(e){return i.Log.debug("ResponseValidator.validateSigninResponse: claims processed"),e}))}))}))},e.prototype.validateSignoutResponse=function(e,t){return e.id!==t.state?(i.Log.error("ResponseValidator.validateSignoutResponse: State does not match"),Promise.reject(new Error("State does not match"))):(i.Log.debug("ResponseValidator.validateSignoutResponse: state validated"),t.state=e.data,t.error?(i.Log.warn("ResponseValidator.validateSignoutResponse: Response was error",t.error),Promise.reject(new l.ErrorResponse(t))):Promise.resolve(t))},e.prototype._processSigninParams=function(e,t){if(e.id!==t.state)return i.Log.error("ResponseValidator._processSigninParams: State does not match"),Promise.reject(new Error("State does not match"));if(!e.client_id)return i.Log.error("ResponseValidator._processSigninParams: No client_id on state"),Promise.reject(new Error("No client_id on state"));if(!e.authority)return i.Log.error("ResponseValidator._processSigninParams: No authority on state"),Promise.reject(new Error("No authority on state"));if(this._settings.authority){if(this._settings.authority&&this._settings.authority!==e.authority)return i.Log.error("ResponseValidator._processSigninParams: authority mismatch on settings vs. signin state"),Promise.reject(new Error("authority mismatch on settings vs. signin state"))}else this._settings.authority=e.authority;if(this._settings.client_id){if(this._settings.client_id&&this._settings.client_id!==e.client_id)return i.Log.error("ResponseValidator._processSigninParams: client_id mismatch on settings vs. signin state"),Promise.reject(new Error("client_id mismatch on settings vs. signin state"))}else this._settings.client_id=e.client_id;return i.Log.debug("ResponseValidator._processSigninParams: state validated"),t.state=e.data,t.error?(i.Log.warn("ResponseValidator._processSigninParams: Response was error",t.error),Promise.reject(new l.ErrorResponse(t))):e.nonce&&!t.id_token?(i.Log.error("ResponseValidator._processSigninParams: Expecting id_token in response"),Promise.reject(new Error("No id_token in response"))):!e.nonce&&t.id_token?(i.Log.error("ResponseValidator._processSigninParams: Not expecting id_token in response"),Promise.reject(new Error("Unexpected id_token in response"))):e.code_verifier&&!t.code?(i.Log.error("ResponseValidator._processSigninParams: Expecting code in response"),Promise.reject(new Error("No code in response"))):!e.code_verifier&&t.code?(i.Log.error("ResponseValidator._processSigninParams: Not expecting code in response"),Promise.reject(new Error("Unexpected code in response"))):(t.scope||(t.scope=e.scope),Promise.resolve(t))},e.prototype._processClaims=function(e,t){var n=this;if(t.isOpenIdConnect){if(i.Log.debug("ResponseValidator._processClaims: response is OIDC, processing claims"),t.profile=this._filterProtocolClaims(t.profile),!0!==e.skipUserInfo&&this._settings.loadUserInfo&&t.access_token)return i.Log.debug("ResponseValidator._processClaims: loading user info"),this._userInfoService.getClaims(t.access_token).then((function(e){return i.Log.debug("ResponseValidator._processClaims: user info claims received from user info endpoint"),e.sub!==t.profile.sub?(i.Log.error("ResponseValidator._processClaims: sub from user info endpoint does not match sub in access_token"),Promise.reject(new Error("sub from user info endpoint does not match sub in access_token"))):(t.profile=n._mergeClaims(t.profile,e),i.Log.debug("ResponseValidator._processClaims: user info claims received, updated profile:",t.profile),t)}));i.Log.debug("ResponseValidator._processClaims: not loading user info")}else i.Log.debug("ResponseValidator._processClaims: response is not OIDC, not processing claims");return Promise.resolve(t)},e.prototype._mergeClaims=function(e,t){var n=Object.assign({},e);for(var i in t){var o=t[i];Array.isArray(o)||(o=[o]);for(var a=0;a<o.length;a++){var s=o[a];n[i]?Array.isArray(n[i])?n[i].indexOf(s)<0&&n[i].push(s):n[i]!==s&&(n[i]="object"===(void 0===s?"undefined":r(s))?this._mergeClaims(n[i],s):[n[i],s]):n[i]=s}}return n},e.prototype._filterProtocolClaims=function(e){i.Log.debug("ResponseValidator._filterProtocolClaims, incoming claims:",e);var t=Object.assign({},e);return this._settings._filterProtocolClaims?(c.forEach((function(e){delete t[e]})),i.Log.debug("ResponseValidator._filterProtocolClaims: protocol claims filtered",t)):i.Log.debug("ResponseValidator._filterProtocolClaims: protocol claims not filtered"),t},e.prototype._validateTokens=function(e,t){return t.code?(i.Log.debug("ResponseValidator._validateTokens: Validating code"),this._processCode(e,t)):t.id_token?t.access_token?(i.Log.debug("ResponseValidator._validateTokens: Validating id_token and access_token"),this._val
vendor: 10,735 bytes, line 1
1idateIdTokenAndAccessToken(e,t)):(i.Log.debug("ResponseValidator._validateTokens: Validating id_token"),this._validateIdToken(e,t)):(i.Log.debug("ResponseValidator._validateTokens: No code to process or id_token to validate"),Promise.resolve(t))},e.prototype._processCode=function(e,t){var n=this,o={client_id:e.client_id,client_secret:e.client_secret,code:t.code,redirect_uri:e.redirect_uri,code_verifier:e.code_verifier};return e.extraTokenParams&&"object"===r(e.extraTokenParams)&&Object.assign(o,e.extraTokenParams),this._tokenClient.exchangeCode(o).then((function(r){for(var o in r)t[o]=r[o];return t.id_token?(i.Log.debug("ResponseValidator._processCode: token response successful, processing id_token"),n._validateIdTokenAttributes(e,t)):(i.Log.debug("ResponseValidator._processCode: token response successful, returning response"),t)}))},e.prototype._validateIdTokenAttributes=function(e,t){var n=this;return this._metadataService.getIssuer().then((function(r){var o=e.client_id,a=n._settings.clockSkew;return i.Log.debug("ResponseValidator._validateIdTokenAttributes: Validaing JWT attributes; using clock skew (in seconds) of: ",a),n._joseUtil.validateJwtAttributes(t.id_token,r,o,a).then((function(n){return e.nonce&&e.nonce!==n.nonce?(i.Log.error("ResponseValidator._validateIdTokenAttributes: Invalid nonce in id_token"),Promise.reject(new Error("Invalid nonce in id_token"))):n.sub?(t.profile=n,t):(i.Log.error("ResponseValidator._validateIdTokenAttributes: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))}))}))},e.prototype._validateIdTokenAndAccessToken=function(e,t){var n=this;return this._validateIdToken(e,t).then((function(e){return n._validateAccessToken(e)}))},e.prototype._validateIdToken=function(e,t){var n=this;if(!e.nonce)return i.Log.error("ResponseValidator._validateIdToken: No nonce on state"),Promise.reject(new Error("No nonce on state"));var r=this._joseUtil.parseJwt(t.id_token);if(!r||!r.header||!r.payload)return i.Log.error("ResponseValidator._validateIdToken: Failed to parse id_token",r),Promise.reject(new Error("Failed to parse id_token"));if(e.nonce!==r.payload.nonce)return i.Log.error("ResponseValidator._validateIdToken: Invalid nonce in id_token"),Promise.reject(new Error("Invalid nonce in id_token"));var o=r.header.kid;return this._metadataService.getIssuer().then((function(a){return i.Log.debug("ResponseValidator._validateIdToken: Received issuer"),n._metadataService.getSigningKeys().then((function(s){if(!s)return i.Log.error("ResponseValidator._validateIdToken: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));i.Log.debug("ResponseValidator._validateIdToken: Received signing keys");var l=void 0;if(o)l=s.filter((function(e){return e.kid===o}))[0];else{if((s=n._filterByAlg(s,r.header.alg)).length>1)return i.Log.error("ResponseValidator._validateIdToken: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));l=s[0]}if(!l)return i.Log.error("ResponseValidator._validateIdToken: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var u=e.client_id,c=n._settings.clockSkew;return i.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",c),n._joseUtil.validateJwt(t.id_token,l,a,u,c).then((function(){return i.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),r.payload.sub?(t.profile=r.payload,t):(i.Log.error("ResponseValidator._validateIdToken: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))}))}))}))},e.prototype._filterByAlg=function(e,t){var n=null;if(t.startsWith("RS"))n="RSA";else if(t.startsWith("PS"))n="PS";else{if(!t.startsWith("ES"))return i.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",t),[];n="EC"}return i.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",n),e=e.filter((function(e){return e.kty===n})),i.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",n,e.length),e},e.prototype._validateAccessToken=function(e){if(!e.profile)return i.Log.error("ResponseValidator._validateAccessToken: No profile loaded from id_token"),Promise.reject(new Error("No profile loaded from id_token"));if(!e.profile.at_hash)return i.Log.error("ResponseValidator._validateAccessToken: No at_hash in id_token"),Promise.reject(new Error("No at_hash in id_token"));if(!e.id_token)return i.Log.error("ResponseValidator._validateAccessToken: No id_token"),Promise.reject(new Error("No id_token"));var t=this._joseUtil.parseJwt(e.id_token);if(!t||!t.header)return i.Log.error("ResponseValidator._validateAccessToken: Failed to parse id_token",t),Promise.reject(new Error("Failed to parse id_token"));var n=t.header.alg;if(!n||5!==n.length)return i.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",n),Promise.reject(new Error("Unsupported alg: "+n));var r=n.substr(2,3);if(!r)return i.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",n,r),Promise.reject(new Error("Unsupported alg: "+n));if(256!==(r=parseInt(r))&&384!==r&&512!==r)return i.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",n,r),Promise.reject(new Error("Unsupported alg: "+n));var o="sha"+r,a=this._joseUtil.hashString(e.access_token,o);if(!a)return i.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",o),Promise.reject(new Error("Failed to validate at_hash"));var s=a.substr(0,a.length/2),l=this._joseUtil.hexToBase64Url(s);return l!==e.profile.at_hash?(i.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",l,e.profile.at_hash),Promise.reject(new Error("Failed to validate at_hash"))):(i.Log.debug("ResponseValidator._validateAccessToken: success"),Promise.resolve(e))},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserInfoService=void 0;var r=n(7),i=n(2),o=n(0),a=n(4);t.UserInfoService=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.JsonService,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.JoseUtil;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw o.Log.error("UserInfoService.ctor: No settings passed"),new Error("settings");this._settings=t,this._jsonService=new n(void 0,void 0,this._getClaimsFromJwt.bind(this)),this._metadataService=new s(this._settings),this._joseUtil=l}return e.prototype.getClaims=function(e){var t=this;return e?this._metadataService.getUserInfoEndpoint().then((function(n){return o.Log.debug("UserInfoService.getClaims: received userinfo url",n),t._jsonService.getJson(n,e).then((function(e){return o.Log.debug("UserInfoService.getClaims: claims received",e),e}))})):(o.Log.error("UserInfoService.getClaims: No token passed"),Promise.reject(new Error("A token is required")))},e.prototype._getClaimsFromJwt=function e(t){var n=this;try{var r=this._joseUtil.parseJwt(t.responseText);if(!r||!r.header||!r.payload)return o.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",r),Promise.reject(new Error("Failed to parse id_token"));var i=r.header.kid,a=void 0;switch(this._settings.userInfoJwtIssuer){case"OP":a=this._metadataService.getIssuer();break;case"ANY":a=Promise.resolve(r.payload.iss);break;default:a=Promise.resolve(this._settings.userInfoJwtIssuer)}return a.then((function(e){return o.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+e),n._metadataService.getSigningKeys().then((function(a){if(!a)return o.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));o.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var s=void 0;if(i)s=a.filter((function(e){return e.kid===i}))[0];else{if((a=n._filterByAlg(a,r.header.alg)).length>1)return o.Log.error("UserInfoService._getClaimsFromJwt: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));s=a[0]}if(!s)return o.Log.error("UserInfoService._getClaimsFromJwt: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var l=n._settings.client_id,u=n._settings.clockSkew;return o.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",u),n._joseUtil.validateJwt(t.responseText,s,e,l,u,void 0,!0).then((function(){return o.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),r.payload}))}))}))}catch(e){return o.Log.error("UserInfoService._getClaimsFromJwt: Error parsing JWT response",e.message),void reject(e)}},e.prototype._filterByAlg=function(e,t){var n=null;if(t.startsWith("RS"))n="RSA";else if(t.startsWith("PS"))n="PS";else{if(!t.startsWith("ES"))return o.Log.debug("UserInfoService._filterByAlg: alg not supported: ",t),[];n="EC"}return o.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",n),e=e.filter((function(e){return e.kty===n})),o.Log.debug("UserInfoService._filterByAlg: Number of keys that match kty: ",n,e.length),e},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AllowedSigningAlgs=t.b64tohex=t.hextob64u=t.crypto=t.X509=t.KeyUtil=t.jws=void 0;var r=n(26);t.jws=r.jws,t.KeyUtil=r.KEYUTIL,t.X509=r.X509,t.crypto=r.crypto,t.hextob64u=r.hextob64u,t.b64tohex=r.b64tohex,t.AllowedSigningAlgs=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"]},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n="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},r={userAgent:!1},i={};if(void 0===o)var o={};o.lang={extend:function(t,n,i){if(!n||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var o=function(){};if(o.prototype=n.prototype,t.prototype=new o,t.prototype.constructor=t,t.superclass=n.prototype,n.prototype.constructor==Object.prototype.constructor&&(n.prototype.constructor=n),i){var a;for(a in i)t.prototype[a]=i[a];var s=function(){},l=["toString","valueOf"];try{/MSIE/.test(r.userAgent)&&(s=function(e,t){for(a=0;a<l.length;a+=1){var n=l[a],r=t[n];"function"==typeof r&&r!=Object.prototype[n]&&(e[n]=r)}})}catch(e){}
1s(t.prototype,i)}}};var a,s,l,u,c,h,d,f,p,g,_,A=A||(a=Math,l=(s={}).lib={},u=l.Base=function(){function e(){}return{extend:function(t){e.prototype=this;var n=new e;return t&&n.mixIn(t),n.hasOwnProperty("init")||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=l.WordArray=u.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++)t[r+o>>>2]|=(n[o>>>2]>>>24-o%4*8&255)<<24-(r+o)%4*8;else for(o=0;o<i;o+=4)t[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=a.ceil(t/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(4294967296*a.random()|0);return new c.init(t,e)}}),h=s.enc={},d=h.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},f=h.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++)r.push(String.fromCharCode(t[i>>>2]>>>24-i%4*8&255));return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},p=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(f.stringify(t)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},g=l.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var t=this._data,n=t.words,r=t.sigBytes,i=this.blockSize,o=r/(4*i),s=(o=e?a.ceil(o):a.max((0|o)-this._minBufferSize,0))*i,l=a.min(4*s,r);if(s){for(var u=0;u<s;u+=i)this._doProcessBlock(n,u);var h=n.splice(0,s);t.sigBytes-=l}return new c.init(h,l)},clone:function(){var e=u.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),l.Hasher=g.extend({cfg:u.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){g.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new _.HMAC.init(e,n).finalize(t)}}}),_=s.algo={},s);!function(e){var t,n=(t=A).lib,r=n.Base,i=n.WordArray;(t=t.x64={}).Word=r.extend({init:function(e,t){this.high=e,this.low=t}}),t.WordArray=r.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var o=e[r];n.push(o.high),n.push(o.low)}return i.create(n,this.sigBytes)},clone:function(){for(var e=r.clone.call(this),t=e.words=this.words.slice(0),n=t.length,i=0;i<n;i++)t[i]=t[i].clone();return e}})}(),function(){var e=A.lib.WordArray;A.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp(),e=[];for(var i=0;i<n;i+=3)for(var o=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;4>a&&i+.75*a<n;a++)e.push(r.charAt(o>>>6*(3-a)&63));if(t=r.charAt(64))for(;e.length%4;)e.push(t);return e.join("")},parse:function(t){var n=t.length,r=this._map;(i=r.charAt(64))&&-1!=(i=t.indexOf(i))&&(n=i);for(var i=[],o=0,a=0;a<n;a++)if(a%4){var s=r.indexOf(t.charAt(a-1))<<a%4*2,l=r.indexOf(t.charAt(a))>>>6-a%4*2;i[o>>>2]|=(s|l)<<24-o%4*8,o++}return e.create(i,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 11,657 bytes, line 1
1+/="}}(),function(e){for(var t=A,n=(i=t.lib).WordArray,r=i.Hasher,i=t.algo,o=[],a=[],s=function(e){return 4294967296*(e-(0|e))|0},l=2,u=0;64>u;){var c;e:{for(var h=e.sqrt(c=l),d=2;d<=h;d++)if(!(c%d)){c=!1;break e}c=!0}c&&(8>u&&(o[u]=s(e.pow(l,.5))),a[u]=s(e.pow(l,1/3)),u++),l++}var f=[];i=i.SHA256=r.extend({_doReset:function(){this._hash=new n.init(o.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],s=n[3],l=n[4],u=n[5],c=n[6],h=n[7],d=0;64>d;d++){if(16>d)f[d]=0|e[t+d];else{var p=f[d-15],g=f[d-2];f[d]=((p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3)+f[d-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+f[d-16]}p=h+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&u^~l&c)+a[d]+f[d],g=((r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22))+(r&i^r&o^i&o),h=c,c=u,u=l,l=s+p|0,s=o,o=i,i=r,r=p+g|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0,n[5]=n[5]+u|0,n[6]=n[6]+c|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}}),t.SHA256=r._createHelper(i),t.HmacSHA256=r._createHmacHelper(i)}(Math),function(){function e(){return r.create.apply(r,arguments)}for(var t=A,n=t.lib.Hasher,r=(o=t.x64).Word,i=o.WordArray,o=t.algo,a=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],s=[],l=0;80>l;l++)s[l]=e();o=o.SHA512=n.extend({_doReset:function(){this._hash=new i.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=(h=this._hash.words)[0],r=h[1],i=h[2],o=h[3],l=h[4],u=h[5],c=h[6],h=h[7],d=n.high,f=n.low,p=r.high,g=r.low,_=i.high,A=i.low,v=o.high,m=o.low,y=l.high,b=l.low,C=u.high,w=u.low,k=c.high,E=c.low,S=h.high,O=h.low,x=d,P=f,T=p,B=g,D=_,M=A,I=v,R=m,F=y,L=b,U=C,N=w,j=k,H=E,Q=S,V=O,K=0;80>K;K++){var W=s[K];if(16>K)var z=W.high=0|e[t+2*K],q=W.low=0|e[t+2*K+1];else{z=((q=(z=s[K-15]).high)>>>1|(Y=z.low)<<31)^(q>>>8|Y<<24)^q>>>7;var Y=(Y>>>1|q<<31)^(Y>>>8|q<<24)^(Y>>>7|q<<25),G=((q=(G=s[K-2]).high)>>>19|(X=G.low)<<13)^(q<<3|X>>>29)^q>>>6,X=(X>>>19|q<<13)^(X<<3|q>>>29)^(X>>>6|q<<26),J=(q=s[K-7]).high,Z=($=s[K-16]).high,$=$.low;z=(z=(z=z+J+((q=Y+q.low)>>>0<Y>>>0?1:0))+G+((q+=X)>>>0<X>>>0?1:0))+Z+((q+=$)>>>0<$>>>0?1:0),W.high=z,W.low=q}W=x&T^x&D^T&D;var ee=P&B^P&M^B&M,te=(Y=(x>>>28|P<<4)^(x<<30|P>>>2)^(x<<25|P>>>7),G=(P>>>28|x<<4)^(P<<30|x>>>2)^(P<<25|x>>>7),(X=a[K]).high),ne=X.low;Z=(Z=(Z=(Z=Q+((F>>>14|L<<18)^(F>>>18|L<<14)^(F<<23|L>>>9))+((X=V+((L>>>14|F<<18)^(L>>>18|F<<14)^(L<<23|F>>>9)))>>>0<V>>>0?1:0))+(J=F&U^~F&j)+((X+=$=L&N^~L&H)>>>0<$>>>0?1:0))+te+((X+=ne)>>>0<ne>>>0?1:0))+z+((X+=q)>>>0<q>>>0?1:0),Q=j,V=H,j=U,H=N,U=F,N=L,F=I+Z+((L=R+X|0)>>>0<R>>>0?1:0)|0,I=D,R=M,D=T,M=B,T=x,B=P,x=Z+(W=Y+W+((q=G+ee)>>>0<G>>>0?1:0))+((P=X+q|0)>>>0<X>>>0?1:0)|0}f=n.low=f+P,n.high=d+x+(f>>>0<P>>>0?1:0),g=r.low=g+B,r.high=p+T+(g>>>0<B>>>0?1:0),A=i.low=A+M,i.high=_+D+(A>>>0<M>>>0?1:0),m=o.low=m+R,o.high=v+I+(m>>>0<R>>>0?1:0),b=l.low=b+L,l.high=y+F+(b>>>0<L>>>0?1:0),w=u.low=w+N,u.high=C+U+(w>>>0<N>>>0?1:0),E=c.low=E+H,c.high=k+j+(E>>>0<H>>>0?1:0),O=h.low=O+V,h.high=S+Q+(O>>>0<V>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32}),t.SHA512=n._createHelper(o),t.HmacSHA512=n._createHmacHelper(o)}(),function(){var e=A,t=(i=e.x64).Word,n=i.WordArray,r=(i=e.algo).SHA512,i=i.SHA384=r.extend({_doReset:function(){this._hash=new n.init([new t.init(3418070365,3238371032),new t.init(1654270250,914150663),new t.init(2438529370,812702999),new t.init(355462360,4144912697),new t.init(1731405415,4290775857),new t.init(2394180231,1750603025),new t.init(3675008525,1694076839),new t.init(1203062813,3204075428)])},_doFinalize:function(){var e=r._doFinalize.call(this);return e.sigBytes-=16,e}});e.SHA384=r._createHelper(i),e.HmacSHA384=r._createHmacHelper(i)}();var v,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function y(e){var t,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=m.charAt(n>>6)+m.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=m.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=m.charAt(n>>2)+m.charAt((3&n)<<4));(3&r.length)>0;)r+="=";return r}function b(e){var t,n,r,i="",o=0;for(t=0;t<e.length&&"="!=e.charAt(t);++t)(r=m.indexOf(e.charAt(t)))<0||(0==o?(i+=x(r>>2),n=3&r,o=1):1==o?(i+=x(n<<2|r>>4),n=15&r,o=2):2==o?(i+=x(n),i+=x(r>>2),n=3&r,o=3):(i+=x(n<<2|r>>4),i+=x(15&r),o=0));return 1==o&&(i+=x(n<<2)),i}function C(e){var t,n=b(e),r=new Array;for(t=0;2*t<n.length;++t)r[t]=parseInt(n.substring(2*t,2*t+2),16);return r}function w(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):this.fromString(e,null==t&&"string"!=typeof e?256:t))}function k(){return new w(null)}"Microsoft Internet Explorer"==r.appName?(w.prototype.am=function(e,t,n,r,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var l=32767&this[e],u=this[e++]>>15,c=s*l+u*a;i=((l=a*l+((32767&c)<<15)+n[r]+(1073741823&i))>>>30)+(c>>>15)+s*u+(i>>>30),n[r++]=1073741823&l}return i},v=30):"Netscape"!=r.appName?(w.prototype.am=function(e,t,n,r,i,o){for(;--o>=0;){var a=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i},v=26):(w.prototype.am=function(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var l=16383&this[e],u=this[e++]>>14,c=s*l+u*a;i=((l=a*l+((16383&c)<<14)+n[r]+i)>>28)+(c>>14)+s*u,n[r++]=268435455&l}return i},v=28),w.prototype.DB=v,w.prototype.DM=(1<<v)-1,w.prototype.DV=1<<v,w.prototype.FV=Math.pow(2,52),w.prototype.F1=52-v,w.prototype.F2=2*v-52;var E,S,O=new Array;for(E="0".charCodeAt(0),S=0;S<=9;++S)O[E++]=S;for(E="a".charCodeAt(0),S=10;S<36;++S)O[E++]=S;for(E="A".charCodeAt(0),S=10;S<36;++S)O[E++]=S;function x(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function P(e,t){var n=O[e.charCodeAt(t)];return null==n?-1:n}function T(e){var t=k();return t.fromInt(e),t}function B(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function D(e){this.m=e}function M(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function I(e,t){return e&t}function R(e,t){return e|t}function F(e,t){return e^t}function L(e,t){return e&~t}function U(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function N(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function j(){}function H(e){return e}function Q(e){this.r2=k(),this.q3=k(),w.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}D.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},D.prototype.revert=function(e){return e},D.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},D.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},D.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},M.prototype.convert=function(e){var t=k();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(w.ZERO)>0&&this.m.subTo(t,t),t},M.prototype.revert=function(e){var t=k();return e.copyTo(t),this.reduce(t),t},M.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},M.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},M.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},w.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},w.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},w.prototype.fromString=function(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(256==t)n=8;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)return void this.fromRadix(e,t);n=2}this.t=0,this.s=0;for(var r=e.length,i=!1,o=0;--r>=0;){var a=8==n?255&e[r]:P(e,r);a<0?"-"==e.charAt(r)&&(i=!0):(i=!1,0==o?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<<this.DB-o)-1)<<o,this[this.t++]=a>>this.DB-o):this[this.t-1]|=a<<o,(o+=n)>=this.DB&&(o-=this.DB))}8==n&&0!=(128&e[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),i&&w.ZERO.subTo(this,this)},w.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},w.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},w.prototype.drShiftTo=function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s},w.prototype.lShiftTo=function(e,t){var n,r=e%this.DB,i=this.DB-r,o=(1<<i)-1,a=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+a+1]=this[n]>>i|s,s=(this[n]&o)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()},w.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;
vendor: 5,588 bytes, line 1
1for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<i),t.t=this.t-n,t.clamp()}},w.prototype.subTo=function(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n<i;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},w.prototype.multiplyTo=function(e,t){var n=this.abs(),r=e.abs(),i=n.t;for(t.t=i+r.t;--i>=0;)t[i]=0;for(i=0;i<r.t;++i)t[i+n.t]=n.am(0,r[i],t,i,0,n.t);t.s=0,t.clamp(),this.s!=e.s&&w.ZERO.subTo(t,t)},w.prototype.squareTo=function(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},w.prototype.divRemTo=function(e,t,n){var r=e.abs();if(!(r.t<=0)){var i=this.abs();if(i.t<r.t)return null!=t&&t.fromInt(0),void(null!=n&&this.copyTo(n));null==n&&(n=k());var o=k(),a=this.s,s=e.s,l=this.DB-B(r[r.t-1]);l>0?(r.lShiftTo(l,o),i.lShiftTo(l,n)):(r.copyTo(o),i.copyTo(n));var u=o.t,c=o[u-1];if(0!=c){var h=c*(1<<this.F1)+(u>1?o[u-2]>>this.F2:0),d=this.FV/h,f=(1<<this.F1)/h,p=1<<this.F2,g=n.t,_=g-u,A=null==t?k():t;for(o.dlShiftTo(_,A),n.compareTo(A)>=0&&(n[n.t++]=1,n.subTo(A,n)),w.ONE.dlShiftTo(u,A),A.subTo(o,o);o.t<u;)o[o.t++]=0;for(;--_>=0;){var v=n[--g]==c?this.DM:Math.floor(n[g]*d+(n[g-1]+p)*f);if((n[g]+=o.am(0,v,n,_,0,u))<v)for(o.dlShiftTo(_,A),n.subTo(A,n);n[g]<--v;)n.subTo(A,n)}null!=t&&(n.drShiftTo(u,t),a!=s&&w.ZERO.subTo(t,t)),n.t=u,n.clamp(),l>0&&n.rShiftTo(l,n),a<0&&w.ZERO.subTo(n,n)}}},w.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},w.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},w.prototype.exp=function(e,t){if(e>4294967295||e<1)return w.ONE;var n=k(),r=k(),i=t.convert(this),o=B(e)-1;for(i.copyTo(n);--o>=0;)if(t.sqrTo(n,r),(e&1<<o)>0)t.mulTo(r,i,n);else{var a=n;n=r,r=a}return t.revert(n)},w.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,i=!1,o="",a=this.t,s=this.DB-a*this.DB%t;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(i=!0,o=x(n));a>=0;)s<t?(n=(this[a]&(1<<s)-1)<<t-s,n|=this[--a]>>(s+=this.DB-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(i=!0),i&&(o+=x(n));return i?o:"0"},w.prototype.negate=function(){var e=k();return w.ZERO.subTo(this,e),e},w.prototype.abs=function(){return this.s<0?this.negate():this},w.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},w.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+B(this[this.t-1]^this.s&this.DM)},w.prototype.mod=function(e){var t=k();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(w.ZERO)>0&&e.subTo(t,t),t},w.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new D(t):new M(t),this.exp(e,n)},w.ZERO=T(0),w.ONE=T(1),j.prototype.convert=H,j.prototype.revert=H,j.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},j.prototype.sqrTo=function(e,t){e.squareTo(t)},Q.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=k();return e.copyTo(t),this.reduce(t),t},Q.prototype.revert=function(e){return e},Q.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},Q.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},Q.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var V,K,W,z=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],q=(1<<26)/z[z.length-1];function Y(){this.i=0,this.j=0,this.S=new Array}function G(){!function(e){K[W++]^=255&e,K[W++]^=e>>8&255,K[W++]^=e>>16&255,K[W++]^=e>>24&255,W>=256&&(W-=256)}((new Date).getTime())}if(w.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},w.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),r=T(n),i=k(),o=k(),a="";for(this.divRemTo(r,i,o);i.signum()>0;)a=(n+o.intValue()).toString(e).substr(1)+a,i.divRemTo(r,i,o);return o.intValue().toString(e)+a},w.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var n=this.chunkSize(t),r=Math.pow(t,n),i=!1,o=0,a=0,s=0;s<e.length;++s){var l=P(e,s);
vendor: 7,117 bytes, line 1
1l<0?"-"==e.charAt(s)&&0==this.signum()&&(i=!0):(a=t*a+l,++o>=n&&(this.dMultiply(r),this.dAddOffset(a,0),o=0,a=0))}o>0&&(this.dMultiply(Math.pow(t,o)),this.dAddOffset(a,0)),i&&w.ZERO.subTo(this,this)},w.prototype.fromNumber=function(e,t,n){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(w.ONE.shiftLeft(e-1),R,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(w.ONE.shiftLeft(e-1),this);else{var r=new Array,i=7&e;r.length=1+(e>>3),t.nextBytes(r),i>0?r[0]&=(1<<i)-1:r[0]=0,this.fromString(r,256)}},w.prototype.bitwiseTo=function(e,t,n){var r,i,o=Math.min(e.t,this.t);for(r=0;r<o;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(i=e.s&this.DM,r=o;r<this.t;++r)n[r]=t(this[r],i);n.t=this.t}else{for(i=this.s&this.DM,r=o;r<e.t;++r)n[r]=t(i,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()},w.prototype.changeBit=function(e,t){var n=w.ONE.shiftLeft(e);return this.bitwiseTo(n,t,n),n},w.prototype.addTo=function(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n<i;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()},w.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},w.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},w.prototype.multiplyLowerTo=function(e,t,n){var r,i=Math.min(this.t+e.t,t);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(r=n.t-this.t;i<r;++i)n[i+this.t]=this.am(0,e[i],n,i,0,this.t);for(r=Math.min(e.t,t);i<r;++i)this.am(0,e[i],n,i,0,t-i);n.clamp()},w.prototype.multiplyUpperTo=function(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)},w.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n},w.prototype.millerRabin=function(e){var t=this.subtract(w.ONE),n=t.getLowestSetBit();if(n<=0)return!1;var r=t.shiftRight(n);(e=e+1>>1)>z.length&&(e=z.length);for(var i=k(),o=0;o<e;++o){i.fromInt(z[Math.floor(Math.random()*z.length)]);var a=i.modPow(r,this);if(0!=a.compareTo(w.ONE)&&0!=a.compareTo(t)){for(var s=1;s++<n&&0!=a.compareTo(t);)if(0==(a=a.modPowInt(2,this)).compareTo(w.ONE))return!1;if(0!=a.compareTo(t))return!1}}return!0},w.prototype.clone=function(){var e=k();return this.copyTo(e),e},w.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},w.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},w.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},w.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},w.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var n,r=this.DB-e*this.DB%8,i=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<<this.DB-r);e>=0;)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(t[i++]=n);return t},w.prototype.equals=function(e){return 0==this.compareTo(e)},w.prototype.min=function(e){return this.compareTo(e)<0?this:e},w.prototype.max=function(e){return this.compareTo(e)>0?this:e},w.prototype.and=function(e){var t=k();return this.bitwiseTo(e,I,t),t},w.prototype.or=function(e){var t=k();return this.bitwiseTo(e,R,t),t},w.prototype.xor=function(e){var t=k();return this.bitwiseTo(e,F,t),t},w.prototype.andNot=function(e){var t=k();return this.bitwiseTo(e,L,t),t},w.prototype.not=function(){for(var e=k(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},w.prototype.shiftLeft=function(e){var t=k();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},w.prototype.shiftRight=function(e){var t=k();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},w.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+U(this[e]);return this.s<0?this.t*this.DB:-1},w.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=N(this[n]^t);return e},w.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},w.prototype.setBit=function(e){return this.changeBit(e,R)},w.prototype.clearBit=function(e){return this.changeBit(e,L)},w.prototype.flipBit=function(e){return this.changeBit(e,F)},w.prototype.add=function(e){var t=k();return this.addTo(e,t),t},w.prototype.subtract=function(e){var t=k();return this.subTo(e,t),t},w.prototype.multiply=function(e){var t=k();return this.multiplyTo(e,t),t},w.prototype.divide=function(e){var t=k();return this.divRemTo(e,t,null),t},w.prototype.remainder=function(e){var t=k();return this.divRemTo(e,null,t),t},w.prototype.divideAndRemainder=function(e){var t=k(),n=k();return this.divRemTo(e,t,n),new Array(t,n)},w.prototype.modPow=function(e,t){var n,r,i=e.bitLength(),o=T(1);if(i<=0)return o;n=i<18?1:i<48?3:i<144?4:i<768?5:6,r=i<8?new D(t):t.isEven()?new Q(t):new M(t);var a=new Array,s=3,l=n-1,u=(1<<n)-1;if(a[1]=r.convert(this),n>1){var c=k();for(r.sqrTo(a[1],c);s<=u;)a[s]=k(),r.mulTo(c,a[s-2],a[s]),s+=2}var h,d,f=e.t-1,p=!0,g=k();for(i=B(e[f])-1;f>=0;){for(i>=l?h=e[f]>>i-l&u:(h=(e[f]&(1<<i+1)-1)<<l-i,f>0&&(h|=e[f-1]>>this.DB+i-l)),s=n;0==(1&h);)h>>=1,--s;if((i-=s)<0&&(i+=this.DB,--f),p)a[h].copyTo(o),p=!1;else{for(;s>1;)r.sqrTo(o,g),r.sqrTo(g,o),s-=2;s>0?r.sqrTo(o,g):(d=o,o=g,g=d),r.mulTo(g,a[h],o)}for(;f>=0&&0==(e[f]&1<<i);)r.sqrTo(o,g),d=o,o=g,g=d,--i<0&&(i=this.DB-1,--f)}return r.revert(o)},w.prototype.modInverse=function(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return w.ZERO;for(var n=e.clone(),r=this.clone(),i=T(1),o=T(0),a=T(0),s=T(1);0!=n.signum();){for(;n.isEven();)n.rShiftTo(1,n),t?(i.isEven()&&o.isEven()||(i.addTo(this,i),o.subTo(e,o)),i.rShiftTo(1,i)):o.isEven()||o.subTo(e,o),o.rShiftTo(1,o);for(;r.isEven();)r.rShiftTo(1,r),t?(a.isEven()&&s.isEven()||(a.addTo(this,a),s.subTo(e,s)),a.rShiftTo(1,a)):s.isEven()||s.subTo(e,s),s.rShiftTo(1,s);n.compareTo(r)>=0?(n.subTo(r,n),t&&i.subTo(a,i),o.subTo(s,o)):(r.subTo(n,r),t&&a.subTo(i,a),s.subTo(o,s))}return 0!=r.compareTo(w.ONE)?w.ZERO:s.compareTo(e)>=0?s.subtract(e):s.signum()<0?(s.addTo(e,s),s.signum()<0?s.add(e):s):s},w.prototype.pow=function(e){return this.exp(e,new j)},w.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var i=t.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return t;for(i<o&&(o=i),o>0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));t.signum()>0;)(i=t.getLowestSetBit())>
vendor: 16,529 bytes, line 1
10&&t.rShiftTo(i,t),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},w.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n[0]<=z[z.length-1]){for(t=0;t<z.length;++t)if(n[0]==z[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<z.length;){for(var r=z[t],i=t+1;i<z.length&&r<q;)r*=z[i++];for(r=n.modInt(r);t<i;)if(r%z[t++]==0)return!1}return n.millerRabin(e)},w.prototype.square=function(){var e=k();return this.squareTo(e),e},Y.prototype.init=function(e){var t,n,r;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)r=this.S[t],this.S[t]=this.S[n=n+this.S[t]+e[t%e.length]&255],this.S[n]=r;this.i=0,this.j=0},Y.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},null==K){var X;if(K=new Array,W=0,void 0!==i&&(void 0!==i.crypto||void 0!==i.msCrypto)){var J=i.crypto||i.msCrypto;if(J.getRandomValues){var Z=new Uint8Array(32);for(J.getRandomValues(Z),X=0;X<32;++X)K[W++]=Z[X]}else if("Netscape"==r.appName&&r.appVersion<"5"){var $=i.crypto.random(32);for(X=0;X<$.length;++X)K[W++]=255&$.charCodeAt(X)}}for(;W<256;)X=Math.floor(65536*Math.random()),K[W++]=X>>>8,K[W++]=255&X;W=0,G()}function ee(){if(null==V){for(G(),(V=new Y).init(K),W=0;W<K.length;++W)K[W]=0;W=0}return V.next()}function te(){}function ne(e,t){return new w(e,t)}function re(e,t,n){for(var r="",i=0;r.length<t;)r+=n(String.fromCharCode.apply(String,e.concat([(4278190080&i)>>24,(16711680&i)>>16,(65280&i)>>8,255&i]))),i+=1;return r}function ie(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function oe(e,t){this.x=t,this.q=e}function ae(e,t,n,r){this.curve=e,this.x=t,this.y=n,this.z=null==r?w.ONE:r,this.zinv=null}function se(e,t,n){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(n),this.infinity=new ae(this,null,null)}te.prototype.nextBytes=function(e){var t;for(t=0;t<e.length;++t)e[t]=ee()},ie.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},ie.prototype.setPublic=function(e,t){if(this.isPublic=!0,this.isPrivate=!1,"string"!=typeof e)this.n=e,this.e=t;else{if(!(null!=e&&null!=t&&e.length>0&&t.length>0))throw"Invalid RSA public key";this.n=ne(e,16),this.e=parseInt(t,16)}},ie.prototype.encrypt=function(e){var t=function(e,t){if(t<e.length+11)throw"Message too long for RSA";for(var n=new Array,r=e.length-1;r>=0&&t>0;){var i=e.charCodeAt(r--);i<128?n[--t]=i:i>127&&i<2048?(n[--t]=63&i|128,n[--t]=i>>6|192):(n[--t]=63&i|128,n[--t]=i>>6&63|128,n[--t]=i>>12|224)}n[--t]=0;for(var o=new te,a=new Array;t>2;){for(a[0]=0;0==a[0];)o.nextBytes(a);n[--t]=a[0]}return n[--t]=2,n[--t]=0,new w(n)}(e,this.n.bitLength()+7>>3);if(null==t)return null;var n=this.doPublic(t);if(null==n)return null;var r=n.toString(16);return 0==(1&r.length)?r:"0"+r},ie.prototype.encryptOAEP=function(e,t,n){var r=function(e,t,n,r){var i=ue.crypto.MessageDigest,o=ue.crypto.Util,a=null;if(n||(n="sha1"),"string"==typeof n&&(a=i.getCanonicalAlgName(n),r=i.getHashLength(a),n=function(e){return we(o.hashHex(ke(e),a))}),e.length+2*r+2>t)throw"Message too long for RSA";var s,l="";for(s=0;s<t-e.length-2*r-2;s+=1)l+="\0";var u=n("")+l+"\x01"+e,c=new Array(r);(new te).nextBytes(c);var h=re(c,u.length,n),d=[];for(s=0;s<u.length;s+=1)d[s]=u.charCodeAt(s)^h.charCodeAt(s);var f=re(d,c.length,n),p=[0];for(s=0;s<c.length;s+=1)p[s+1]=c[s]^f.charCodeAt(s);return new w(p.concat(d))}(e,this.n.bitLength()+7>>3,t,n);if(null==r)return null;var i=this.doPublic(r);if(null==i)return null;var o=i.toString(16);return 0==(1&o.length)?o:"0"+o},ie.prototype.type="RSA",oe.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.x.equals(e.x)},oe.prototype.toBigInteger=function(){return this.x},oe.prototype.negate=function(){return new oe(this.q,this.x.negate().mod(this.q))},oe.prototype.add=function(e){return new oe(this.q,this.x.add(e.toBigInteger()).mod(this.q))},oe.prototype.subtract=function(e){return new oe(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))},oe.prototype.multiply=function(e){return new oe(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))},oe.prototype.square=function(){return new oe(this.q,this.x.square().mod(this.q))},oe.prototype.divide=function(e){return new oe(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))},ae.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},ae.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},ae.prototype.equals=function(e){return e==this||(this.isInfinity()?e.isInfinity():e.isInfinity()?this.isInfinity():!!e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(w.ZERO)&&e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(w.ZERO))},ae.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(w.ZERO)&&!this.y.toBigInteger().equals(w.ZERO)},ae.prototype.negate=function(){return new ae(this.curve,this.x,this.y.negate(),this.z)},ae.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(w.ZERO.equals(n))return w.ZERO.equals(t)?this.twice():this.curve.getInfinity();var r=new w("3"),i=this.x.toBigInteger(),o=this.y.toBigInteger(),a=(e.x.toBigInteger(),e.y.toBigInteger(),n.square()),s=a.multiply(n),l=i.multiply(a),u=t.square().multiply(this.z),c=u.subtract(l.shiftLeft(1)).multiply(e.z).subtract(s).multiply(n).mod(this.curve.q),h=l.multiply(r).multiply(t).subtract(o.multiply(s)).subtract(u.multiply(t)).multiply(e.z).add(t.multiply(s)).mod(this.curve.q),d=s.multiply(this.z).multiply(e.z).mod(this.curve.q);return new ae(this.curve,this.curve.fromBigInteger(c),this.curve.fromBigInteger(h),d)},ae.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new w("3"),t=this.x.toBigInteger(),n=this.y.toBigInteger(),r=n.multiply(this.z),i=r.multiply(n).mod(this.curve.q),o=this.curve.a.toBigInteger(),a=t.square().multiply(e);w.ZERO.equals(o)||(a=a.add(this.z.square().multiply(o)));var s=(a=a.mod(this.curve.q)).square().subtract(t.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(r).mod(this.curve.q),l=a.multiply(e).multiply(t).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(a.square().multiply(a)).mod(this.curve.q),u=r.square().multiply(r).shiftLeft(3).mod(this.curve.q);return new ae(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(l),u)},ae.prototype.multiply=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,r=n.multiply(new w("3")),i=this.negate(),o=this;for(t=r.bitLength()-2;t>0;--t){o=o.twice();var a=r.testBit(t);a!=n.testBit(t)&&(o=o.add(a?this:i))}return o},ae.prototype.multiplyTwo=function(e,t,n){var r;r=e.bitLength()>n.bitLength()?e.bitLength()-1:n.bitLength()-1;for(var i=this.curve.getInfinity(),o=this.add(t);r>=0;)i=i.twice(),e.testBit(r)?i=n.testBit(r)?i.add(o):i.add(this):n.testBit(r)&&(i=i.add(t)),--r;return i},se.prototype.getQ=function(){return this.q},se.prototype.getA=function(){return this.a},se.prototype.getB=function(){return this.b},se.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)},se.prototype.getInfinity=function(){return this.infinity},se.prototype.fromBigInteger=function(e){return new oe(this.q,e)},se.prototype.decodePointHex=function(e){switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var t=(e.length-2)/2,n=e.substr(2,t),r=e.substr(t+2,t);return new ae(this,this.fromBigInteger(new w(n,16)),this.fromBigInteger(new w(r,16)));default:return null}},oe.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},ae.prototype.getEncoded=function(e){var t=function(e,t){var n=e.toByteArrayUnsigned();if(t<n.length)n=n.slice(n.length-t);else for(;t>n.length;)n.unshift(0);return n},n=this.getX().toBigInteger(),r=this.getY().toBigInteger(),i=t(n,32);return e?r.isEven()?i.unshift(2):i.unshift(3):(i.unshift(4),i=i.concat(t(r,32))),i},ae.decodeFrom=function(e,t){var n=t.length-1,r=t.slice(1,1+n/2),i=t.slice(1+n/2,1+n);r.unshift(0),i.unshift(0);var o=new w(r),a=new w(i);return new ae(e,e.fromBigInteger(o),e.fromBigInteger(a))},ae.decodeFromHex=function(e,t){t.substr(0,2);var n=t.length-2,r=t.substr(2,n/2),i=t.substr(2+n/2,n/2),o=new w(r,16),a=new w(i,16);return new ae(e,e.fromBigInteger(o),e.fromBigInteger(a))},ae.prototype.add2D=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;if(this.x.equals(e.x))return this.y.equals(e.y)?this.twice():this.curve.getInfinity();var t=e.x.subtract(this.x),n=e.y.subtract(this.y).divide(t),r=n.square().subtract(this.x).subtract(e.x),i=n.multiply(this.x.subtract(r)).subtract(this.y);return new ae(this.curve,r,i)},ae.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=this.curve.fromBigInteger(w.valueOf(2)),t=this.curve.fromBigInteger(w.valueOf(3)),n=this.x.square().multiply(t).add(this.curve.a).divide(this.y.multiply(e)),r=n.square().subtract(this.x.multiply(e)),i=n.multiply(this.x.subtract(r)).subtract(this.y);return new ae(this.curve,r,i)},ae.prototype.multiply2D=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,r=n.multiply(new w("3")),i=this.negate(),o=this;for(t=r.bitLength()-2;t>0;--t){o=o.twice();var a=r.testBit(t);a!=n.testBit(t)&&(o=o.add2D(a?this:i))}return o},ae.prototype.isOnCurve=function(){var e=this.getX().toBigInteger(),t=this.getY().toBigInteger(),n=this.curve.getA().toBigInteger(),r=this.curve.getB().toBigInteger(),i=this.curve.getQ(),o=t.multiply(t).mod(i),a=e.multiply(e).multiply(e).add(n.multiply(e)).add(r).mod(i);return o.equals(a)},ae.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},ae.prototype.validate=function(){var e=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var t=this.getX().toBigInteger(),n=this.getY().toBigInteger();if(t.compareTo(w.ONE)<0||t.compareTo(e.subtract(w.ONE))>0)throw new Error("x coordinate out of bounds");if(n.compareTo(w.ONE)<0||n.compareTo(e.subtract(w.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(e).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var le=function(){var e=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),t=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),r={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function i(e,t,n){return t?r[t]:String.fromCharCode(parseInt(n,16))}var o=new String(""),a=Object.hasOwnProperty;return function(r,s){var l,u,c=r.match(e),h=c[0],d=!1;"{"===h?l={}:"["===h?l=[]:(l=[],d=!0);for(var f=[l],p=1-d,g=c.length;p<g;++p){var _;switch((h=c[p]).charCodeAt(0)){default:(_=f[0])[u||_.length]=+h,u=void 0;break;case 34:if(-1!==(h=h.substring(1,h.length-1)).indexOf("\\")&&(h=h.replace(t,i)),_=f[0],!u){if(!(_ instanceof Array)){u=h||o;break}u=_.length}_[u]=h,u=void 0;break;case 91:f.unshift((_=f[0])[u||_.length]=[]),u=void 0;break;case 93:f.shift();break;case 102:(_=f[0])[u||_.length]=!1,u=void 0;break;case 110:(_=f[0])[u||_.length]=null,u=void 0;break;case 116:(_=f[0])[u||_.length]=!0,u=void 0;break;case 123:f.unshift((_=f[0])[u||_.length]={}),u=void 0;break;case 125:f.shift()}}if(d){if(1!==f.length)throw new Error;l=l[0]}else if(f.length)throw new Error;return s&&(l=function e(t,r){var i=t[r];if(i&&"object"===(void 0===i?"undefined":n(i))){var o=null;for(var l in i)if(a.call(i,l)&&i!==t){var u=e(i,l);void 0!==u?i[l]=u:(o||(o=[]),o.push(l))}if(o)for(var c=o.length;--c>=0;)delete i[o[c]]}return s.call(t,r,i)}({"":l},"")),l}}();void 0!==ue&&ue||(t.KJUR=ue={}),void 0!==ue.asn1&&ue.asn1||(ue.asn1={}),ue.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var n=t.substr(1).length;n%2==1?n+=1:t.match(/^[0-7]/)||(n+=2);for(var r="",i=0;i<n;i++)r+="f";t=new w(r,16).xor(e).add(w.ONE).toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return xe(e,t)},this.newObject=function(e){var t=ue.asn1,n=t.DERBoolean,r=t.DERInteger,i=t.DERBitString,o=t.DEROctetString,a=t.DERNull,s=t.DERObjectIdentifier,l=t.DEREnumerated,u=t.DERUTF8String,c=t.DERNumericString,h=t.DERPrintableString,d=t.DERTeletexString,f=t.DERIA5String,p=t.DERUTCTime,g=t.DERGeneralizedTime,_=t.DERSequence,A=t.DERSet,v=t.DERTaggedObject,m=t.ASN1Util.newObject,y=Object.keys(e);if(1!=y.length)throw"key of param shall be only one.";var b=y[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+b+":"))throw"undefined key: "+b;if("bool"==b)return new n(e[b]);if("int"==b)return new r(e[b]);if("bitstr"==b)return new i(e[b]);if("octstr"==b)return new o(e[b]);if("null"==b)return new a(e[b]);if("oid"==b)return new s(e[b]);if("enum"==b)return new l(e[b]);if("utf8str"==b)return new u(e[b]);if("numstr"==b)return new c(e[b]);if("prnstr"==b)return new h(e[b]);if("telstr"==b)return new d(e[b]);if("ia5str"==b)return new f(e[b]);if("utctime"==b)return new p(e[b]);if("gentime"==b)return new g(e[b]);if("seq"==b){for(var C=e[b],w=[],k=0;k<C.length;k++){var E=m(C[k]);w.push(E)}return new _({array:w})}if("set"==b){for(C=e[b],w=[],k=0;k<C.length;k++)E=m(C[k]),w.push(E);return new A({array:w})}if("tag"==b){var S=e[b];if("[object Array]"===Object.prototype.toString.call(S)&&3==S.length){var O=m(S[2]);return new v({tag:S[0],explicit:S[1],obj:O})}var x={};if(void 0!==S.explicit&&(x.explicit=S.explicit),void 0!==S.tag&&(x.tag=S.tag),void 0===S.obj)throw"obj shall be specified for 'tag'.";return x.obj=m(S.obj),new v(x)}},this.jsonToASN1HEX=function(e){return this.newObject(e).getEncodedHex()}},ue.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",n=parseInt(e.substr(0,2),16),r=(t=Math.floor(n/40)+"."+n%40,""),i=2;i<e.length;i+=2){var o=("00000000"+parseInt(e.substr(i,2),16).toString(2)).slice(-8);r+=o.substr(1,7),"0"==o.substr(0,1)&&(t=t+"."+new w(r,2).toString(10),r="")}return t},ue.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new w(e,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=t(parseInt(s,2))}return n};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",i=e.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=t(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);return r},ue.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var e=this.hV.length/2,t=e.toString(16);if(t.length%2==1&&(t="0"+t),e<128)return t;var n=t.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);return(128+n).toString(16)+t},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},ue.asn1.DERAbstractString=function(e){ue.asn1.DERAbstractString.superclass.constructor.call(this),this.get
vendor: 9,350 bytes, line 1
1String=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=be(this.s).toLowerCase()},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?this.setString(e):void 0!==e.str?this.setString(e.str):void 0!==e.hex&&this.setStringHex(e.hex))},o.lang.extend(ue.asn1.DERAbstractString,ue.asn1.ASN1Object),ue.asn1.DERAbstractTime=function(e){ue.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){return utc=e.getTime()+6e4*e.getTimezoneOffset(),new Date(utc)},this.formatDate=function(e,t,n){var r=this.zeroPadding,i=this.localDateToUTC(e),o=String(i.getFullYear());"utc"==t&&(o=o.substr(2,2));var a=o+r(String(i.getMonth()+1),2)+r(String(i.getDate()),2)+r(String(i.getHours()),2)+r(String(i.getMinutes()),2)+r(String(i.getSeconds()),2);if(!0===n){var s=i.getMilliseconds();if(0!=s){var l=r(String(s),3);a=a+"."+(l=l.replace(/[0]+$/,""))}}return a+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=_e(e)},this.setByDateValue=function(e,t,n,r,i,o){var a=new Date(Date.UTC(e,t-1,n,r,i,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},o.lang.extend(ue.asn1.DERAbstractTime,ue.asn1.ASN1Object),ue.asn1.DERAbstractStructured=function(e){ue.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,void 0!==e&&void 0!==e.array&&(this.asn1Array=e.array)},o.lang.extend(ue.asn1.DERAbstractStructured,ue.asn1.ASN1Object),ue.asn1.DERBoolean=function(){ue.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},o.lang.extend(ue.asn1.DERBoolean,ue.asn1.ASN1Object),ue.asn1.DERInteger=function(e){ue.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=ue.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new w(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.bigint?this.setByBigInteger(e.bigint):void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},o.lang.extend(ue.asn1.DERInteger,ue.asn1.ASN1Object),ue.asn1.DERBitString=function(e){if(void 0!==e&&void 0!==e.obj){var t=ue.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}ue.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var n="0"+e;this.hTLV=null,this.isModified=!0,this.hV=n+t},this.setByBinaryString=function(e){var t=8-(e=e.replace(/0+$/,"")).length%8;8==t&&(t=0);for(var n=0;n<=t;n++)e+="0";var r="";for(n=0;n<e.length-1;n+=8){var i=e.substr(n,8),o=parseInt(i,2).toString(16);1==o.length&&(o="0"+o),r+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+t+r},this.setByBooleanArray=function(e){for(var t="",n=0;n<e.length;n++)t+=1==e[n]?"1":"0";this.setByBinaryString(t)},this.newFalseArray=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=!1;return t},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):void 0!==e.hex?this.setHexValueIncludingUnusedBits(e.hex):void 0!==e.bin?this.setByBinaryString(e.bin):void 0!==e.array&&this.setByBooleanArray(e.array))},o.lang.extend(ue.asn1.DERBitString,ue.asn1.ASN1Object),ue.asn1.DEROctetString=function(e){if(void 0!==e&&void 0!==e.obj){var t=ue.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}ue.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},o.lang.extend(ue.asn1.DEROctetString,ue.asn1.DERAbstractString),ue.asn1.DERNull=function(){ue.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},o.lang.extend(ue.asn1.DERNull,ue.asn1.ASN1Object),ue.asn1.DERObjectIdentifier=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new w(e,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=t(parseInt(s,2))}return n};ue.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueOidString=function(e){if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",i=e.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=t(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueName=function(e){var t=ue.asn1.x509.OID.name2oid(e);if(""===t)throw"DERObjectIdentifier oidName undefined: "+e;this.setValueOidString(t)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):void 0!==e.oid?this.setValueOidString(e.oid):void 0!==e.hex?this.setValueHex(e.hex):void 0!==e.name&&this.setValueName(e.name))},o.lang.extend(ue.asn1.DERObjectIdentifier,ue.asn1.ASN1Object),ue.asn1.DEREnumerated=function(e){ue.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=ue.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new w(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},o.lang.extend(ue.asn1.DEREnumerated,ue.asn1.ASN1Object),ue.asn1.DERUTF8String=function(e){ue.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},o.lang.extend(ue.asn1.DERUTF8String,ue.asn1.DERAbstractString),ue.asn1.DERNumericString=function(e){ue.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},o.lang.extend(ue.asn1.DERNumericString,ue.asn1.DERAbstractString),ue.asn1.DERPrintableString=function(e){ue.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},o.lang.extend(ue.asn1.DERPrintableString,ue.asn1.DERAbstractString),ue.asn1.DERTeletexString=function(e){ue.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},o.lang.extend(ue.asn1.DERTeletexString,ue.asn1.DERAbstractString),ue.asn1.DERIA5String=function(e){ue.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},o.lang.extend(ue.asn1.DERIA5String,ue.asn1.DERAbstractString),ue.asn1.DERUTCTime=function(e){ue.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=_e(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=_e(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{12}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date))},o.lang.extend(ue.asn1.DERUTCTime,ue.asn1.DERAbstractTime),ue.asn1.DERGeneralizedTime=function(e){ue.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=_e(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=_e(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{14}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date),!0===e.millis&&(this.withMillis=!0))},o.lang.extend(ue.asn1.DERGeneralizedTime,ue.asn1.DERAbstractTime),ue.asn1.DERSequence=function(e){ue.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var e="",t=0;t<this.asn1Array.length;t++)e+=this.asn1Array[t].getEncodedHex();return this.hV=e,this.hV}},o.lang.extend(ue.asn1.DERSequence,ue.asn1.DERAbstractStructured),ue.asn1.DERSet=function(e){ue.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,t=0;t<this.asn1Array.length;t++)e.push(this.asn1Array[t].getEncodedHex());return 1==this.sortFlag&&e.sort(),this.hV=e.join(""),this.hV},void 0!==e&&void 0!==e.sortflag&&0==e.sortflag&&(this.sortFlag=!1)},o.lang.extend(ue.asn1.DERSet,ue.asn1.DERAbstractStructured),ue.asn1.DERTaggedObject=function(e){ue.asn1.DERTaggedObject.
vendor: 6,286 bytes, line 1
1superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,t,n){this.hT=t,this.isExplicit=e,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.tag&&(this.hT=e.tag),void 0!==e.explicit&&(this.isExplicit=e.explicit),void 0!==e.obj&&(this.asn1Object=e.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},o.lang.extend(ue.asn1.DERTaggedObject,ue.asn1.ASN1Object);var ue,ce,he,de=new function(){};function fe(e){for(var t=new Array,n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}function pe(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}function ge(e){for(var t="",n=0;n<e.length;n++){var r=e[n].toString(16);1==r.length&&(r="0"+r),t+=r}return t}function _e(e){return ge(fe(e))}function Ae(e){return(e=(e=e.replace(/\=/g,"")).replace(/\+/g,"-")).replace(/\//g,"_")}function ve(e){return e.length%4==2?e+="==":e.length%4==3&&(e+="="),(e=e.replace(/-/g,"+")).replace(/_/g,"/")}function me(e){return e.length%2==1&&(e="0"+e),Ae(y(e))}function ye(e){return b(ve(e))}function be(e){return De(Le(e))}function Ce(e){return decodeURIComponent(Me(e))}function we(e){for(var t="",n=0;n<e.length-1;n+=2)t+=String.fromCharCode(parseInt(e.substr(n,2),16));return t}function ke(e){for(var t="",n=0;n<e.length;n++)t+=("0"+e.charCodeAt(n).toString(16)).slice(-2);return t}function Ee(e){return y(e)}function Se(e){return Ee(e).replace(/(.{64})/g,"$1\r\n").replace(/\r\n$/,"")}function Oe(e){return b(e.replace(/[^0-9A-Za-z\/+=]*/g,""))}function xe(e,t){return"-----BEGIN "+t+"-----\r\n"+Se(e)+"\r\n-----END "+t+"-----\r\n"}function Pe(e,t){if(-1==e.indexOf("-----BEGIN "))throw"can't find PEM header: "+t;return Oe(e=void 0!==t?(e=e.replace("-----BEGIN "+t+"-----","")).replace("-----END "+t+"-----",""):(e=e.replace(/-----BEGIN [^-]+-----/,"")).replace(/-----END [^-]+-----/,""))}function Te(e){var t,n,r,i,o,a,s,l,u,c,h;if(h=e.match(/^(\d{2}|\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(|\.\d+)Z$/))return l=h[1],t=parseInt(l),2===l.length&&(50<=t&&t<100?t=1900+t:0<=t&&t<50&&(t=2e3+t)),n=parseInt(h[2])-1,r=parseInt(h[3]),i=parseInt(h[4]),o=parseInt(h[5]),a=parseInt(h[6]),s=0,""!==(u=h[7])&&(c=(u.substr(1)+"00").substr(0,3),s=parseInt(c)),Date.UTC(t,n,r,i,o,a,s);throw"unsupported zulu format: "+e}function Be(e){return~~(Te(e)/1e3)}function De(e){return e.replace(/%/g,"")}function Me(e){return e.replace(/(..)/g,"%$1")}function Ie(e){var t="malformed IPv6 address";if(!e.match(/^[0-9A-Fa-f:]+$/))throw t;var n=(e=e.toLowerCase()).split(":").length-1;if(n<2)throw t;var r=":".repeat(7-n+2),i=(e=e.replace("::",r)).split(":");if(8!=i.length)throw t;for(var o=0;o<8;o++)i[o]=("0000"+i[o]).slice(-4);return i.join("")}function Re(e){if(!e.match(/^[0-9A-Fa-f]{32}$/))throw"malformed IPv6 address octet";for(var t=(e=e.toLowerCase()).match(/.{1,4}/g),n=0;n<8;n++)t[n]=t[n].replace(/^0+/,""),""==t[n]&&(t[n]="0");var r=(e=":"+t.join(":")+":").match(/:(0:){2,}/g);if(null===r)return e.slice(1,-1);var i="";for(n=0;n<r.length;n++)r[n].length>i.length&&(i=r[n]);return(e=e.replace(i,"::")).slice(1,-1)}function Fe(e){var t="malformed hex value";if(!e.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw t;if(8!=e.length)return 32==e.length?Re(e):e;try{return parseInt(e.substr(0,2),16)+"."+parseInt(e.substr(2,2),16)+"."+parseInt(e.substr(4,2),16)+"."+parseInt(e.substr(6,2),16)}catch(e){throw t}}function Le(e){for(var t=encodeURIComponent(e),n="",r=0;r<t.length;r++)"%"==t[r]?(n+=t.substr(r,3),r+=2):n=n+"%"+_e(t[r]);return n}function Ue(e){return e.length%2==1?"0"+e:e.substr(0,1)>"7"?"00"+e:e}de.getLblen=function(e,t){if("8"!=e.substr(t+2,1))return 1;var n=parseInt(e.substr(t+3,1));return 0==n?-1:0<n&&n<10?n+1:-2},de.getL=function(e,t){var n=de.getLblen(e,t);return n<1?"":e.substr(t+2,2*n)},de.getVblen=function(e,t){var n;return""==(n=de.getL(e,t))?-1:("8"===n.substr(0,1)?new w(n.substr(2),16):new w(n,16)).intValue()},de.getVidx=function(e,t){var n=de.getLblen(e,t);return n<0?n:t+2*(n+1)},de.getV=function(e,t){var n=de.getVidx(e,t),r=de.getVblen(e,t);return e.substr(n,2*r)},de.getTLV=function(e,t){return e.substr(t,2)+de.getL(e,t)+de.getV(e,t)},de.getNextSiblingIdx=function(e,t){return de.getVidx(e,t)+2*de.getVblen(e,t)},de.getChildIdx=function(e,t){var n=de,r=new Array,i=n.getVidx(e,t);"03"==e.substr(t,2)?r.push(i+2):r.push(i);for(var o=n.getVblen(e,t),a=i,s=0;;){var l=n.getNextSiblingIdx(e,a);if(null==l||l-i>=2*o)break;if(s>=200)break;r.push(l),a=l,s++}return r},de.getNthChildIdx=function(e,t,n){return de.getChildIdx(e,t)[n]},de.getIdxbyList=function(e,t,n,r){var i,o,a=de;if(0==n.length){if(void 0!==r&&e.substr(t,2)!==r)throw"checking tag doesn't match: "+e.substr(t,2)+"!="+r;return t}return i=n.shift(),o=a.getChildIdx(e,t),a.getIdxbyList(e,o[i],n,r)},de.getTLVbyList=function(e,t,n,r){var i=de,o=i.getIdxbyList(e,t,n);if(void 0===o)throw"can't find nthList object";if(void 0!==r&&e.substr(o,2)!=r)throw"checking tag doesn't match: "+e.substr(o,2)+"!="+r;return i.getTLV(e,o)},de.getVbyList=function(e,t,n,r,i){var o,a,s=de;if(void 0===(o=s.getIdxbyList(e,t,n,r)))throw"can't find nthList object";return a=s.getV(e,o),!0===i&&(a=a.substr(2)),a},de.hextooidstr=function(e){var t=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},n=[],r=e.substr(0,2),i=parseInt(r,16);n[0]=new String(Math.floor(i/40)),n[1]=new String(i%40);for(var o=e.substr(2),a=[],s=0;s<o.length/2;s++)a.push(parseInt(o.substr(2*s,2),16));var l=[],u="";for(s=0;s<a.length;s++)128&a[s]?u+=t((127&a[s]).toString(2),7):(u+=t((127&a[s]).toString(2),7),l.push(new String(parseInt(u,2))),u="");var c=n.join(".");return l.length>0&&(c=c+"."+l.join(".")),c},de.dump=function(e,t,n,r){var i=de,o=i.getV,a=i.dump,s=i.getChildIdx,l=e;e instanceof ue.asn1.ASN1Object&&(l=e.getEncodedHex());var u=function(e,t){return e.length<=2*t?e:e.substr(0,t)+"..(total "+e.length/2+"bytes).."+e.substr(e.length-t,t)};void 0===t&&(t={ommit_long_octet:32}),void 0===n&&(n=0),void 0===r&&(r="");var c=t.ommit_long_octet;if("01"==l.substr(n,2))return"00"==(h=o(l,n))?r+"BOOLEAN FALSE\n":r
1+"BOOLEAN TRUE\n";if("02"==l.substr(n,2))return r+"INTEGER "+u(h=o(l,n),c)+"\n";if("03"==l.substr(n,2))return r+"BITSTRING "+u(h=o(l,n),c)+"\n";if("04"==l.substr(n,2)){var h=o(l,n);return i.isASN1HEX(h)?(C=r+"OCTETSTRING, encapsulates\n")+a(h,t,0,r+" "):r+"OCTETSTRING "+u(h,c)+"\n"}if("05"==l.substr(n,2))return r+"NULL\n";if("06"==l.substr(n,2)){var d=o(l,n),f=ue.asn1.ASN1Util.oidHexToInt(d),p=ue.asn1.x509.OID.oid2name(f),g=f.replace(/\./g," ");return""!=p?r+"ObjectIdentifier "+p+" ("+g+")\n":r+"ObjectIdentifier ("+g+")\n"}if("0c"==l.substr(n,2))return r+"UTF8String '"+Ce(o(l,n))+"'\n";if("13"==l.substr(n,2))return r+"PrintableString '"+Ce(o(l,n))+"'\n";if("14"==l.substr(n,2))return r+"TeletexString '"+Ce(o(l,n))+"'\n";if("16"==l.substr(n,2))return r+"IA5String '"+Ce(o(l,n))+"'\n";if("17"==l.substr(n,2))return r+"UTCTime "+Ce(o(l,n))+"\n";if("18"==l.substr(n,2))return r+"GeneralizedTime "+Ce(o(l,n))+"\n";if("30"==l.substr(n,2)){if("3000"==l.substr(n,4))return r+"SEQUENCE {}\n";C=r+"SEQUENCE\n";var _=t;if((2==(m=s(l,n)).length||3==m.length)&&"06"==l.substr(m[0],2)&&"04"==l.substr(m[m.length-1],2)){p=i.oidname(o(l,m[0]));var A=JSON.parse(JSON.stringify(t));A.x509ExtName=p,_=A}for(var v=0;v<m.length;v++)C+=a(l,_,m[v],r+" ");return C}if("31"==l.substr(n,2)){C=r+"SET\n";var m=s(l,n);for(v=0;v<m.length;v++)C+=a(l,t,m[v],r+" ");return C}var y=parseInt(l.substr(n,2),16);if(0!=(128&y)){var b=31&y;if(0!=(32&y)){var C=r+"["+b+"]\n";for(m=s(l,n),v=0;v<m.length;v++)C+=a(l,t,m[v],r+" ");return C}return"68747470"==(h=o(l,n)).substr(0,8)&&(h=Ce(h)),"subjectAltName"===t.x509ExtName&&2==b&&(h=Ce(h)),r+"["+b+"] "+h+"\n"}return r+"UNKNOWN("+l.substr(n,2)+") "+o(l,n)+"\n"},de.isASN1HEX=function(e){var t=de;if(e.length%2==1)return!1;var n=t.getVblen(e,0),r=e.substr(0,2),i=t.getL(e,0);return e.length-r.length-i.length==2*n},de.oidname=function(e){var t=ue.asn1;ue.lang.String.isHex(e)&&(e=t.ASN1Util.oidHexToInt(e));var n=t.x509.OID.oid2name(e);return""===n&&(n=e),n},void 0!==ue&&ue||(t.KJUR=ue={}),void 0!==ue.lang&&ue.lang||(ue.lang={}),ue.lang.String=function(){},"function"==typeof e?(t.utf8tob64u=ce=function(t){return Ae(new e(t,"utf8").toString("base64"))},t.b64utoutf8=he=function(t){return new e(ve(t),"base64").toString("utf8")}):(t.utf8tob64u=ce=function(e){return me(De(Le(e)))},t.b64utoutf8=he=function(e){return decodeURIComponent(Me(ye(e)))}),ue.lang.String.isInteger=function(e){return!!e.match(/^[0-9]+$/)||!!e.match(/^-[0-9]+$/)},ue.lang.String.isHex=function(e){return!(e.length%2!=0||!e.match(/^[0-9a-f]+$/)&&!e.match(/^[0-9A-F]+$/))},ue.lang.String.isBase64=function(e){return!(!(e=e.replace(/\s+/g,"")).match(/^[0-9A-Za-z+\/]+={0,3}$/)||e.length%4!=0)},ue.lang.String.isBase64URL=function(e){return!e.match(/[+/=]/)&&(e=ve(e),ue.lang.String.isBase64(e))},ue.lang.String.isIntegerArray=function(e){return!!(e=e.replace(/\s+/g,"")).match(/^\[[0-9,]+\]$/)},void 0!==ue&&ue||(t.KJUR=ue={}),void 0!==ue.crypto&&ue.crypto||(ue.crypto={}),ue.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},this.DEFAULTPROVIDER={md5:"cryptojs",sha1:"cryptojs",sha224:"cryptojs",sha256:"cryptojs",sha384:"cryptojs",sha512:"cryptojs",ripemd160:"cryptojs",hmacmd5:"cryptojs",hmacsha1:"cryptojs",hmacsha224:"cryptojs",hmacsha256:"cryptojs",hmacsha384:"cryptojs",hmacsha512:"cryptojs",hmacripemd160:"cryptojs",MD5withRSA:"cryptojs/jsrsa",SHA1withRSA:"cryptojs/jsrsa",SHA224withRSA:"cryptojs/jsrsa",SHA256withRSA:"cryptojs/jsrsa",SHA384withRSA:"cryptojs/jsrsa",SHA512withRSA:"cryptojs/jsrsa",RIPEMD160withRSA:"cryptojs/jsrsa",MD5withECDSA:"cryptojs/jsrsa",SHA1withECDSA:"cryptojs/jsrsa",SHA224withECDSA:"cryptojs/jsrsa",SHA256withECDSA:"cryptojs/jsrsa",SHA384withECDSA:"cryptojs/jsrsa",SHA512withECDSA:"cryptojs/jsrsa",RIPEMD160withECDSA:"cryptojs/jsrsa",SHA1withDSA:"cryptojs/jsrsa",SHA224withDSA:"cryptojs/jsrsa",SHA256withDSA:"cryptojs/jsrsa",MD5withRSAandMGF1:"cryptojs/jsrsa",SHA1withRSAandMGF1:"cryptojs/jsrsa",SHA224withRSAandMGF1:"cryptojs/jsrsa",SHA256withRSAandMGF1:"cryptojs/jsrsa",SHA384withRSAandMGF1:"cryptojs/jsrsa",SHA512withRSAandMGF1:"cryptojs/jsrsa",RIPEMD160withRSAandMGF1:"cryptojs/jsrsa"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:A.algo.MD5,sha1:A.algo.SHA1,sha224:A.algo.SHA224,sha256:A.algo.SHA256,sha384:A.algo.SHA384,sha512:A.algo.SHA512,ripemd160:A.algo.RIPEMD160},this.getDigestInfoHex=function(e,t){if(void 0===this.DIGESTINFOHEAD[t])throw"alg not supported in Util.DIGESTINFOHEAD: "+t;return this.DIGESTINFOHEAD[t]+e},this.getPaddedDigestInfoHex=function(e,t,n){var r=this.getDigestInfoHex(e,t),i=n/4;if(r.length+22>i)throw"key is too short for SigAlg: keylen="+n+","+t;for(var o="0001",a="00"+r,s="",l=i-o.length-a.length,u=0;u<l;u+=2)s+="ff";return o+s+a},this.hashString=function(e,t){return new ue.crypto.MessageDigest({alg:t}).digestString(e)},this.hashHex=function(e,t){return new ue.crypto.MessageDigest({alg:t}).digestHex(e)},this.sha1=function(e){return new ue.crypto.MessageDigest({alg:"sha1",prov:"cryptojs"}).digestString(e)},this.sha256=function(e){return new ue.crypto.MessageDigest({alg:"sha256",prov:"cryptojs"}).digestString(e)},this.sha256Hex=function(e){return new ue.crypto.MessageDigest({alg:"sha256",prov:"cryptojs"}).digestHex(e)},this.sha512=function(e){return new ue.crypto.MessageDigest({alg:"sha512",prov:"cryptojs"}).digestString(e)},this.sha512Hex=function(e){return new ue.crypto.MessageDigest({alg:"sha512",prov:"cryptojs"}).digestHex(e)}},ue.crypto.Util.md5=function(e){return new ue.crypto.MessageDigest({alg:"md5",prov:"cryptojs"}).digestString(e)},ue.crypto.Util.ripemd160=function(e){return new ue.crypto.MessageDigest({alg:"ripemd160",prov:"cryptojs"}).digestString(e)}
vendor: 21,562 bytes, line 1
1,ue.crypto.Util.SECURERANDOMGEN=new te,ue.crypto.Util.getRandomHexOfNbytes=function(e){var t=new Array(e);return ue.crypto.Util.SECURERANDOMGEN.nextBytes(t),ge(t)},ue.crypto.Util.getRandomBigIntegerOfNbytes=function(e){return new w(ue.crypto.Util.getRandomHexOfNbytes(e),16)},ue.crypto.Util.getRandomHexOfNbits=function(e){var t=e%8,n=new Array((e-t)/8+1);return ue.crypto.Util.SECURERANDOMGEN.nextBytes(n),n[0]=(255<<t&255^255)&n[0],ge(n)},ue.crypto.Util.getRandomBigIntegerOfNbits=function(e){return new w(ue.crypto.Util.getRandomHexOfNbits(e),16)},ue.crypto.Util.getRandomBigIntegerZeroToMax=function(e){for(var t=e.bitLength();;){var n=ue.crypto.Util.getRandomBigIntegerOfNbits(t);if(-1!=e.compareTo(n))return n}},ue.crypto.Util.getRandomBigIntegerMinToMax=function(e,t){var n=e.compareTo(t);if(1==n)throw"biMin is greater than biMax";if(0==n)return e;var r=t.subtract(e);return ue.crypto.Util.getRandomBigIntegerZeroToMax(r).add(e)},ue.crypto.MessageDigest=function(e){this.setAlgAndProvider=function(e,t){if(null!==(e=ue.crypto.MessageDigest.getCanonicalAlgName(e))&&void 0===t&&(t=ue.crypto.Util.DEFAULTPROVIDER[e]),-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(e)&&"cryptojs"==t){try{this.md=ue.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[e].create()}catch(t){throw"setAlgAndProvider hash alg set fail alg="+e+"/"+t}this.updateString=function(e){this.md.update(e)},this.updateHex=function(e){var t=A.enc.Hex.parse(e);this.md.update(t)},this.digest=function(){return this.md.finalize().toString(A.enc.Hex)},this.digestString=function(e){return this.updateString(e),this.digest()},this.digestHex=function(e){return this.updateHex(e),this.digest()}}if(-1!=":sha256:".indexOf(e)&&"sjcl"==t){try{this.md=new sjcl.hash.sha256}catch(t){throw"setAlgAndProvider hash alg set fail alg="+e+"/"+t}this.updateString=function(e){this.md.update(e)},this.updateHex=function(e){var t=sjcl.codec.hex.toBits(e);this.md.update(t)},this.digest=function(){var e=this.md.finalize();return sjcl.codec.hex.fromBits(e)},this.digestString=function(e){return this.updateString(e),this.digest()},this.digestHex=function(e){return this.updateHex(e),this.digest()}}},this.updateString=function(e){throw"updateString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.updateHex=function(e){throw"updateHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digest=function(){throw"digest() not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestString=function(e){throw"digestString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestHex=function(e){throw"digestHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},void 0!==e&&void 0!==e.alg&&(this.algName=e.alg,void 0===e.prov&&(this.provName=ue.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName))},ue.crypto.MessageDigest.getCanonicalAlgName=function(e){return"string"==typeof e&&(e=(e=e.toLowerCase()).replace(/-/,"")),e},ue.crypto.MessageDigest.getHashLength=function(e){var t=ue.crypto.MessageDigest,n=t.getCanonicalAlgName(e);if(void 0===t.HASHLENGTH[n])throw"not supported algorithm: "+e;return t.HASHLENGTH[n]},ue.crypto.MessageDigest.HASHLENGTH={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,ripemd160:20},ue.crypto.Mac=function(e){this.setAlgAndProvider=function(e,t){if(null==(e=e.toLowerCase())&&(e="hmacsha1"),"hmac"!=(e=e.toLowerCase()).substr(0,4))throw"setAlgAndProvider unsupported HMAC alg: "+e;void 0===t&&(t=ue.crypto.Util.DEFAULTPROVIDER[e]),this.algProv=e+"/"+t;var n=e.substr(4);if(-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(n)&&"cryptojs"==t){try{this.mac=A.algo.HMAC.create(ue.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[n],this.pass)}catch(e){throw"setAlgAndProvider hash alg set fail hashAlg="+n+"/"+e}this.updateString=function(e){this.mac.update(e)},this.updateHex=function(e){var t=A.enc.Hex.parse(e);this.mac.update(t)},this.doFinal=function(){return this.mac.finalize().toString(A.enc.Hex)},this.doFinalString=function(e){return this.updateString(e),this.doFinal()},this.doFinalHex=function(e){return this.updateHex(e),this.doFinal()}}},this.updateString=function(e){throw"updateString(str) not supported for this alg/prov: "+this.algProv},this.updateHex=function(e){throw"updateHex(hex) not supported for this alg/prov: "+this.algProv},this.doFinal=function(){throw"digest() not supported for this alg/prov: "+this.algProv},this.doFinalString=function(e){throw"digestString(str) not supported for this alg/prov: "+this.algProv},this.doFinalHex=function(e){throw"digestHex(hex) not supported for this alg/prov: "+this.algProv},this.setPassword=function(e){if("string"==typeof e){var t=e;return e.length%2!=1&&e.match(/^[0-9A-Fa-f]+$/)||(t=ke(e)),void(this.pass=A.enc.Hex.parse(t))}if("object"!=(void 0===e?"undefined":n(e)))throw"KJUR.crypto.Mac unsupported password type: "+e;if(t=null,void 0!==e.hex){if(e.hex.length%2!=0||!e.hex.match(/^[0-9A-Fa-f]+$/))throw"Mac: wrong hex password: "+e.hex;t=e.hex}if(void 0!==e.utf8&&(t=be(e.utf8)),void 0!==e.rstr&&(t=ke(e.rstr)),void 0!==e.b64&&(t=b(e.b64)),void 0!==e.b64u&&(t=ye(e.b64u)),null==t)throw"KJUR.crypto.Mac unsupported password type: "+e;this.pass=A.enc.Hex.parse(t)},void 0!==e&&(void 0!==e.pass&&this.setPassword(e.pass),void 0!==e.alg&&(this.algName=e.alg,void 0===e.prov&&(this.provName=ue.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName)))},ue.crypto.Signature=function(e){var t=null;if(this._setAlgNames=function(){var e=this.algName.match(/^(.+)with(.+)$/);e&&(this.mdAlgName=e[1].toLowerCase(),this.pubkeyAlgName=e[2].toLowerCase())},this._zeroPaddingOfSignature=function(e,t){for(var n="",r=t/4-e.length,i=0;i<r;i++)n+="0";return n+e},this.setAlgAndProvider=function(e,t){if(this._setAlgNames(),"cryptojs/jsrsa"!=t)throw"provider not supported: "+t;if(-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(this.mdAlgName)){try{this.md=new ue.crypto.MessageDigest({alg:this.mdAlgName})}catch(e){throw"setAlgAndProvider hash alg set fail alg="+this.mdAlgName+"/"+e}this.init=function(e,t){var n=null;try{n=void 0===t?Ne.getKey(e):Ne.getKey(e,t)}catch(e){throw"init failed:"+e}if(!0===n.isPrivate)this.prvKey=n,this.state="SIGN";else{if(!0!==n.isPublic)throw"init failed.:"+n;this.pubKey=n,this.state="VERIFY"}},this.updateString=function(e){this.md.updateString(e)},this.updateHex=function(e){this.md.updateHex(e)},this.sign=function(){if(this.sHashHex=this.md.digest(),void 0!==this.ecprvhex&&void 0!==this.eccurvename){var e=new ue.crypto.ECDSA({curve:this.eccurvename});this.hSign=e.signHex(this.sHashHex,this.ecprvhex)}else if(this.prvKey instanceof ie&&"rsaandmgf1"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHashPSS(this.sHashHex,this.mdAlgName,this.pssSaltLen);else if(this.prvKey instanceof ie&&"rsa"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex,this.mdAlgName);else if(this.prvKey instanceof ue.crypto.ECDSA)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex);else{if(!(this.prvKey instanceof ue.crypto.DSA))throw"Signature: unsupported private key alg: "+this.pubkeyAlgName;this.hSign=this.prvKey.signWithMessageHash(this.sHashHex)}return this.hSign},this.signString=function(e){return this.updateString(e),this.sign()},this.signHex=function(e){return this.updateHex(e),this.sign()},this.verify=function(e){if(this.sHashHex=this.md.digest(),void 0!==this.ecpubhex&&void 0!==this.eccurvename)return new ue.crypto.ECDSA({curve:this.eccurvename}).verifyHex(this.sHashHex,e,this.ecpubhex);if(this.pubKey instanceof ie&&"rsaandmgf1"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHashPSS(this.sHashHex,e,this.mdAlgName,this.pssSaltLen);if(this.pubKey instanceof ie&&"rsa"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHash(this.sHashHex,e);if(void 0!==ue.crypto.ECDSA&&this.pubKey instanceof ue.crypto.ECDSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,e);if(void 0!==ue.crypto.DSA&&this.pubKey instanceof ue.crypto.DSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,e);throw"Signature: unsupported public key alg: "+this.pubkeyAlgName}}},this.init=function(e,t){throw"init(key, pass) not supported for this alg:prov="+this.algProvName},this.updateString=function(e){throw"updateString(str) not supported for this alg:prov="+this.algProvName},this.updateHex=function(e){throw"updateHex(hex) not supported for this alg:prov="+this.algProvName},this.sign=function(){throw"sign() not supported for this alg:prov="+this.algProvName},this.signString=function(e){throw"digestString(str) not supported for this alg:prov="+this.algProvName},this.signHex=function(e){throw"digestHex(hex) not supported for this alg:prov="+this.algProvName},this.verify=function(e){throw"verify(hSigVal) not supported for this alg:prov="+this.algProvName},this.initParams=e,void 0!==e&&(void 0!==e.alg&&(this.algName=e.alg,this.provName=void 0===e.prov?ue.crypto.Util.DEFAULTPROVIDER[this.algName]:e.prov,this.algProvName=this.algName+":"+this.provName,this.setAlgAndProvider(this.algName,this.provName),this._setAlgNames()),void 0!==e.psssaltlen&&(this.pssSaltLen=e.psssaltlen),void 0!==e.prvkeypem)){if(void 0!==e.prvkeypas)throw"both prvkeypem and prvkeypas parameters not supported";try{t=Ne.getKey(e.prvkeypem),this.init(t)}catch(e){throw"fatal error to load pem private key: "+e}}},ue.crypto.Cipher=function(e){},ue.crypto.Cipher.encrypt=function(e,t,n){if(t instanceof ie&&t.isPublic){var r=ue.crypto.Cipher.getAlgByKeyAndName(t,n);if("RSA"===r)return t.encrypt(e);if("RSAOAEP"===r)return t.encryptOAEP(e,"sha1");var i=r.match(/^RSAOAEP(\d+)$/);if(null!==i)return t.encryptOAEP(e,"sha"+i[1]);throw"Cipher.encrypt: unsupported algorithm for RSAKey: "+n}throw"Cipher.encrypt: unsupported key or algorithm"},ue.crypto.Cipher.decrypt=function(e,t,n){if(t instanceof ie&&t.isPrivate){var r=ue.crypto.Cipher.getAlgByKeyAndName(t,n);if("RSA"===r)return t.decrypt(e);if("RSAOAEP"===r)return t.decryptOAEP(e,"sha1");var i=r.match(/^RSAOAEP(\d+)$/);if(null!==i)return t.decryptOAEP(e,"sha"+i[1]);throw"Cipher.decrypt: unsupported algorithm for RSAKey: "+n}throw"Cipher.decrypt: unsupported key or algorithm"},ue.crypto.Cipher.getAlgByKeyAndName=function(e,t){if(e instanceof ie){if(-1!=":RSA:RSAOAEP:RSAOAEP224:RSAOAEP256:RSAOAEP384:RSAOAEP512:".indexOf(t))return t;if(null==t)return"RSA";throw"getAlgByKeyAndName: not supported algorithm name for RSAKey: "+t}throw"getAlgByKeyAndName: not supported algorithm name: "+t},ue.crypto.OID=new function(){this.oidhex2name={"2a864886f70d010101":"rsaEncryption","2a8648ce3d0201":"ecPublicKey","2a8648ce380401":"dsa","2a8648ce3d030107":"secp256r1","2b8104001f":"secp192k1","2b81040021":"secp224r1","2b8104000a":"secp256k1","2b81040023":"secp521r1","2b81040022":"secp384r1","2a8648ce380403":"SHA1withDSA","608648016503040301":"SHA224withDSA","608648016503040302":"SHA256withDSA"}},void 0!==ue&&ue||(t.KJUR=ue={}),void 0!==ue.crypto&&ue.crypto||(ue.crypto={}),ue.crypto.ECDSA=function(e){var t=new te;this.type="EC",this.isPrivate=!1,this.isPublic=!1,this.getBigRandom=function(e){return new w(e.bitLength(),t).mod(e.subtract(w.ONE)).add(w.ONE)},this.setNamedCurve=function(e){this.ecparams=ue.crypto.ECParameterDB.getByName(e),this.prvKeyHex=null,this.pubKeyHex=null,this.curveName=e},this.setPrivateKeyHex=function(e){this.isPrivate=!0,this.prvKeyHex=e},this.setPublicKeyHex=function(e){this.isPublic=!0,this.pubKeyHex=e},this.getPublicKeyXYHex=function(){var e=this.pubKeyHex;if("04"!==e.substr(0,2))throw"this method supports uncompressed format(04) only";var t=this.ecparams.keylen/4;if(e.length!==2+2*t)throw"malformed public key hex length";var n={};return n.x=e.substr(2,t),n.y=e.substr(2+t),n},this.getShortNISTPCurveName=function(){var e=this.curveName;return"secp256r1"===e||"NIST P-256"===e||"P-256"===e||"prime256v1"===e?"P-256":"secp384r1"===e||"NIST P-384"===e||"P-384"===e?"P-384":null},this.generateKeyPairHex=function(){var e=this.getBigRandom(this.ecparams.n),t=this.ecparams.G.multiply(e),n=t.getX().toBigInteger(),r=t.getY().toBigInteger(),i=this.ecparams.keylen/4,o=("0000000000"+e.toString(16)).slice(-i),a="04"+("0000000000"+n.toString(16)).slice(-i)+("0000000000"+r.toString(16)).slice(-i);return this.setPrivateKeyHex(o),this.setPublicKeyHex(a),{ecprvhex:o,ecpubhex:a}},this.signWithMessageHash=function(e){return this.signHex(e,this.prvKeyHex)},this.signHex=function(e,t){var n=new w(t,16),r=this.ecparams.n,i=new w(e,16);do{var o=this.getBigRandom(r),a=this.ecparams.G.multiply(o).getX().toBigInteger().mod(r)}while(a.compareTo(w.ZERO)<=0);var s=o.modInverse(r).multiply(i.add(n.multiply(a))).mod(r);return ue.crypto.ECDSA.biRSSigToASN1Sig(a,s)},this.sign=function(e,t){var n=t,r=this.ecparams.n,i=w.fromByteArrayUnsigned(e);do{var o=this.getBigRandom(r),a=this.ecparams.G.multiply(o).getX().toBigInteger().mod(r)}while(a.compareTo(w.ZERO)<=0);var s=o.modInverse(r).multiply(i.add(n.multiply(a))).mod(r);return this.serializeSig(a,s)},this.verifyWithMessageHash=function(e,t){return this.verifyHex(e,t,this.pubKeyHex)},this.verifyHex=function(e,t,n){var r,i,o,a=ue.crypto.ECDSA.parseSigHex(t);r=a.r,i=a.s,o=ae.decodeFromHex(this.ecparams.curve,n);var s=new w(e,16);return this.verifyRaw(s,r,i,o)},this.verify=function(e,t,r){var i,o,a;if(Bitcoin.Util.isArray(t)){var s=this.parseSig(t);i=s.r,o=s.s}else{if("object"!==(void 0===t?"undefined":n(t))||!t.r||!t.s)throw"Invalid value for signature";i=t.r,o=t.s}if(r instanceof ae)a=r;else{if(!Bitcoin.Util.isArray(r))throw"Invalid format for pubkey value, must be byte array or ECPointFp";a=ae.decodeFrom(this.ecparams.curve,r)}var l=w.fromByteArrayUnsigned(e);return this.verifyRaw(l,i,o,a)},this.verifyRaw=function(e,t,n,r){var i=this.ecparams.n,o=this.ecparams.G;if(t.compareTo(w.ONE)<0||t.compareTo(i)>=0)return!1;if(n.compareTo(w.ONE)<0||n.compareTo(i)>=0)return!1;var a=n.modInverse(i),s=e.multiply(a).mod(i),l=t.multiply(a).mod(i);return o.multiply(s).add(r.multiply(l)).getX().toBigInteger().mod(i).equals(t)},this.serializeSig=function(e,t){var n=e.toByteArraySigned(),r=t.toByteArraySigned(),i=[];return i.push(2),i.push(n.length),(i=i.concat(n)).push(2),i.push(r.length),(i=i.concat(r)).unshift(i.length),i.unshift(48),i},this.parseSig=function(e){var t;if(48!=e[0])throw new Error("Signature not a valid DERSequence");if(2!=e[t=2])throw new Error("First element in signature must be a DERInteger");var n=e.slice(t+2,t+2+e[t+1]);if(2!=e[t+=2+e[t+1]])throw new Error("Second element in signature must be a DERInteger");var r=e.slice(t+2,t+2+e[t+1]);return t+=2+e[t+1],{r:w.fromByteArrayUnsigned(n),s:w.fromByteArrayUnsigned(r)}},this.parseSigCompact=function(e){if(65!==e.length)throw"Signature has the wrong length";var t=e[0]-27;if(t<0||t>7)throw"Invalid signature type";var n=this.ecparams.n;return{r:w.fromByteArrayUnsigned(e.slice(1,33)).mod(n),s:w.fromByteArrayUnsigned(e.slice(33,65)).mod(n),i:t}},this.readPKCS5PrvKeyHex=function(e){var t,n,r,i=ue.crypto.ECDSA.getName,o=de.getVbyList;if(!1===de.isASN1HEX(e))throw"not ASN.1 hex string";try{t=o(e,0,[2,0],"06"),n=o(e,0,[1],"04");try{r=o(e,0,[3,0],"03").substr(2)}catch(e){}}catch(e){throw"malformed PKCS#1/5 plain ECC private key"}if(this.curveName=i(t),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(r),this.setPrivateKeyHex(n),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(e){var t,n,r,i=ue.crypto.ECDSA.getName,o=de.getVbyList;if(!1===de.isASN1HEX(e))throw"not ASN.1 hex string";try{o(e,0,[1,0],"06"),t=o(e,0,[1,1],"06"),n=o(e,0,[2,0,1],"04");try{r=o(e,0,[2,0,2,0],"03").substr(2)}catch(e){}}catch(e){throw"malformed PKCS#8 plain ECC private key"}if(this.curveName=i(t),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(r),this.setPrivateKeyHex(n),this.isPublic=!1},this.readPKCS8PubKeyHex=function(e){var t,n,r=ue.crypto.ECDSA.getName,i=de.getVbyList;if(!1===de.isASN1HEX(e))throw"not ASN.1 hex string";try{i(e,0,[0,0],"06"),t=i(e,0,[0,1],"06"),n=i(e,0,[1],"03").substr(2)}catch(e){throw"malformed PKCS#8 ECC public key"}if(this.curveName=r(t),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n)},this.readCertPubKeyHex=function(e,t){5!==t&&(t=6);var n,r,i=ue.crypto.ECDSA.getName,o=de.getVbyList;if(!1===de.isASN1HEX(e))throw"not ASN.1 hex string";try{n=o(e,0,[0,t,0,1],"06"),r=o(e,0,[0,t,1],"03").substr(2)}catch(e){throw"malformed X.509 certificate ECC public key"}if(this.curveName=i(n),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(r)},void 0!==e&&void 0!==e.curve&&(this.curveName=e.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==e&&(void 0!==e.prv&&this.setPrivateKeyHex(e.prv),void 0!==e.pub&&this.setPublicKeyHex(e.pub))},ue.crypto.ECDSA.parseSigHex=function(e){var t=ue.crypto.ECDSA.parseSigHexInHexRS(e);return{r:new w(t.r,16),s:new w(t.s,16)}},ue.crypto.ECDSA.parseSigHexInHexRS=function(e){var t=de.getChildIdx,n=de.getV;if("30"!=e.substr(0,2))throw"signature is not a ASN.1 sequence";var r=t(e,0);if(2!=r.length)throw"number of signature ASN.1 sequence elements seem wrong";var i=r[0],o=r[1];if("02"!=e.substr(i,2))throw"1st item of sequene of signature is not ASN.1 integer";if("02"!=e.substr(o,2))throw"2nd item of sequene of signature is not ASN.1 integer";return{r:n(e,i),s:n(e,o)}},ue.crypto.ECDSA.asn1SigToConcatSig=function(e){var t=ue.crypto.ECDSA.parseSigHexInHexRS(e),n=t.r,r=t.s;if("00"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),"00"==r.substr(0,2)&&r.length%32==2&&(r=r.substr(2)),n.length%32==30&&(n="00"+n),r.length%32==30&&(r="00"+r),n.length%32!=0)throw"unknown ECDSA sig r length error";if(r.length%32!=0)throw"unknown ECDSA sig s length error";return n+r},ue.crypto.ECDSA.concatSigToASN1Sig=function(e){if(e.length/2*8%128!=0)throw"unknown ECDSA concatinated r-s sig length error";var t=e.substr(0,e.length/2),n=e.substr(e.length/2);return ue.crypto.ECDSA.hexRSSigToASN1Sig(t,n)},ue.crypto.ECDSA.hexRSSigToASN1Sig=function(e,t){var n=new w(e,16),r=new w(t,16);return ue.crypto.ECDSA.biRSSigToASN1Sig(n,r)},ue.crypto.ECDSA.biRSSigToASN1Sig=function(e,t){var n=ue.asn1,r=new n.DERInteger({bigint:e}),i=new n.DERInteger({bigint:t});return new n.DERSequence({array:[r,i]}).getEncodedHex()},ue.crypto.ECDSA.getName=function(e){return"2a8648ce3d030107"===e?"secp256r1":"2b8104000a"===e?"secp256k1":"2b81040022"===e?"secp384r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(e)?"secp256r1":-1!=="|secp256k1|".indexOf(e)?"secp256k1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(e)?"secp384r1":null},void 0!==ue&&ue||(t.KJUR=ue={}),void 0!==ue.crypto&&ue.crypto||(ue.crypto={}),ue.crypto.ECParameterDB=new function(){var e={},t={};function n(e){return new w(e,16)}this.getByName=function(n){var r=n;if(void 0!==t[r]&&(r=t[n]),void 0!==e[r])return e[r];throw"unregistered EC curve name: "+r},this.regist=function(r,i,o,a,s,l,u,c,h,d,f,p){e[r]={};var g=n(o),_=n(a),A=n(s),v=n(l),m=n(u),y=new se(g,_,A),b=y.decodePointHex("04"+c+h);e[r].name=r,e[r].keylen=i,e[r].curve=y,e[r].G=b,e[r].n=v,e[r].h=m,e[r].oid=f,e[r].info=p;for(var C=0;C<d.length;C++)t[d[C]]=r}},ue.crypto.ECParameterDB.regist("secp128r1",128,"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC","E87579C11079F43DD824993C2CEE5ED3","FFFFFFFE0000000075A30D1B9038A115","1","161FF7528B899B2D0C28607CA52C5B86","CF5AC8395BAFEB13C02DA292DDED7A83",[],"","secp128r1 : SECG curve over a 128 bit prime field"),ue.crypto.ECParameterDB.regist("secp160k1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73","0","7","0100000000000000000001B8FA16DFAB9ACA16B6B3","1","3B4C382CE37AA192A4019E763036F4F5DD4D7EBB","938CF935318FDCED6BC28286531733C3F03C4FEE",[],"","secp160k1 : SECG curve over a 160 bit prime field"),ue.crypto.ECParameterDB.regist("secp160r1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC","1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45","0100000000000000000001F4C8F927AED3CA752257","1","4A96B5688EF573284664698968C38BB913CBFC82","23A628553168947D59DCC912042351377AC5FB32",[],"","secp160r1 : SECG curve over a 160 bit prime field"),ue.crypto.ECParameterDB.regist("secp192k1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37","0","3","FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D","1","DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D","9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D",[]),ue.crypto.ECParameterDB.regist("secp192r1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC","64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1","FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831","1","188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012","07192B95FFC8DA78631011ED6B24CDD573F977A11E794811",[]),ue.crypto.ECParameterDB.regist("secp224r1",224,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE","B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4","FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D","1","B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21","BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34",[]),ue.crypto.ECParameterDB.regist("secp256k1",256,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F","0","7","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","1","79BE667EF9DCB
1BAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798","483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8",[]),ue.crypto.ECParameterDB.regist("secp256r1",256,"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC","5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B","FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551","1","6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296","4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5",["NIST P-256","P-256","prime256v1"]),ue.crypto.ECParameterDB.regist("secp384r1",384,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC","B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973","1","AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7","3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f",["NIST P-384","P-384"]),ue.crypto.ECParameterDB.regist("secp521r1",521,"1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC","051953EB9618E1C9A1F929A21A0B68540EEA2DA725B99B315F3B8B489918EF109E156193951EC7E937B1652C0BD3BB1BF073573DF883D2C34F1EF451FD46B503F00","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409","1","C6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66","011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650",["NIST P-521","P-521"]);var Ne=function(){var e=function(e,n,r){return t(A.AES,e,n,r)},t=function(e,t,n,r){var i=A.enc.Hex.parse(t),o=A.enc.Hex.parse(n),a=A.enc.Hex.parse(r),s={};s.key=o,s.iv=a,s.ciphertext=i;var l=e.decrypt(s,o,{iv:a});return A.enc.Hex.stringify(l)},n=function(e,t,n){return r(A.AES,e,t,n)},r=function(e,t,n,r){var i=A.enc.Hex.parse(t),o=A.enc.Hex.parse(n),a=A.enc.Hex.parse(r),s=e.encrypt(i,o,{iv:a}),l=A.enc.Hex.parse(s.toString());return A.enc.Base64.stringify(l)},i={"AES-256-CBC":{proc:e,eproc:n,keylen:32,ivlen:16},"AES-192-CBC":{proc:e,eproc:n,keylen:24,ivlen:16},"AES-128-CBC":{proc:e,eproc:n,keylen:16,ivlen:16},"DES-EDE3-CBC":{proc:function(e,n,r){return t(A.TripleDES,e,n,r)},eproc:function(e,t,n){return r(A.TripleDES,e,t,n)},keylen:24,ivlen:8},"DES-CBC":{proc:function(e,n,r){return t(A.DES,e,n,r)},eproc:function(e,t,n){return r(A.DES,e,t,n)},keylen:8,ivlen:8}},o=function(e){var t={},n=e.match(new RegExp("DEK-Info: ([^,]+),([0-9A-Fa-f]+)","m"));n&&(t.cipher=n[1],t.ivsalt=n[2]);var r=e.match(new RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"));r&&(t.type=r[1]);var i=-1,o=0;-1!=e.indexOf("\r\n\r\n")&&(i=e.indexOf("\r\n\r\n"),o=2),-1!=e.indexOf("\n\n")&&(i=e.indexOf("\n\n"),o=1);var a=e.indexOf("-----END");if(-1!=i&&-1!=a){var s=e.substring(i+2*o,a-o);s=s.replace(/\s+/g,""),t.data=s}return t},a=function(e,t,n){for(var r=n.substring(0,16),o=A.enc.Hex.parse(r),a=A.enc.Utf8.parse(t),s=i[e].keylen+i[e].ivlen,l="",u=null;;){var c=A.algo.MD5.create();if(null!=u&&c.update(u),c.update(a),c.update(o),u=c.finalize(),(l+=A.enc.Hex.stringify(u)).length>=2*s)break}var h={};return h.keyhex=l.substr(0,2*i[e].keylen),h.ivhex=l.substr(2*i[e].keylen,2*i[e].ivlen),h},s=function(e,t,n,r){var o=A.enc.Base64.parse(e),a=A.enc.Hex.stringify(o);return(0,i[t].proc)(a,n,r)};return{version:"1.0.0",parsePKCS5PEM:function(e){return o(e)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(e,t,n){return a(e,t,n)},decryptKeyB64:function(e,t,n,r){return s(e,t,n,r)},getDecryptedKeyHex:function(e,t){var n=o(e),r=n.cipher,i=n.ivsalt,l=n.data,u=a(r,t,i).keyhex;return s(l,r,u,i)},getEncryptedPKCS5PEMFromPrvKeyHex:function(e,t,n,r,o){var s="";if(void 0!==r&&null!=r||(r="AES-256-CBC"),void 0===i[r])throw"KEYUTIL unsupported algorithm: "+r;return void 0!==o&&null!=o||(o=function(e){var t=A.lib.WordArray.random(e);return A.enc.Hex.stringify(t)}(i[r].ivlen).toUpperCase()),s="-----BEGIN "+e+" PRIVATE KEY-----\r\n",s+="Proc-Type: 4,ENCRYPTED\r\n",s+="DEK-Info: "+r+","+o+"\r\n",s+="\r\n",(s+=function(e,t,n,r){return(0,i[t].eproc)(e,n,r)}(t,r,a(r,n,o).keyhex,o).replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+e+" PRIVATE KEY-----\r\n"}
vendor: 16,466 bytes, line 1
1,parseHexOfEncryptedPKCS8:function(t){var n=de.getChildIdx,r=de.getV,i={},o=n(t,0);if(2!=o.length)throw"malformed format: SEQUENCE(0).items != 2: "+o.length;i.ciphertext=r(t,o[1]);var a=n(t,o[0]);if(2!=a.length)throw"malformed format: SEQUENCE(0.0).items != 2: "+a.length;if("2a864886f70d01050d"!=r(t,a[0]))throw"this only supports pkcs5PBES2";var s=n(t,a[1]);if(2!=a.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+s.length;var l=n(t,s[1]);if(2!=l.length)throw"malformed format: SEQUENCE(0.0.1.1).items != 2: "+l.length;if("2a864886f70d0307"!=r(t,l[0]))throw"this only supports TripleDES";i.encryptionSchemeAlg="TripleDES",i.encryptionSchemeIV=r(t,l[1]);var u=n(t,s[0]);if(2!=u.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+u.length;if("2a864886f70d01050c"!=r(t,u[0]))throw"this only supports pkcs5PBKDF2";var c=n(t,u[1]);if(c.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+c.length;i.pbkdf2Salt=r(t,c[0]);var h=r(t,c[1]);try{i.pbkdf2Iter=parseInt(h,16)}catch(e){throw"malformed format pbkdf2Iter: "+h}return i},getPBKDF2KeyHexFromParam:function(e,t){var n=A.enc.Hex.parse(e.pbkdf2Salt),r=A.PBKDF2(t,n,{keySize:6,iterations:e.pbkdf2Iter});return A.enc.Hex.stringify(r)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(e,t){var n=Pe(e,"ENCRYPTED PRIVATE KEY"),r=this.parseHexOfEncryptedPKCS8(n),i=Ne.getPBKDF2KeyHexFromParam(r,t),o={};o.ciphertext=A.enc.Hex.parse(r.ciphertext);var a=A.enc.Hex.parse(i),s=A.enc.Hex.parse(r.encryptionSchemeIV),l=A.TripleDES.decrypt(o,a,{iv:s});return A.enc.Hex.stringify(l)},getKeyFromEncryptedPKCS8PEM:function(e,t){var n=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(e,t);return this.getKeyFromPlainPrivatePKCS8Hex(n)},parsePlainPrivatePKCS8Hex:function(e){var t=de,n=t.getChildIdx,r=t.getV,i={algparam:null};if("30"!=e.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var o=n(e,0);if(3!=o.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=e.substr(o[1],2))throw"malformed PKCS8 private key(code:003)";var a=n(e,o[1]);if(2!=a.length)throw"malformed PKCS8 private key(code:004)";if("06"!=e.substr(a[0],2))throw"malformed PKCS8 private key(code:005)";if(i.algoid=r(e,a[0]),"06"==e.substr(a[1],2)&&(i.algparam=r(e,a[1])),"04"!=e.substr(o[2],2))throw"malformed PKCS8 private key(code:006)";return i.keyidx=t.getVidx(e,o[2]),i},getKeyFromPlainPrivatePKCS8PEM:function(e){var t=Pe(e,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(t)},getKeyFromPlainPrivatePKCS8Hex:function(e){var t,n=this.parsePlainPrivatePKCS8Hex(e);if("2a864886f70d010101"==n.algoid)t=new ie;else if("2a8648ce380401"==n.algoid)t=new ue.crypto.DSA;else{if("2a8648ce3d0201"!=n.algoid)throw"unsupported private key algorithm";t=new ue.crypto.ECDSA}return t.readPKCS8PrvKeyHex(e),t},_getKeyFromPublicPKCS8Hex:function(e){var t,n=de.getVbyList(e,0,[0,0],"06");if("2a864886f70d010101"===n)t=new ie;else if("2a8648ce380401"===n)t=new ue.crypto.DSA;else{if("2a8648ce3d0201"!==n)throw"unsupported PKCS#8 public key hex";t=new ue.crypto.ECDSA}return t.readPKCS8PubKeyHex(e),t},parsePublicRawRSAKeyHex:function(e){var t=de.getChildIdx,n=de.getV,r={};if("30"!=e.substr(0,2))throw"malformed RSA key(code:001)";var i=t(e,0);if(2!=i.length)throw"malformed RSA key(code:002)";if("02"!=e.substr(i[0],2))throw"malformed RSA key(code:003)";if(r.n=n(e,i[0]),"02"!=e.substr(i[1],2))throw"malformed RSA key(code:004)";return r.e=n(e,i[1]),r},parsePublicPKCS8Hex:function(e){var t=de,n=t.getChildIdx,r=t.getV,i={algparam:null},o=n(e,0);if(2!=o.length)throw"outer DERSequence shall have 2 elements: "+o.length;var a=o[0];if("30"!=e.substr(a,2))throw"malformed PKCS8 public key(code:001)";var s=n(e,a);if(2!=s.length)throw"malformed PKCS8 public key(code:002)";if("06"!=e.substr(s[0],2))throw"malformed PKCS8 public key(code:003)";if(i.algoid=r(e,s[0]),"06"==e.substr(s[1],2)?i.algparam=r(e,s[1]):"30"==e.substr(s[1],2)&&(i.algparam={},i.algparam.p=t.getVbyList(e,s[1],[0],"02"),i.algparam.q=t.getVbyList(e,s[1],[1],"02"),i.algparam.g=t.getVbyList(e,s[1],[2],"02")),"03"!=e.substr(o[1],2))throw"malformed PKCS8 public key(code:004)";return i.key=r(e,o[1]).substr(2),i}}}();Ne.getKey=function(e,t,n){var r,i=(A=de).getChildIdx,o=A.getVbyList,a=ue.crypto,s=a.ECDSA,l=a.DSA,u=ie,c=Pe,h=Ne;if(void 0!==u&&e instanceof u)return e;if(void 0!==s&&e instanceof s)return e;if(void 0!==l&&e instanceof l)return e;if(void 0!==e.curve&&void 0!==e.xy&&void 0===e.d)return new s({pub:e.xy,curve:e.curve});if(void 0!==e.curve&&void 0!==e.d)return new s({prv:e.d,curve:e.curve});if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0===e.d)return(P=new u).setPublic(e.n,e.e),P;if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0!==e.p&&void 0!==e.q&&void 0!==e.dp&&void 0!==e.dq&&void 0!==e.co&&void 0===e.qi)return(P=new u).setPrivateEx(e.n,e.e,e.d,e.p,e.q,e.dp,e.dq,e.co),P;if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0===e.p)return(P=new u).setPrivate(e.n,e.e,e.d),P;if(void 0!==e.p&&void 0!==e.q&&void 0!==e.g&&void 0!==e.y&&void 0===e.x)return(P=new l).setPublic(e.p,e.q,e.g,e.y),P;if(void 0!==e.p&&void 0!==e.q&&void 0!==e.g&&void 0!==e.y&&void 0!==e.x)return(P=new l).setPrivate(e.p,e.q,e.g,e.y,e.x),P;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0===e.d)return(P=new u).setPublic(ye(e.n),ye(e.e)),P;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0!==e.p&&void 0!==e.q&&void 0!==e.dp&&void 0!==e.dq&&void 0!==e.qi)return(P=new u).setPrivateEx(ye(e.n),ye(e.e),ye(e.d),ye(e.p),ye(e.q),ye(e.dp),ye(e.dq),ye(e.qi)),P;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d)return(P=new u).setPrivate(ye(e.n),ye(e.e),ye(e.d)),P;if("EC"===e.kty&&void 0!==e.crv&&void 0!==e.x&&void 0!==e.y&&void 0===e.d){var d=(x=new s({curve:e.crv})).ecparams.keylen/4,f="04"+("0000000000"+ye(e.x)).slice(-d)+("0000000000"+ye(e.y)).slice(-d);return x.setPublicKeyHex(f),x}if("EC"===e.kty&&void 0!==e.crv&&void 0!==e.x&&void 0!==e.y&&void 0!==e.d){d=(x=new s({curve:e.crv})).ecparams.keylen/4,f="04"+("0000000000"+ye(e.x)).slice(-d)+("0000000000"+ye(e.y)).slice(-d);var p=("0000000000"+ye(e.d)).slice(-d);return x.setPublicKeyHex(f),x.setPrivateKeyHex(p),x}if("pkcs5prv"===n){var g,_=e,A=de;if(9===(g=i(_,0)).length)(P=new u).readPKCS5PrvKeyHex(_);else if(6===g.length)(P=new l).readPKCS5PrvKeyHex(_);else{if(!(g.length>2&&"04"===_.substr(g[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(P=new s).readPKCS5PrvKeyHex(_)}return P}if("pkcs8prv"===n)return h.getKeyFromPlainPrivatePKCS8Hex(e);if("pkcs8pub"===n)return h._getKeyFromPublicPKCS8Hex(e);if("x509pub"===n)return Ke.getPublicKeyFromCertHex(e);if(-1!=e.indexOf("-END CERTIFICATE-",0)||-1!=e.indexOf("-END X509 CERTIFICATE-",0)||-1!=e.indexOf("-END TRUSTED CERTIFICATE-",0))return Ke.getPublicKeyFromCertPEM(e);if(-1!=e.indexOf("-END PUBLIC KEY-")){var v=Pe(e,"PUBLIC KEY");return h._getKeyFromPublicPKCS8Hex(v)}if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var m=c(e,"RSA PRIVATE KEY");return h.getKey(m,null,"pkcs5prv")}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var y=o(r=c(e,"DSA PRIVATE KEY"),0,[1],"02"),b=o(r,0,[2],"02"),C=o(r,0,[3],"02"),k=o(r,0,[4],"02"),E=o(r,0,[5],"02");return(P=new l).setPrivate(new w(y,16),new w(b,16),new w(C,16),new w(k,16),new w(E,16)),P}if(-1!=e.indexOf("-END PRIVATE KEY-"))return h.getKeyFromPlainPrivatePKCS8PEM(e);if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var S=h.getDecryptedKeyHex(e,t),O=new ie;return O.readPKCS5PrvKeyHex(S),O}if(-1!=e.indexOf("-END EC PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var x,P=o(r=h.getDecryptedKeyHex(e,t),0,[1],"04"),T=o(r,0,[2,0],"06"),B=o(r,0,[3,0],"03").substr(2);if(void 0===ue.crypto.OID.oidhex2name[T])throw"undefined OID(hex) in KJUR.crypto.OID: "+T;return(x=new s({curve:ue.crypto.OID.oidhex2name[T]})).setPublicKeyHex(B),x.setPrivateKeyHex(P),x.isPublic=!1,x}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED"))return y=o(r=h.getDecryptedKeyHex(e,t),0,[1],"02"),b=o(r,0,[2],"02"),C=o(r,0,[3],"02"),k=o(r,0,[4],"02"),E=o(r,0,[5],"02"),(P=new l).setPrivate(new w(y,16),new w(b,16),new w(C,16),new w(k,16),new w(E,16)),P;if(-1!=e.indexOf("-END ENCRYPTED PRIVATE KEY-"))return h.getKeyFromEncryptedPKCS8PEM(e,t);throw"not supported argument"},Ne.generateKeypair=function(e,t){if("RSA"==e){var n=t;(a=new ie).generate(n,"10001"),a.isPrivate=!0,a.isPublic=!0;var r=new ie,i=a.n.toString(16),o=a.e.toString(16);return r.setPublic(i,o),r.isPrivate=!1,r.isPublic=!0,(s={}).prvKeyObj=a,s.pubKeyObj=r,s}if("EC"==e){var a,s,l=t,u=new ue.crypto.ECDSA({curve:l}).generateKeyPairHex();return(a=new ue.crypto.ECDSA({curve:l})).setPublicKeyHex(u.ecpubhex),a.setPrivateKeyHex(u.ecprvhex),a.isPrivate=!0,a.isPublic=!1,(r=new ue.crypto.ECDSA({curve:l})).setPublicKeyHex(u.ecpubhex),r.isPrivate=!1,r.isPublic=!0,(s={}).prvKeyObj=a,s.pubKeyObj=r,s}throw"unknown algorithm: "+e},Ne.getPEM=function(e,t,n,r,i,o){var a=ue.asn1,s=a.DERObjectIdentifier,l=a.DERInteger,u=a.ASN1Util.newObject,c=ue.crypto,h=c.DSA,d=c.ECDSA,f=ie;function p(e){return u({seq:[{int:0},{int:{bigint:e.n}},{int:e.e},{int:{bigint:e.d}},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.dmp1}},{int:{bigint:e.dmq1}},{int:{bigint:e.coeff}}]})}function g(e){return u({seq:[{int:1},{octstr:{hex:e.prvKeyHex}},{tag:["a0",!0,{oid:{name:e.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]}]})}function _(e){return u({seq:[{int:0},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}},{int:{bigint:e.y}},{int:{bigint:e.x}}]})}if((void 0!==f&&e instanceof f||void 0!==h&&e instanceof h||void 0!==d&&e instanceof d)&&1==e.isPublic&&(void 0===t||"PKCS8PUB"==t))return xe(b=new(0,a.x509.SubjectPublicKeyInfo)(e).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==t&&void 0!==f&&e instanceof f&&(void 0===n||null==n)&&1==e.isPrivate)return xe(b=p(e).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==t&&void 0!==d&&e instanceof d&&(void 0===n||null==n)&&1==e.isPrivate){var v=new s({name:e.curveName}).getEncodedHex(),m=g(e).getEncodedHex(),y="";return(y+=xe(v,"EC PARAMETERS"))+xe(m,"EC PRIVATE KEY")}if("PKCS1PRV"==t&&void 0!==h&&e instanceof h&&(void 0===n||null==n)&&1==e.isPrivate)return xe(b=_(e).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==t&&void 0!==f&&e instanceof f&&void 0!==n&&null!=n&&1==e.isPrivate){var b=p(e).getEncodedHex();return void 0===r&&(r="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",b,n,r,o)}if("PKCS5PRV"==t&&void 0!==d&&e instanceof d&&void 0!==n&&null!=n&&1==e.isPrivate)return b=g(e).getEncodedHex(),void 0===r&&(r="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",b,n,r,o);if("PKCS5PRV"==t&&void 0!==h&&e instanceof h&&void 0!==n&&null!=n&&1==e.isPrivate)return b=_(e).getEncodedHex(),void 0===r&&(r="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",b,n,r,o);var C=function(e,t){var n=w(e,t);return new u({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:n.pbkdf2Salt}},{int:n.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:n.encryptionSchemeIV}}]}]}]},{octstr:{hex:n.ciphertext}}]}).getEncodedHex()},w=function(e,t){var n=A.lib.WordArray.random(8),r=A.lib.WordArray.random(8),i=A.PBKDF2(t,n,{keySize:6,iterations:100}),o=A.enc.Hex.parse(e),a=A.TripleDES.encrypt(o,i,{iv:r})+"",s={};return s.ciphertext=a,s.pbkdf2Salt=A.enc.Hex.stringify(n),s.pbkdf2Iter=100,s.encryptionSchemeAlg="DES-EDE3-CBC",s.encryptionSchemeIV=A.enc.Hex.stringify(r),s};if("PKCS8PRV"==t&&null!=f&&e instanceof f&&1==e.isPrivate){var k=p(e).getEncodedHex();return b=u({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===n||null==n?xe(b,"PRIVATE KEY"):xe(m=C(b,n),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==t&&void 0!==d&&e instanceof d&&1==e.isPrivate)return k=new u({seq:[{int:1},{octstr:{hex:e.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]}]}).getEncodedHex(),b=u({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:e.curveName}}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===n||null==n?xe(b,"PRIVATE KEY"):xe(m=C(b,n),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==t&&void 0!==h&&e instanceof h&&1==e.isPrivate)return k=new l({bigint:e.x}).getEncodedHex(),b=u({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}}]}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===n||null==n?xe(b,"PRIVATE KEY"):xe(m=C(b,n),"ENCRYPTED PRIVATE KEY");throw"unsupported object nor format"},Ne.getKeyFromCSRPEM=function(e){var t=Pe(e,"CERTIFICATE REQUEST");return Ne.getKeyFromCSRHex(t)},Ne.getKeyFromCSRHex=function(e){var t=Ne.parseCSRHex(e);return Ne.getKey(t.p8pubkeyhex,null,"pkcs8pub")},Ne.parseCSRHex=function(e){var t=de.getChildIdx,n=de.getTLV,r={},i=e;if("30"!=i.substr(0,2))throw"malformed CSR(code:001)";var o=t(i,0);if(o.length<1)throw"malformed CSR(code:002)";if("30"!=i.substr(o[0],2))throw"malformed CSR(code:003)";var a=t(i,o[0]);if(a.length<3)throw"malformed CSR(code:004)";return r.p8pubkeyhex=n(i,a[2]),r},Ne.getJWKFromKey=function(e){var t={};if(e instanceof ie&&e.isPrivate)return t.kty="RSA",t.n=me(e.n.toString(16)),t.e=me(e.e.toString(16)),t.d=me(e.d.toString(16)),t.p=me(e.p.toString(16)),t.q=me(e.q.toString(16)),t.dp=me(e.dmp1.toString(16)),t.dq=me(e.dmq1.toString(16)),t.qi=me(e.coeff.toString(16)),t;if(e instanceof ie&&e.isPublic)return t.kty="RSA",t.n=me(e.n.toString(16)),t.e=me(e.e.toString(16)),t;if(e instanceof ue.crypto.ECDSA&&e.isPrivate){if("P-256"!==(r=e.getShortNISTPCurveName())&&"P-384"!==r)throw"unsupported curve name for JWT: "+r;var n=e.getPublicKeyXYHex();return t.kty="EC",t.crv=r,t.x=me(n.x),t.y=me(n.y),t.d=me(e.prvKeyHex),t}if(e instanceof ue.crypto.ECDSA&&e.isPublic){var r;if("P-256"!==(r=e.getShortNISTPCurveName())&&"P-384"!==r)throw"unsupported curve name for JWT: "+r;return n=e.getPublicKeyXYHex(),t.kty="EC",t.crv=r,t.x=me(n.x),t.y=me(n.y),t}throw"not supported key object"},ie.getPosArrayOfChildrenFromHex=function(e){return de.getChildIdx(e,0)},ie.getHexValueArrayOfChildrenFromHex=function(e){var t,n=de.getV,r=n(e,(t=ie.getPosArrayOfChildrenFromHex(e))[0]),i=n(e,t[1]),o=n(e,t[2]),a=n(e,t[3]),s=n(e,t[4]),l=n(e,t[5]),u=n(e,t[6]),c=n(e,t[7]),h=n(e,t[8]);return(t=new Array).push(r,i,o,a,s,l,u,c,h),t},ie.prototype.readPrivateKeyFromPEMString=function(e){var t=Pe(e),n=ie.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8])},ie.prototype.readPKCS5PrvKeyHex=function(e){var t=ie.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])},ie.prototype.readPKCS8PrvKeyHex=function(e){var t,n,r,i,o,a,s,l,u=de.getVbyList;if(!1===de.isASN1HEX(e))throw"not ASN.1 hex string";try{t=u(e,0,[2,0,1],"02"),n=u(e,0,[2,0,2],"02"),r=u(e,0,[2,0,3],"02"),i=u(e,0,[2,0,4],"02"),o=u(e,0,[2,0,5],"02"),a=u(e,0,[2,0,6],"02"),s=u(e,0,[2,0,7],"02"),l=u(e,0,[2,0,8],"02")}catch(e){throw"malformed PKCS#8 plain RSA private key"}this.setPrivateEx(t,n,r,i,o,a,s,l)},ie.prototype.readPKCS5PubKeyHex=function(e){var t=de,n=t.getV;if(!1===t.isASN1HEX(e))throw"keyHex is not ASN.1 hex string";var r=t.getChildIdx(e,0);if(2!==r.length||"02"!==e.substr(r[0],2)||"02"!==e.substr(r[1],2))throw"wrong hex for PKCS#5 public key";var i=n(e,r[0]),o=n(e,r[1]);this.setPublic(i,o)},ie.prototype.readPKCS8PubKeyHex=function(e){var t=de;if(!1===t.isASN1HEX(e))throw"not ASN.1 hex string";if("06092a864886f70d010101"!==t.getTLVbyList(e,0,[0,0]))throw"not PKCS8 RSA public key";var n=t.getTLVbyList(e,0,[1,0]);this.readPKCS5PubKeyHex(n)},ie.prototype.readCertPubKeyHex=function(e,t){var n,r;(n=new Ke).readCertHex(e),r=n.getPublicKeyHex(),this.readPKCS8PubKeyHex(r)};var je=new RegExp("");function He(e,t){for(var n="",r=t/4-e.length,i=0;i<r;i++)n+="0";return n+e}function Qe(e,t,n){for(var r="",i=0;r.length<t;)r+=we(n(ke(e+String.fromCharCode.apply(String,[(4278190080&i)>>24,(16711680&i)>>16,(65280&i)>>8,255&i])))),i+=1;return r}function Ve(e){for(var t in ue.crypto.Util.DIGESTINFOHEAD){var n=ue.crypto.Util.DIGESTINFOHEAD[t],r=n.length;if(e.substring(0,r)==n)return[t,e.substring(r)]}return[]}function Ke(){var e=de,t=e.getChildIdx,n=e.getV,r=e.getTLV,i=e.getVbyList,o=e.getTLVbyList,a=e.getIdxbyList,s=e.getVidx,l=e.oidname,u=Ke,c=Pe;this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){return null===this.hex||0!==this.version?this.version:"a003020102"!==o(this.hex,0,[0,0])?(this.version=1,this.foffset=-1,1):(this.version=3,3)}
1,this.getSerialNumberHex=function(){return i(this.hex,0,[0,1+this.foffset],"02")},this.getSignatureAlgorithmField=function(){return l(i(this.hex,0,[0,2+this.foffset,0],"06"))},this.getIssuerHex=function(){return o(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return u.hex2dn(this.getIssuerHex())},this.getSubjectHex=function(){return o(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return u.hex2dn(this.getSubjectHex())},this.getNotBefore=function(){var e=i(this.hex,0,[0,4+this.foffset,0]);return e=e.replace(/(..)/g,"%$1"),decodeURIComponent(e)},this.getNotAfter=function(){var e=i(this.hex,0,[0,4+this.foffset,1]);return e=e.replace(/(..)/g,"%$1"),decodeURIComponent(e)},this.getPublicKeyHex=function(){return e.getTLVbyList(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyIdx=function(){return a(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var e=this.getPublicKeyIdx();return a(this.hex,e,[1,0],"30")},this.getPublicKey=function(){return Ne.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){return l(i(this.hex,0,[1,0],"06"))}
1,this.getSignatureValueHex=function(){return i(this.hex,0,[2],"03",!0)},this.verifySignature=function(e){var t=this.getSignatureAlgorithmName(),n=this.getSignatureValueHex(),r=o(this.hex,0,[0],"30"),i=new ue.crypto.Signature({alg:t});return i.init(e),i.updateHex(r),i.verify(n)},this.parseExt=function(){if(3!==this.version)return-1;var n=a(this.hex,0,[0,7,0],"30"),r=t(this.hex,n);this.aExtInfo=new Array;for(var o=0;o<r.length;o++){var l={critical:!1},u=0;3===t(this.hex,r[o]).length&&(l.critical=!0,u=1),l.oid=e.hextooidstr(i(this.hex,r[o],[0],"06"));var c=a(this.hex,r[o],[1+u]);l.vidx=s(this.hex,c),this.aExtInfo.push(l)}},this.getExtInfo=function(e){var t=this.aExtInfo,n=e;if(e.match(/^[0-9.]+$/)||(n=ue.asn1.x509.OID.name2oid(e)),""!==n)for(var r=0;r<t.length;r++)if(t[r].oid===n)return t[r]},this.getExtBasicConstraints=function(){var e=this.getExtInfo("basicConstraints");if(void 0===e)return e;var t=n(this.hex,e.vidx);if(""===t)return{};if("0101ff"===t)return{cA:!0};if("0101ff02"===t.substr(0,8)){var r=n(t,6);return{cA:!0,pathLen:parseInt(r,16)}}throw"basicConstraints parse error"},this.getExtKeyUsageBin=function(){var e=this.getExtInfo("keyUsage");if(void 0===e)return"";var t=n(this.hex,e.vidx);if(t.length%2!=0||t.length<=2)throw"malformed key usage value";var r=parseInt(t.substr(0,2)),i=parseInt(t.substr(2),16).toString(2);return i.substr(0,i.length-r)},this.getExtKeyUsageString=function(){for(var e=this.getExtKeyUsageBin(),t=new Array,n=0;n<e.length;n++)"1"==e.substr(n,1)&&t.push(Ke.KEYUSAGE_NAME[n]);return t.join(",")},this.getExtSubjectKeyIdentifier=function(){var e=this.getExtInfo("subjectKeyIdentifier");return void 0===e?e:n(this.hex,e.vidx)},this.getExtAuthorityKeyIdentifier=function(){var e=this.getExtInfo("authorityKeyIdentifier");if(void 0===e)return e;for(var i={},o=r(this.hex,e.vidx),a=t(o,0),s=0;s<a.length;s++)"80"===o.substr(a[s],2)&&(i.kid=n(o,a[s]));return i},this.getExtExtKeyUsageName=function(){var e=this.getExtInfo("extKeyUsage");if(void 0===e)return e;var i=new Array,o=r(this.hex,e.vidx);if(""===o)return i;for(var a=t(o,0),s=0;s<a.length;s++)i.push(l(n(o,a[s])));return i},this.getExtSubjectAltName=function(){for(var e=this.getExtSubjectAltName2(),t=new Array,n=0;n<e.length;n++)"DNS"===e[n][0]&&t.push(e[n][1]);return t},this.getExtSubjectAltName2=function(){var e,i,o,a=this.getExtInfo("subjectAltName");if(void 0===a)return a;for(var s=new Array,l=r(this.hex,a.vidx),u=t(l,0),c=0;c<u.length;c++)o=l.substr(u[c],2),e=n(l,u[c]),"81"===o&&(i=Ce(e),s.push(["MAIL",i])),"82"===o&&(i=Ce(e),s.push(["DNS",i])),"84"===o&&(i=Ke.hex2dn(e,0),s.push(["DN",i])),"86"===o&&(i=Ce(e),s.push(["URI",i])),"87"===o&&(i=Fe(e),s.push(["IP",i]));return s},this.getExtCRLDistributionPointsURI=function(){var e=this.getExtInfo("cRLDistributionPoints");if(void 0===e)return e;for(var n=new Array,r=t(this.hex,e.vidx),o=0;o<r.length;o++)try{var a=Ce(i(this.hex,r[o],[0,0,0],"86"));n.push(a)}catch(e){}return n},this.getExtAIAInfo=function(){var e=this.getExtInfo("authorityInfoAccess");if(void 0===e)return e;for(var n={ocsp:[],caissuer:[]},r=t(this.hex,e.vidx),o=0;o<r.length;o++){var a=i(this.hex,r[o],[0],"06"),s=i(this.hex,r[o],[1],"86");"2b06010505073001"===a&&n.ocsp.push(Ce(s)),"2b06010505073002"===a&&n.caissuer.push(Ce(s))}return n},this.getExtCertificatePolicies=function(){var e=this.getExtInfo("certificatePolicies");if(void 0===e)return e;for(var o=r(this.hex,e.vidx),a=[],s=t(o,0),u=0;u<s.length;u++){var c={},h=t(o,s[u]);if(c.id=l(n(o,h[0])),2===h.length)for(var d=t(o,h[1]),f=0;f<d.length;f++){var p=i(o,d[f],[0],"06");"2b06010505070201"===p?c.cps=Ce(i(o,d[f],[1])):"2b06010505070202"===p&&(c.unotice=Ce(i(o,d[f],[1,0])))}a.push(c)}return a},this.readCertPEM=function(e){this.readCertHex(c(e))},this.readCertHex=function(e){this.hex=e,this.getVersion();try{a(this.hex,0,[0,7],"a3"),this.parseExt()}catch(e){}},this.getInfo=function(){var e,t,n;if(e="Basic Fields\n",e+=" serial number: "+this.getSerialNumberHex()+"\n",e+=" signature algorithm: "+this.getSignatureAlgorithmField()+"\n",e+=" issuer: "+this.getIssuerString()+"\n",e+=" notBefore: "+this.getNotBefore()+"\n",e+=" notAfter: "+this.getNotAfter()+"\n",e+=" subject: "+this.getSubjectString()+"\n",e+=" subject public key info: \n",e+=" key algorithm: "+(t=this.getPublicKey()).type+"\n","RSA"===t.type&&(e+=" n="+Ue(t.n.toString(16)).substr(0,16)+"...\n",e+=" e="+Ue(t.e.toString(16))+"\n"),void 0!==(n=this.aExtInfo)&&null!==n){e+="X509v3 Extensions:\n";for(var r=0;r<n.length;r++){var i=n[r],o=ue.asn1.x509.OID.oid2name(i.oid);""===o&&(o=i.oid);var a="";if(!0===i.critical&&(a="CRITICAL"),e+=" "+o+" "+a+":\n","basicConstraints"===o){var s=this.getExtBasicConstraints();void 0===s.cA?e+=" {}\n":(e+=" cA=true",void 0!==s.pathLen&&(e+=", pathLen="+s.pathLen),e+="\n")}else if("keyUsage"===o)e+=" "+this.getExtKeyUsageString()+"\n";else if("subjectKeyIdentifier"===o)e+=" "+this.getExtSubjectKeyIdentifier()+"\n";else if("authorityKeyIdentifier"===o){var l=this.getExtAuthorityKeyIdentifier();void 0!==l.kid&&(e+=" kid="+l.kid+"\n")}else if("extKeyUsage"===o)e+=" "+this.getExtExtKeyUsageName().join(", ")+"\n";else if("subjectAltName"===o)e+=" "+this.getExtSubjectAltName2()+"\n";else if("cRLDistributionPoints"===o)e+=" "+this.getExtCRLDistributionPointsURI()+"\n";else if("authorityInfoAccess"===o){var u=this.getExtAIAInfo();void 0!==u.ocsp&&(e+=" ocsp: "+u.ocsp.join(",")+"\n"),void 0!==u.caissuer&&(e+=" caissuer: "+u.caissuer.join(",")+"\n")}else if("certificatePolicies"===o)for(var c=this.getExtCertificatePolicies(),h=0;h<c.length;h++)void 0!==c[h].id&&(e+=" policy oid: "+c[h].id+"\n"),void 0!==c[h].cps&&(e+=" cps: "+c[h].cps+"\n")}}return(e+="signature algorithm: "+this.getSignatureAlgorithmName()+"\n")+"signature: "+this.getSignatureValueHex().substr(0,16)+"...\n"}}je.compile("[^0-9a-f]","gi"),ie.prototype.sign=function(e,t){var n=function(e){return ue.crypto.Util.hashString(e,t)}(e);return this.signWithMessageHash(n,t)},ie.prototype.signWithMessageHash=function(e,t){var n=ne(ue.crypto.Util.getPaddedDigestInfoHex(e,t,this.n.bitLength()),16);
vendor: 16,926 bytes, line 1
1return He(this.doPrivate(n).toString(16),this.n.bitLength())},ie.prototype.signPSS=function(e,t,n){var r=function(e){return ue.crypto.Util.hashHex(e,t)}(ke(e));return void 0===n&&(n=-1),this.signWithMessageHashPSS(r,t,n)},ie.prototype.signWithMessageHashPSS=function(e,t,n){var r,i=we(e),o=i.length,a=this.n.bitLength()-1,s=Math.ceil(a/8),l=function(e){return ue.crypto.Util.hashHex(e,t)};if(-1===n||void 0===n)n=o;else if(-2===n)n=s-o-2;else if(n<-2)throw"invalid salt length";if(s<o+n+2)throw"data too long";var u="";n>0&&(u=new Array(n),(new te).nextBytes(u),u=String.fromCharCode.apply(String,u));var c=we(l(ke("\0\0\0\0\0\0\0\0"+i+u))),h=[];for(r=0;r<s-n-o-2;r+=1)h[r]=0;var d=String.fromCharCode.apply(String,h)+"\x01"+u,f=Qe(c,d.length,l),p=[];for(r=0;r<d.length;r+=1)p[r]=d.charCodeAt(r)^f.charCodeAt(r);for(p[0]&=~(65280>>8*s-a&255),r=0;r<o;r++)p.push(c.charCodeAt(r));return p.push(188),He(this.doPrivate(new w(p)).toString(16),this.n.bitLength())},ie.prototype.verify=function(e,t){var n=ne(t=(t=t.replace(je,"")).replace(/[ \n]+/g,""),16);if(n.bitLength()>this.n.bitLength())return 0;var r=Ve(this.doPublic(n).toString(16).replace(/^1f+00/,""));if(0==r.length)return!1;var i=r[0];return r[1]==function(e){return ue.crypto.Util.hashString(e,i)}(e)},ie.prototype.verifyWithMessageHash=function(e,t){var n=ne(t=(t=t.replace(je,"")).replace(/[ \n]+/g,""),16);if(n.bitLength()>this.n.bitLength())return 0;var r=Ve(this.doPublic(n).toString(16).replace(/^1f+00/,""));return 0!=r.length&&r[1]==e},ie.prototype.verifyPSS=function(e,t,n,r){var i=function(e){return ue.crypto.Util.hashHex(e,n)}(ke(e));return void 0===r&&(r=-1),this.verifyWithMessageHashPSS(i,t,n,r)},ie.prototype.verifyWithMessageHashPSS=function(e,t,n,r){var i=new w(t,16);if(i.bitLength()>this.n.bitLength())return!1;var o,a=function(e){return ue.crypto.Util.hashHex(e,n)},s=we(e),l=s.length,u=this.n.bitLength()-1,c=Math.ceil(u/8);if(-1===r||void 0===r)r=l;else if(-2===r)r=c-l-2;else if(r<-2)throw"invalid salt length";if(c<l+r+2)throw"data too long";var h=this.doPublic(i).toByteArray();for(o=0;o<h.length;o+=1)h[o]&=255;for(;h.length<c;)h.unshift(0);if(188!==h[c-1])throw"encoded message does not end in 0xbc";var d=(h=String.fromCharCode.apply(String,h)).substr(0,c-l-1),f=h.substr(d.length,l),p=65280>>8*c-u&255;if(0!=(d.charCodeAt(0)&p))throw"bits beyond keysize not zero";var g=Qe(f,d.length,a),_=[];for(o=0;o<d.length;o+=1)_[o]=d.charCodeAt(o)^g.charCodeAt(o);_[0]&=~p;var A=c-l-r-2;for(o=0;o<A;o+=1)if(0!==_[o])throw"leftmost octets not zero";if(1!==_[A])throw"0x01 marker not found";return f===we(a(ke("\0\0\0\0\0\0\0\0"+s+String.fromCharCode.apply(String,_.slice(-r)))))},ie.SALT_LEN_HLEN=-1,ie.SALT_LEN_MAX=-2,ie.SALT_LEN_RECOVER=-2,Ke.hex2dn=function(e,t){if(void 0===t&&(t=0),"30"!==e.substr(t,2))throw"malformed DN";for(var n=new Array,r=de.getChildIdx(e,t),i=0;i<r.length;i++)n.push(Ke.hex2rdn(e,r[i]));return"/"+(n=n.map((function(e){return e.replace("/","\\/")}))).join("/")},Ke.hex2rdn=function(e,t){if(void 0===t&&(t=0),"31"!==e.substr(t,2))throw"malformed RDN";for(var n=new Array,r=de.getChildIdx(e,t),i=0;i<r.length;i++)n.push(Ke.hex2attrTypeValue(e,r[i]));return(n=n.map((function(e){return e.replace("+","\\+")}))).join("+")},Ke.hex2attrTypeValue=function(e,t){var n=de,r=n.getV;if(void 0===t&&(t=0),"30"!==e.substr(t,2))throw"malformed attribute type and value";var i=n.getChildIdx(e,t);2!==i.length||e.substr(i[0],2);var o=r(e,i[0]),a=ue.asn1.ASN1Util.oidHexToInt(o);return ue.asn1.x509.OID.oid2atype(a)+"="+we(r(e,i[1]))},Ke.getPublicKeyFromCertHex=function(e){var t=new Ke;return t.readCertHex(e),t.getPublicKey()},Ke.getPublicKeyFromCertPEM=function(e){var t=new Ke;return t.readCertPEM(e),t.getPublicKey()},Ke.getPublicKeyInfoPropOfCertPEM=function(e){var t,n,r=de.getVbyList,i={algparam:null};return(t=new Ke).readCertPEM(e),n=t.getPublicKeyHex(),i.keyhex=r(n,0,[1],"03").substr(2),i.algoid=r(n,0,[0,0],"06"),"2a8648ce3d0201"===i.algoid&&(i.algparam=r(n,0,[0,1],"06")),i},Ke.KEYUSAGE_NAME=["digitalSignature","nonRepudiation","keyEncipherment","dataEncipherment","keyAgreement","keyCertSign","cRLSign","encipherOnly","decipherOnly"],void 0!==ue&&ue||(t.KJUR=ue={}),void 0!==ue.jws&&ue.jws||(ue.jws={}),ue.jws.JWS=function(){var e=ue.jws.JWS.isSafeJSONString;this.parseJWS=function(t,n){if(void 0===this.parsedJWS||!n&&void 0===this.parsedJWS.sigvalH){var r=t.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);if(null==r)throw"JWS signature is not a form of 'Head.Payload.SigValue'.";var i=r[1],o=r[2],a=r[3],s=i+"."+o;if(this.parsedJWS={},this.parsedJWS.headB64U=i,this.parsedJWS.payloadB64U=o,this.parsedJWS.sigvalB64U=a,this.parsedJWS.si=s,!n){var l=ye(a),u=ne(l,16);this.parsedJWS.sigvalH=l,this.parsedJWS.sigvalBI=u}var c=he(i),h=he(o);if(this.parsedJWS.headS=c,this.parsedJWS.payloadS=h,!e(c,this.parsedJWS,"headP"))throw"malformed JSON string for JWS Head: "+c}}},ue.jws.JWS.sign=function(e,t,r,i,o){var a,s,l,u=ue.jws.JWS,c=u.readSafeJSONString,h=u.isSafeJSONString,d=ue.crypto,f=d.Mac,p=d.Signature,g=JSON;if("string"!=typeof t&&"object"!=(void 0===t?"undefined":n(t)))throw"spHeader must be JSON string or object: "+t;if("object"==(void 0===t?"undefined":n(t))&&(a=g.stringify(s=t)),"string"==typeof t){if(!h(a=t))throw"JWS Head is not safe JSON string: "+a;s=c(a)}if(l=r,"object"==(void 0===r?"undefined":n(r))&&(l=g.stringify(r)),""!=e&&null!=e||void 0===s.alg||(e=s.alg),""!=e&&null!=e&&void 0===s.alg&&(s.alg=e,a=g.stringify(s)),e!==s.alg)throw"alg and sHeader.alg doesn't match: "+e+"!="+s.alg;var _=null;if(void 0===u.jwsalg2sigalg[e])throw"unsupported alg name: "+e;_=u.jwsalg2sigalg[e];var A=ce(a)+"."+ce(l),v="";if("Hmac"==_.substr(0,4)){if(void 0===i)throw"mac key shall be specified for HS* alg";var m=new f({alg:_,prov:"cryptojs",pass:i});m.updateString(A),v=m.doFinal()}else{var y;-1!=_.indexOf("withECDSA")?((y=new p({alg:_})).init(i,o),y.updateString(A),hASN1Sig=y.sign(),v=ue.crypto.ECDSA.asn1SigToConcatSig(hASN1Sig)):"none"!=_&&((y=new p({alg:_})).init(i,o),y.updateString(A),v=y.sign())}return A+"."+me(v)},ue.jws.JWS.verify=function(e,t,r){var i,o=ue.jws.JWS,a=o.readSafeJSONString,s=ue.crypto,l=s.ECDSA,u=s.Mac,c=s.Signature;void 0!==n(ie)&&(i=ie);var h=e.split(".");if(3!==h.length)return!1;var d,f=h[0]+"."+h[1],p=ye(h[2]),g=a(he(h[0])),_=null;if(void 0===g.alg)throw"algorithm not specified in header";if(d=(_=g.alg).substr(0,2),null!=r&&"[object Array]"===Object.prototype.toString.call(r)&&r.length>0&&-1==(":"+r.join(":")+":").indexOf(":"+_+":"))throw"algorithm '"+_+"' not accepted in the list";if("none"!=_&&null===t)throw"key shall be specified to verify.";if("string"==typeof t&&-1!=t.indexOf("-----BEGIN ")&&(t=Ne.getKey(t)),!("RS"!=d&&"PS"!=d||t instanceof i))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==d&&!(t instanceof l))throw"key shall be a ECDSA obj for ES* algs";var A=null;if(void 0===o.jwsalg2sigalg[g.alg])throw"unsupported alg name: "+_;if("none"==(A=o.jwsalg2sigalg[_]))throw"not supported";if("Hmac"==A.substr(0,4)){if(void 0===t)throw"hexadecimal key shall be specified for HMAC";var v=new u({alg:A,pass:t});return v.updateString(f),p==v.doFinal()}if(-1!=A.indexOf("withECDSA")){var m,y=null;try{y=l.concatSigToASN1Sig(p)}catch(e){return!1}return(m=new c({alg:A})).init(t),m.updateString(f),m.verify(y)}return(m=new c({alg:A})).init(t),m.updateString(f),m.verify(p)},ue.jws.JWS.parse=function(e){var t,n,r=e.split("."),i={};if(2!=r.length&&3!=r.length)throw"malformed sJWS: wrong number of '.' splitted elements";return t=r[1],3==r.length&&(n=r[2]),i.headerObj=ue.jws.JWS.readSafeJSONString(he(r[0])),i.payloadObj=ue.jws.JWS.readSafeJSONString(he(t)),i.headerPP=JSON.stringify(i.headerObj,null," "),i.payloadPP=null==i.payloadObj?he(t):JSON.stringify(i.payloadObj,null," "),void 0!==n&&(i.sigHex=ye(n)),i},ue.jws.JWS.verifyJWT=function(e,t,r){var i=ue.jws,o=i.JWS,a=o.readSafeJSONString,s=o.inArray,l=o.includedArray,u=e.split("."),c=u[0],h=u[1],d=(ye(u[2]),a(he(c))),f=a(he(h));if(void 0===d.alg)return!1;if(void 0===r.alg)throw"acceptField.alg shall be specified";if(!s(d.alg,r.alg))return!1;if(void 0!==f.iss&&"object"===n(r.iss)&&!s(f.iss,r.iss))return!1;if(void 0!==f.sub&&"object"===n(r.sub)&&!s(f.sub,r.sub))return!1;if(void 0!==f.aud&&"object"===n(r.aud))if("string"==typeof f.aud){if(!s(f.aud,r.aud))return!1}else if("object"==n(f.aud)&&!l(f.aud,r.aud))return!1;var p=i.IntDate.getNow();return void 0!==r.verifyAt&&"number"==typeof r.verifyAt&&(p=r.verifyAt),void 0!==r.gracePeriod&&"number"==typeof r.gracePeriod||(r.gracePeriod=0),!(void 0!==f.exp&&"number"==typeof f.exp&&f.exp+r.gracePeriod<p||void 0!==f.nbf&&"number"==typeof f.nbf&&p<f.nbf-r.gracePeriod||void 0!==f.iat&&"number"==typeof f.iat&&p<f.iat-r.gracePeriod||void 0!==f.jti&&void 0!==r.jti&&f.jti!==r.jti||!o.verify(e,t,r.alg))},ue.jws.JWS.includedArray=function(e,t){var r=ue.jws.JWS.inArray;if(null===e)return!1;if("object"!==(void 0===e?"undefined":n(e)))return!1;if("number"!=typeof e.length)return!1;for(var i=0;i<e.length;i++)if(!r(e[i],t))return!1;return!0},ue.jws.JWS.inArray=function(e,t){if(null===t)return!1;if("object"!==(void 0===t?"undefined":n(t)))return!1;if("number"!=typeof t.length)return!1;for(var r=0;r<t.length;r++)if(t[r]==e)return!0;return!1},ue.jws.JWS.jwsalg2sigalg={HS256:"HmacSHA256",HS384:"HmacSHA384",HS512:"HmacSHA512",RS256:"SHA256withRSA",RS384:"SHA384withRSA",RS512:"SHA512withRSA",ES256:"SHA256withECDSA",ES384:"SHA384withECDSA",PS256:"SHA256withRSAandMGF1",PS384:"SHA384withRSAandMGF1",PS512:"SHA512withRSAandMGF1",none:"none"},ue.jws.JWS.isSafeJSONString=function(e,t,r){var i=null;try{return"object"!=(void 0===(i=le(e))?"undefined":n(i))||i.constructor===Array?0:(t&&(t[r]=i),1)}catch(e){return 0}},ue.jws.JWS.readSafeJSONString=function(e){var t=null;try{return"object"!=(void 0===(t=le(e))?"undefined":n(t))||t.constructor===Array?null:t}catch(e){return null}},ue.jws.JWS.getEncodedSignatureValueFromJWS=function(e){var t=e.match(/^[^.]+\.[^.]+\.([^.]+)$/);if(null==t)throw"JWS signature is not a form of 'Head.Payload.SigValue'.";return t[1]},ue.jws.JWS.getJWKthumbprint=function(e){if("RSA"!==e.kty&&"EC"!==e.kty&&"oct"!==e.kty)throw"unsupported algorithm for JWK Thumprint";var t="{";if("RSA"===e.kty){if("string"!=typeof e.n||"string"!=typeof e.e)throw"wrong n and e value for RSA key";t+='"e":"'+e.e+'",',t+='"kty":"'+e.kty+'",',t+='"n":"'+e.n+'"}'}else if("EC"===e.kty){if("string"!=typeof e.crv||"string"!=typeof e.x||"string"!=typeof e.y)throw"wrong crv, x and y value for EC key";t+='"crv":"'+e.crv+'",',t+='"kty":"'+e.kty+'",',t+='"x":"'+e.x+'",',t+='"y":"'+e.y+'"}'}else if("oct"===e.kty){if("string"!=typeof e.k)throw"wrong k value for oct(symmetric) key";t+='"kty":"'+e.kty+'",',t+='"k":"'+e.k+'"}'}var n=ke(t);return me(ue.crypto.Util.hashHex(n,"sha256"))},ue.jws.IntDate={},ue.jws.IntDate.get=function(e){var t=ue.jws.IntDate,n=t.getNow,r=t.getZulu;if("now"==e)return n();if("now + 1hour"==e)return n()+3600;if("now + 1day"==e)return n()+86400;if("now + 1month"==e)return n()+2592e3;if("now + 1year"==e)return n()+31536e3;if(e.match(/Z$/))return r(e);if(e.match(/^[0-9]+$/))return parseInt(e);throw"unsupported format: "+e},ue.jws.IntDate.getZulu=function(e){return Be(e)},ue.jws.IntDate.getNow=function(){return~~(new Date/1e3)},ue.jws.IntDate.intDate2UTCString=function(e){return new Date(1e3*e).toUTCString()},ue.jws.IntDate.intDate2Zulu=function(e){var t=new Date(1e3*e);return("0000"+t.getUTCFullYear()).slice(-4)+("00"+(t.getUTCMonth()+1)).slice(-2)+("00"+t.getUTCDate()).slice(-2)+("00"+t.getUTCHours()).slice(-2)+("00"+t.getUTCMinutes()).slice(-2)+("00"+t.getUTCSeconds()).slice(-2)+"Z"},t.SecureRandom=te,t.rng_seed_time=G,t.BigInteger=w,t.RSAKey=ie,t.EDSA=ue.crypto.EDSA,t.DSA=ue.crypto.DSA,t.Signature=ue.crypto.Signature,t.MessageDigest=ue.crypto.MessageDigest,t.Mac=ue.crypto.Mac,t.Cipher=ue.crypto.Cipher,t.KEYUTIL=Ne,t.ASN1HEX=de,t.X509=Ke,t.CryptoJS=A,t.b64tohex=b,t.b64toBA=C,t.stoBA=fe,t.BAtos=pe,t.BAtohex=ge,t.stohex=_e,t.stob64=function(e){return y(_e(e))},t.stob64u=function(e){return Ae(y(_e(e)))},t.b64utos=function(e){return pe(C(ve(e)))},t.b64tob64u=Ae,t.b64utob64=ve,t.hex2b64=y,t.hextob64u=me,t.b64utohex=ye,t.utf8tob64u=ce,t.b64utoutf8=he,t.utf8tob64=function(e){return y(De(Le(e)))},t.b64toutf8=function(e){return decodeURIComponent(Me(b(e)))},t.utf8tohex=be,t.hextoutf8=Ce,t.hextorstr=we,t.rstrtohex=ke,t.hextob64=Ee,t.hextob64nl=Se,t.b64nltohex=Oe,t.hextopem=xe,t.pemtohex=Pe,t.hextoArrayBuffer=function(e){if(e.length%2!=0)throw"input is not even length";if(null==e.match(/^[0-9A-Fa-f]+$/))throw"input is not hexadecimal";for(var t=new ArrayBuffer(e.length/2),n=new DataView(t),r=0;r<e.length/2;r++)n.setUint8(r,parseInt(e.substr(2*r,2),16));return t},t.ArrayBuffertohex=function(e){for(var t="",n=new DataView(e),r=0;r<e.byteLength;r++)t+=("00"+n.getUint8(r).toString(16)).slice(-2);return t},t.zulutomsec=Te,t.zulutosec=Be,t.zulutodate=function(e){return new Date(Te(e))},t.datetozulu=function(e,t,n){var r,i=e.getUTCFullYear();if(t){if(i<1950||2049<i)throw"not proper year for UTCTime: "+i;r=(""+i).slice(-2)}else r=("000"+i).slice(-4);if(r+=("0"+(e.getUTCMonth()+1)).slice(-2),r+=("0"+e.getUTCDate()).slice(-2),r+=("0"+e.getUTCHours()).slice(-2),r+=("0"+e.getUTCMinutes()).slice(-2),r+=("0"+e.getUTCSeconds()).slice(-2),n){var o=e.getUTCMilliseconds();0!==o&&(r+="."+(o=(o=("00"+o).slice(-3)).replace(/0+$/g,"")))}return r+"Z"},t.uricmptohex=De,t.hextouricmp=Me,t.ipv6tohex=Ie,t.hextoipv6=Re,t.hextoip=Fe,t.iptohex=function(e){var t="malformed IP address";if(!(e=e.toLowerCase(e)).match(/^[0-9.]+$/)){if(e.match(/^[0-9a-f:]+$/)&&-1!==e.indexOf(":"))return Ie(e);throw t}var n=e.split(".");if(4!==n.length)throw t;var r="";try{for(var i=0;i<4;i++)r+=("0"+parseInt(n[i]).toString(16)).slice(-2);return r}catch(e){throw t}},t.encodeURIComponentAll=Le,t.newline_toUnix=function(e){return e.replace(/\r\n/gm,"\n")},t.newline_toDos=function(e){return(e=e.replace(/\r\n/gm,"\n")).replace(/\n/gm,"\r\n")},t.hextoposhex=Ue,t.intarystrtohex=function(e){e=(e=(e=e.replace(/^\s*\[\s*/,"")).replace(/\s*\]\s*$/,"")).replace(/\s*/g,"");try{return e.split(/,/).map((function(e,t,n){var r=parseInt(e);if(r<0||255<r)throw"integer not in range 0-255";return("00"+r.toString(16)).slice(-2)})).join("")}catch(e){throw"malformed integer array string: "+e}},t.strdiffidx=function(e,t){var n=e.length;e.length>t.length&&(n=t.length);for(var r=0;r<n;r++)if(e.charCodeAt(r)!=t.charCodeAt(r))return r;return e.length!=t.length?n:-1},t.KJUR=ue,t.crypto=ue.crypto,t.asn1=ue.asn1,t.jws=ue.jws,t.lang=ue.lang}).call(this,n(27).Buffer)},function(e,t,n){"use strict";(function(e){var r=n(29),i=n(30),o=n(31);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return u(this,e,t,n)}function u(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=d(e,t),e}(e,t,n,r):"string"==typeof t?function(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(t,n),i=(e=s(e,r)).write(t,n);return i!==r&&(e=e.slice(0,i)),e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|f(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||function(e){return e!=e}(t.length)?s(e,0):d(e,t);if("Buffer"===t.type&&o(t.data))return d(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t){if(c(t),e=s(e,t<0?0:0|f(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|f(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function f(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&
vendor: 4,123 bytes, line 1
1(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return j(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function _(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:A(e,t,n,r,i);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):A(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function A(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,d=0;d<l;d++)if(u(e,o+d)!==u(t,d)){h=!1;break}if(h)return o}return-1}function v(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function m(e,t,n,r){return Q(j(t,e.length-n),e,n,r)}function y(e,t,n,r){return Q(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function b(e,t,n,r){return y(e,t,n,r)}function C(e,t,n,r){return Q(H(t),e,n,r)}function w(e,t,n,r){return Q(function(e,t){for(var n,r,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(t,e.length-n),e,n,r)}function k(e,t,n){return r.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,u=e[i],c=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:a=e[i+2],128==(192&(o=e[i+1]))&&128==(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=e[i+2],s=e[i+3],128==(192&(o=e[i+1]))&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(r.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}return function(e){var t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=S));return n}(r)}t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return u(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return function(e,t,n,r){return c(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},l.allocUnsafe=function(e){return h(null,e)},l.allocUnsafeSlow=function(e){return h(null,e)}
vendor: 12,315 bytes, line 1
1,l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},l.byteLength=p,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):(function(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return x(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}).apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,r,i){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=e.slice(t,n),h=0;h<s;++h)if(u[h]!==c[h]){o=u[h],a=c[h];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return _(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return _(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return m(this,e,t,n);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return b(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function O(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function x(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function P(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=N(e[o]);return i}function T(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function B(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function M(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function I(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function R(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,o){return o||R(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,o){return o||R(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var i=t-e;n=new l(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||B(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||B(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUInt8=function(e,t){return t||B(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||B(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||B(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||B(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||B(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return t||B(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||B(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||B(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||B(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||B(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||B(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||B(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=l.isBuffer(e)?e:j(new l(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function N(e){return e<16?"0"+e.toString(16):e.toString(16)}function j(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>
vendor: 7,272 bytes, line 1
1-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Q(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(28))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.byteLength=function(e){var t=u(e),n=t[1];return 3*(t[0]+n)/4-n},t.toByteArray=function(e){for(var t,n=u(e),r=n[0],a=n[1],s=new o(function(e,t,n){return 3*(t+n)/4-n}(0,r,a)),l=0,c=a>0?r-4:r,h=0;h<c;h+=4)t=i[e.charCodeAt(h)]<<18|i[e.charCodeAt(h+1)]<<12|i[e.charCodeAt(h+2)]<<6|i[e.charCodeAt(h+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=255&t;return 2===a&&(t=i[e.charCodeAt(h)]<<2|i[e.charCodeAt(h+1)]>>4,s[l++]=255&t),1===a&&(t=i[e.charCodeAt(h)]<<10|i[e.charCodeAt(h+1)]<<4|i[e.charCodeAt(h+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t),s},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(c(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,n){for(var i,o=[],a=t;a<n;a+=3)o.push(r[(i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,h=n?i-1:0,d=n?-1:1,f=e[t+h];for(h+=d,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+e[t+h],h+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+h],h+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=u}return(f?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,h=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(t*l-1)*Math.pow(2,i),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+f]=255&a,f+=p,a/=256,u-=8);e[n+f-p]|=128*g}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.jws,n=e.KeyUtil,i=e.X509,o=e.crypto,a=e.hextob64u,s=e.b64tohex,l=e.AllowedSigningAlgs;return function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.parseJwt=function e(n){r.Log.debug("JoseUtil.parseJwt");try{var i=t.JWS.parse(n);return{header:i.headerObj,payload:i.payloadObj}}catch(e){r.Log.error(e)}},e.validateJwt=function(t,o,a,l,u,c,h){r.Log.debug("JoseUtil.validateJwt");try{if("RSA"===o.kty)if(o.e&&o.n)o=n.getKey(o);else{if(!o.x5c||!o.x5c.length)return r.Log.error("JoseUtil.validateJwt: RSA key missing key material",o),Promise.reject(new Error("RSA key missing key material"));var d=s(o.x5c[0]);o=i.getPublicKeyFromCertHex(d)}else{if("EC"!==o.kty)return r.Log.error("JoseUtil.validateJwt: Unsupported key type",o&&o.kty),Promise.reject(new Error(o.kty));if(!(o.crv&&o.x&&o.y))return r.Log.error("JoseUtil.validateJwt: EC key missing key material",o),Promise.reject(new Error("EC key missing key material"));o=n.getKey(o)}return e._validateJwt(t,o,a,l,u,c,h)}catch(e){return r.Log.error(e&&e.message||e),Promise.reject("JWT validation failed")}},e.validateJwtAttributes=function(t,n,i,o,a,s){o||(o=0),a||(a=parseInt(Date.now()/1e3));var l=e.parseJwt(t).payload;if(!l.iss)return r.Log.error("JoseUtil._validateJwt: issuer was not provided"),Promise.reject(new Error("issuer was not provided"));if(l.iss!==n)return r.Log.error("JoseUtil._validateJwt: Invalid issuer in token",l.iss),Promise.reject(new Error("Invalid issuer in token: "+l.iss));if(!l.aud)return r.Log.error("JoseUtil._validateJwt: aud was not provided"),Promise.reject(new Error("aud was not provided"));if(!(l.aud===i||Array.isArray(l.aud)&&l.aud.indexOf(i)>=0))return r.Log.error("JoseUtil._validateJwt: Invalid audience in token",l.aud),Promise.reject(new Error("Invalid audience in token: "+l.aud));if(l.azp&&l.azp!==i)return r.Log.error("JoseUtil._validateJwt: Invalid azp in token",l.azp),Promise.reject(new Error("Invalid azp in token: "+l.azp));if(!s){var u=a+o,c=a-o;if(!l.iat)return r.Log.error("JoseUtil._validateJwt: iat was not provided"),Promise.reject(new Error("iat was not provided"));if(u<l.iat)return r.Log.error("JoseUtil._validateJwt: iat is in the future",l.iat),Promise.reject(new Error("iat is in the future: "+l.iat));if(l.nbf&&u<l.nbf)return r.Log.error("JoseUtil._validateJwt: nbf is in the future",l.nbf),Promise.reject(new Error("nbf is in the future: "+l.nbf));if(!l.exp)return r.Log.error("JoseUtil._validateJwt: exp was not provided"),Promise.reject(new Error("exp was not provided"));if(l.exp<c)return r.Log.error("JoseUtil._validateJwt: exp is in the past",l.exp),Promise.reject(new Error("exp is in the past:"+l.exp))}return Promise.resolve(l)},e._validateJwt=function(n,i,o,a,s,u,c){return e.validateJwtAttributes(n,o,a,s,u,c).then((function(e){try{return t.JWS.verify(n,i,l)?e:(r.Log.error("JoseUtil._validateJwt: signature validation failed"),Promise.reject(new Error("signature validation failed")))}catch(e){return r.Log.error(e&&e.message||e),Promise.reject(new Error("signature validation failed"))}}))},e.hashString=function e(t,n){try{return o.Util.hashString(t,n)}catch(e){r.Log.error(e)}},e.hexToBase64Url=function e(t){try{return a(t)}catch(e){r.Log.error(e)}},e}()};var r=n(0);e.exports=t.default},function(e,t,n){var r=n(34),i=n(35);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);
1if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SigninResponse=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(3);t.SigninResponse=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var r=i.UrlUtility.parseUrlFragment(t,n);this.error=r.error,this.error_description=r.error_description,this.error_uri=r.error_uri,this.code=r.code,this.state=r.state,this.id_token=r.id_token,this.session_state=r.session_state,this.access_token=r.access_token,this.token_type=r.token_type,this.scope=r.scope,this.profile=void 0,this.expires_in=r.expires_in}return r(e,[{key:"expires_in",get:function(){if(this.expires_at){var e=parseInt(Date.now()/1e3);return this.expires_at-e}},set:function(e){var t=parseInt(e);if("number"==typeof t&&t>0){var n=parseInt(Date.now()/1e3);this.expires_at=n+t}}},{key:"expired",get:function(){var e=this.expires_in;if(void 0!==e)return e<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}},{key:"isOpenIdConnect",get:function(){return this.scopes.indexOf("openid")>=0||!!this.id_token}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignoutRequest=void 0;var r=n(0),i=n(3),o=n(8);t.SignoutRequest=function e(t){var n=t.url,a=t.id_token_hint,s=t.post_logout_redirect_uri,l=t.data,u=t.extraQueryParams,c=t.request_type;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!n)throw r.Log.error("SignoutRequest.ctor: No url passed"),new Error("url");for(var h in a&&(n=i.UrlUtility.addQueryParam(n,"id_token_hint",a)),s&&(n=i.UrlUtility.addQueryParam(n,"post_logout_redirect_uri",s),l&&(this.state=new o.State({data:l,request_type:c}),n=i.UrlUtility.addQueryParam(n,"state",this.state.id))),u)n=i.UrlUtility.addQueryParam(n,h,u[h]);this.url=n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignoutResponse=void 0;var r=n(3);t.SignoutResponse=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=r.UrlUtility.parseUrlFragment(t,"?");this.error=n.error,this.error_description=n.error_description,this.error_uri=n.error_uri,this.state=n.state}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InMemoryWebStorage=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0);t.InMemoryWebStorage=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return e.prototype.getItem=function(e){return i.Log.debug("InMemoryWebStorage.getItem",e),this._data[e]},e.prototype.setItem=function(e,t){i.Log.debug("InMemoryWebStorage.setItem",e),this._data[e]=t},e.prototype.removeItem=function(e){i.Log.debug("InMemoryWebStorage.removeItem",e),delete this._data[e]},e.prototype.key=function(e){return Object.getOwnPropertyNames(this._data)[e]},r(e,[{key:"length",get:function(){return Object.getOwnPropertyNames(this._data).length}}]),e}()},function(e,t,n){"use strict";
vendor: 4,632 bytes, line 1
1Object.defineProperty(t,"__esModule",{value:!0}),t.UserManager=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=n(9),a=n(41),s=n(15),l=n(47),u=n(49),c=n(18),h=n(20),d=n(10),f=n(4);t.UserManager=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.SilentRenewService,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.SessionMonitor,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h.TokenRevocationClient,p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:d.TokenClient,g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:f.JoseUtil;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n instanceof a.UserManagerSettings||(n=new a.UserManagerSettings(n));var _=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return _._events=new l.UserManagerEvents(n),_._silentRenewService=new r(_),_.settings.automaticSilentRenew&&(i.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),_.startSilentRenew()),_.settings.monitorSession&&(i.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),_._sessionMonitor=new o(_)),_._tokenRevocationClient=new s(_._settings),_._tokenClient=new p(_._settings),_._joseUtil=g,_}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getUser=function(){var e=this;return this._loadUser().then((function(t){return t?(i.Log.info("UserManager.getUser: user loaded"),e._events.load(t,!1),t):(i.Log.info("UserManager.getUser: user not found in storage"),null)}))},t.prototype.removeUser=function(){var e=this;return this.storeUser(null).then((function(){i.Log.info("UserManager.removeUser: user removed from storage"),e._events.unload()}))},t.prototype.signinRedirect=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="si:r";var t={useReplaceToNavigate:e.useReplaceToNavigate};return this._signinStart(e,this._redirectNavigator,t).then((function(){i.Log.info("UserManager.signinRedirect: successful")}))},t.prototype.signinRedirectCallback=function(e){return this._signinEnd(e||this._redirectNavigator.url).then((function(e){return e.profile&&e.profile.sub?i.Log.info("UserManager.signinRedirectCallback: successful, signed in sub: ",e.profile.sub):i.Log.info("UserManager.signinRedirectCallback: no sub"),e}))},t.prototype.signinPopup=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="si:p";var t=e.redirect_uri||this.settings.popup_redirect_uri||this.settings.redirect_uri;return t?(e.redirect_uri=t,e.display="popup",this._signin(e,this._popupNavigator,{startUrl:t,popupWindowFeatures:e.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:e.popupWindowTarget||this.settings.popupWindowTarget}).then((function(e){return e&&(e.profile&&e.profile.sub?i.Log.info("UserManager.signinPopup: signinPopup successful, signed in sub: ",e.profile.sub):i.Log.info("UserManager.signinPopup: no sub")),e}))):(i.Log.error("UserManager.signinPopup: No popup_redirect_uri or redirect_uri configured"),Promise.reject(new Error("No popup_redirect_uri or redirect_uri configured")))},t.prototype.signinPopupCallback=function(e){return this._signinCallback(e,this._popupNavigator).then((function(e){return e&&(e.profile&&e.profile.sub?i.Log.info("UserManager.signinPopupCallback: successful, signed in sub: ",e.profile.sub):i.Log.info("UserManager.signinPopupCallback: no sub")),e})).catch((function(e){i.Log.error(e.message)}))},t.prototype.signinSilent=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(t=Object.assign({},t)).request_type="si:s",this._loadUser().then((function(n){return n&&n.refresh_token?(t.refresh_token=n.refresh_token,e._useRefreshToken(t)):(t.id_token_hint=t.id_token_hint||e.settings.includeIdTokenInSilentRenew&&n&&n.id_token,n&&e._settings.val
vendor: 9,532 bytes, line 1
1idateSubOnSilentRenew&&(i.Log.debug("UserManager.signinSilent, subject prior to silent renew: ",n.profile.sub),t.current_sub=n.profile.sub),e._signinSilentIframe(t))}))},t.prototype._useRefreshToken=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._tokenClient.exchangeRefreshToken(t).then((function(t){return t?t.access_token?e._loadUser().then((function(n){if(n){var r=Promise.resolve();return t.id_token&&(r=e._validateIdTokenFromTokenRefreshToken(n.profile,t.id_token)),r.then((function(){return i.Log.debug("UserManager._useRefreshToken: refresh token response success"),n.id_token=t.id_token,n.access_token=t.access_token,n.refresh_token=t.refresh_token||n.refresh_token,n.expires_in=t.expires_in,e.storeUser(n).then((function(){return e._events.load(n),n}))}))}return null})):(i.Log.error("UserManager._useRefreshToken: No access token returned from token endpoint"),Promise.reject("No access token returned from token endpoint")):(i.Log.error("UserManager._useRefreshToken: No response returned from token endpoint"),Promise.reject("No response returned from token endpoint"))}))},t.prototype._validateIdTokenFromTokenRefreshToken=function(e,t){var n=this;return this._metadataService.getIssuer().then((function(r){return n._joseUtil.validateJwtAttributes(t,r,n._settings.client_id,n._settings.clockSkew).then((function(t){return t?t.sub!==e.sub?(i.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: sub in id_token does not match current sub"),Promise.reject(new Error("sub in id_token does not match current sub"))):t.auth_time&&t.auth_time!==e.auth_time?(i.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: auth_time in id_token does not match original auth_time"),Promise.reject(new Error("auth_time in id_token does not match original auth_time"))):t.azp&&t.azp!==e.azp?(i.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp in id_token does not match original azp"),Promise.reject(new Error("azp in id_token does not match original azp"))):!t.azp&&e.azp?(i.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp not in id_token, but present in original id_token"),Promise.reject(new Error("azp not in id_token, but present in original id_token"))):void 0:(i.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: Failed to validate id_token"),Promise.reject(new Error("Failed to validate id_token")))}))}))},t.prototype._signinSilentIframe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return t?(e.redirect_uri=t,e.prompt=e.prompt||"none",this._signin(e,this._iframeNavigator,{startUrl:t,silentRequestTimeout:e.silentRequestTimeout||this.settings.silentRequestTimeout}).then((function(e){return e&&(e.profile&&e.profile.sub?i.Log.info("UserManager.signinSilent: successful, signed in sub: ",e.profile.sub):i.Log.info("UserManager.signinSilent: no sub")),e}))):(i.Log.error("UserManager.signinSilent: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},t.prototype.signinSilentCallback=function(e){return this._signinCallback(e,this._iframeNavigator).then((function(e){return e&&(e.profile&&e.profile.sub?i.Log.info("UserManager.signinSilentCallback: successful, signed in sub: ",e.profile.sub):i.Log.info("UserManager.signinSilentCallback: no sub")),e}))},t.prototype.signinCallback=function(e){var t=this;return this.readSigninResponseState(e).then((function(n){var r=n.state;return"si:r"===r.request_type?t.signinRedirectCallback(e):"si:p"===r.request_type?t.signinPopupCallback(e):"si:s"===r.request_type?t.signinSilentCallback(e):Promise.reject(new Error("invalid response_type in state"))}))},t.prototype.signoutCallback=function(e,t){var n=this;return this.readSignoutResponseState(e).then((function(r){var i=r.state,o=r.response;return i?"so:r"===i.request_type?n.signoutRedirectCallback(e):"so:p"===i.request_type?n.signoutPopupCallback(e,t):Promise.reject(new Error("invalid response_type in state")):o}))},t.prototype.querySessionStatus=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:s";var n=t.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return n?(t.redirect_uri=n,t.prompt="none",t.response_type=t.response_type||this.settings.query_status_response_type,t.scope=t.scope||"openid",t.skipUserInfo=!0,this._signinStart(t,this._iframeNavigator,{startUrl:n,silentRequestTimeout:t.silentRequestTimeout||this.settings.silentRequestTimeout}).then((function(t){return e.processSigninResponse(t.url).then((function(e){if(i.Log.debug("UserManager.querySessionStatus: got signin response"),e.session_state&&e.profile.sub)return i.Log.info("UserManager.querySessionStatus: querySessionStatus success for sub: ",e.profile.sub),{session_state:e.session_state,sub:e.profile.sub,sid:e.profile.sid};i.Log.info("querySessionStatus successful, user not authenticated")})).catch((function(t){if(t.session_state&&e.settings.monitorAnonymousSession&&("login_required"==t.message||"consent_required"==t.message||"interaction_required"==t.message||"account_selection_required"==t.message))return i.Log.info("UserManager.querySessionStatus: querySessionStatus success for anonymous user"),{session_state:t.session_state};throw t}))}))):(i.Log.error("UserManager.querySessionStatus: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},t.prototype._signin=function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signinStart(e,t,r).then((function(t){return n._signinEnd(t.url,e)}))},t.prototype._signinStart=function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.prepare(r).then((function(t){return i.Log.debug("UserManager._signinStart: got navigator window handle"),n.createSigninRequest(e).then((function(e){return i.Log.debug("UserManager._signinStart: got signin request"),r.url=e.url,r.id=e.state.id,t.navigate(r)})).catch((function(e){throw t.close&&(i.Log.debug("UserManager._signinStart: Error after preparing navigator, closing navigator window"),t.close()),e}))}))},t.prototype._signinEnd=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.processSigninResponse(e).then((function(e){i.Log.debug("UserManager._signinEnd: got signin response");var r=new s.User(e);if(n.current_sub){if(n.current_sub!==r.profile.sub)return i.Log.debug("UserManager._signinEnd: current user does not match user returned from signin. sub from signin: ",r.profile.sub),Promise.reject(new Error("login_required"));i.Log.debug("UserManager._signinEnd: current user matches user returned from signin")}return t.storeUser(r).then((function(){return i.Log.debug("UserManager._signinEnd: user stored"),t._events.load(r),r}))}))},t.prototype._signinCallback=function(e,t){return i.Log.debug("UserManager._signinCallback"),t.callback(e)},t.prototype.signoutRedirect=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="so:r";var t=e.post_logout_redirect_uri||this.settings.post_logout_redirect_uri;t&&(e.post_logout_redirect_uri=t);var n={useReplaceToNavigate:e.useReplaceToNavigate};return this._signoutStart(e,this._redirectNavigator,n).then((function(){i.Log.info("UserManager.signoutRedirect: successful")}))},t.prototype.signoutRedirectCallback=function(e){return this._signoutEnd(e||this._redirectNavigator.url).then((function(e){return i.Log.info("UserManager.signoutRedirectCallback: successful"),e}))},t.prototype.signoutPopup=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="so:p";var t=e.post_logout_redirect_uri||this.settings.popup_post_logout_redirect_uri||this.settings.post_logout_redirect_uri;return e.post_logout_redirect_uri=t,e.display="popup",e.post_logout_redirect_uri&&(e.state=e.state||{}),this._signout(e,this._popupNavigator,{startUrl:t,popupWindowFeatures:e.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:e.popupWindowTarget||this.settings.popupWindowTarget}).then((function(){i.Log.info("UserManager.signoutPopup: successful")}))},t.prototype.signoutPopupCallback=function(e,t){return void 0===t&&"boolean"==typeof e&&(t=e,e=null),this._popupNavigator.callback(e,t,"?").then((function(){i.Log.info("UserManager.signoutPopupCallback: successful")}))},t.prototype._signout=function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signoutStart(e,t,r).then((function(e){return n._signoutEnd(e.url)}))},t.prototype._signoutStart=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this,n=arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.prepare(r).then((function(n){return i.Log.debug("UserManager._signoutStart: got navigator window handle"),t._loadUser().then((function(o){return i.Log.debug("UserManager._signoutStart: loaded current user from storage"),(t._settings.revokeAccessTokenOnSignout?t._revokeInternal(o):Promise.resolve()).then((function(){var a=e.id_token_hint||o&&o.id_token;return a&&(i.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),e.id_token_hint=a),t.removeUser().then((function(){return i.Log.debug("UserManager._signoutStart: user removed, creating signout request"),t.createSignoutRequest
vendor: 19,476 bytes, line 1
1(e).then((function(e){return i.Log.debug("UserManager._signoutStart: got signout request"),r.url=e.url,e.state&&(r.id=e.state.id),n.navigate(r)}))}))}))})).catch((function(e){throw n.close&&(i.Log.debug("UserManager._signoutStart: Error after preparing navigator, closing navigator window"),n.close()),e}))}))},t.prototype._signoutEnd=function(e){return this.processSignoutResponse(e).then((function(e){return i.Log.debug("UserManager._signoutEnd: got signout response"),e}))},t.prototype.revokeAccessToken=function(){var e=this;return this._loadUser().then((function(t){return e._revokeInternal(t,!0).then((function(n){if(n)return i.Log.debug("UserManager.revokeAccessToken: removing token properties from user and re-storing"),t.access_token=null,t.refresh_token=null,t.expires_at=null,t.token_type=null,e.storeUser(t).then((function(){i.Log.debug("UserManager.revokeAccessToken: user stored"),e._events.load(t)}))}))})).then((function(){i.Log.info("UserManager.revokeAccessToken: access token revoked successfully")}))},t.prototype._revokeInternal=function(e,t){var n=this;if(e){var r=e.refresh_token;return this._revokeAccessTokenInternal(e.access_token,t).then((function(e){return n._revokeRefreshTokenInternal(r,t).then((function(t){return e||t||i.Log.debug("UserManager.revokeAccessToken: no need to revoke due to no token(s), or JWT format"),e||t}))}))}return Promise.resolve(!1)},t.prototype._revokeAccessTokenInternal=function(e,t){return!e||e.indexOf(".")>=0?Promise.resolve(!1):this._tokenRevocationClient.revoke(e,t).then((function(){return!0}))},t.prototype._revokeRefreshTokenInternal=function(e,t){return e?this._tokenRevocationClient.revoke(e,t,"refresh_token").then((function(){return!0})):Promise.resolve(!1)},t.prototype.startSilentRenew=function(){this._silentRenewService.start()},t.prototype.stopSilentRenew=function(){this._silentRenewService.stop()},t.prototype._loadUser=function(){return this._userStore.get(this._userStoreKey).then((function(e){return e?(i.Log.debug("UserManager._loadUser: user storageString loaded"),s.User.fromStorageString(e)):(i.Log.debug("UserManager._loadUser: no user storageString"),null)}))},t.prototype.storeUser=function(e){if(e){i.Log.debug("UserManager.storeUser: storing user");var t=e.toStorageString();return this._userStore.set(this._userStoreKey,t)}return i.Log.debug("storeUser.storeUser: removing user"),this._userStore.remove(this._userStoreKey)},r(t,[{key:"_redirectNavigator",get:function(){return this.settings.redirectNavigator}},{key:"_popupNavigator",get:function(){return this.settings.popupNavigator}},{key:"_iframeNavigator",get:function(){return this.settings.iframeNavigator}},{key:"_userStore",get:function(){return this.settings.userStore}},{key:"events",get:function(){return this._events}},{key:"_userStoreKey",get:function(){return"user:"+this.settings.authority+":"+this.settings.client_id}}]),t}(o.OidcClient)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserManagerSettings=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=(n(0),n(5)),o=n(42),a=n(43),s=n(45),l=n(6),u=n(1),c=n(12);t.UserManagerSettings=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.popup_redirect_uri,i=n.popup_post_logout_redirect_uri,h=n.popupWindowFeatures,d=n.popupWindowTarget,f=n.silent_redirect_uri,p=n.silentRequestTimeout,g=n.automaticSilentRenew,_=void 0!==g&&g,A=n.validateSubOnSilentRenew,v=void 0!==A&&A,m=n.includeIdTokenInSilentRenew,y=void 0===m||m,b=n.monitorSession,C=void 0===b||b,w=n.monitorAnonymousSession,k=void 0!==w&&w,E=n.checkSessionInterval,S=void 0===E?2e3:E,O=n.stopCheckSessionOnError,x=void 0===O||O,P=n.query_status_response_type,T=n.revokeAccessTokenOnSignout,B=void 0!==T&&T,D=n.accessTokenExpiringNotificationTime,M=void 0===D?60:D,I=n.redirectNavigator,R=void 0===I?new o.RedirectNavigator:I,F=n.popupNavigator,L=void 0===F?new a.PopupNavigator:F,U=n.iframeNavigator,N=void 0===U?new s.IFrameNavigator:U,j=n.userStore,H=void 0===j?new l.WebStorageStateStore({store:u.Global.sessionStorage}):j;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var Q=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,arguments[0]));return Q._popup_redirect_uri=r,Q._popup_post_logout_redirect_uri=i,Q._popupWindowFeatures=h,Q._popupWindowTarget=d,Q._silent_redirect_uri=f,Q._silentRequestTimeout=p,Q._automaticSilentRenew=_,Q._validateSubOnSilentRenew=v,Q._includeIdTokenInSilentRenew=y,Q._accessTokenExpiringNotificationTime=M,Q._monitorSession=C,Q._monitorAnonymousSession=k,Q._checkSessionInterval=S,Q._stopCheckSessionOnError=x,Q._query_status_response_type=P||(arguments[0]&&arguments[0].response_type?c.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),Q._revokeAccessTokenOnSignout=B,Q._redirectNavigator=R,Q._popupNavigator=L,Q._iframeNavigator=N,Q._userStore=H,Q}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"popup_redirect_uri",get:function(){return this._popup_redirect_uri}},{key:"popup_post_logout_redirect_uri",get:function(){return this._popup_post_logout_redirect_uri}},{key:"popupWindowFeatures",get:function(){return this._popupWindowFeatures}},{key:"popupWindowTarget",get:function(){return this._popupWindowTarget}},{key:"silent_redirect_uri",get:function(){return this._silent_redirect_uri}},{key:"silentRequestTimeout",get:function(){return this._silentRequestTimeout}},{key:"automaticSilentRenew",get:function(){return this._automaticSilentRenew}},{key:"validateSubOnSilentRenew",get:function(){return this._validateSubOnSilentRenew}},{key:"includeIdTokenInSilentRenew",get:function(){return this._includeIdTokenInSilentRenew}},{key:"accessTokenExpiringNotificationTime",get:function(){return this._accessTokenExpiringNotificationTime}},{key:"monitorSession",get:function(){return this._monitorSession}},{key:"monitorAnonymousSession",get:function(){return this._monitorAnonymousSession}},{key:"checkSessionInterval",get:function(){return this._checkSessionInterval}},{key:"stopCheckSessionOnError",get:function(){return this._stopCheckSessionOnError}},{key:"query_status_response_type",get:function(){return this._query_status_response_type}},{key:"revokeAccessTokenOnSignout",get:function(){return this._revokeAccessTokenOnSignout}},{key:"redirectNavigator",get:function(){return this._redirectNavigator}},{key:"popupNavigator",get:function(){return this._popupNavigator}},{key:"iframeNavigator",get:function(){return this._iframeNavigator}},{key:"userStore",get:function(){return this._userStore}}]),t}(i.OidcClientSettings)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RedirectNavigator=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0);t.RedirectNavigator=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.prototype.prepare=function(){return Promise.resolve(this)},e.prototype.navigate=function(e){return e&&e.url?(e.useReplaceToNavigate?window.location.replace(e.url):window.location=e.url,Promise.resolve()):(i.Log.error("RedirectNavigator.navigate: No url provided"),Promise.reject(new Error("No url provided")))},r(e,[{key:"url",get:function(){return window.location.href}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopupNavigator=void 0;var r=n(0),i=n(44);t.PopupNavigator=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.prototype.prepare=function(e){var t=new i.PopupWindow(e);return Promise.resolve(t)},e.prototype.callback=function e(t,n,o){r.Log.debug("PopupNavigator.callback");try{return i.PopupWindow.notifyOpener(t,n,o),Promise.resolve()}catch(e){return Promise.reject(e)}},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopupWindow=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=n(3);t.PopupWindow=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._promise=new Promise((function(e,t){n._resolve=e,n._reject=t})),this._popup=window.open("",t.popupWindowTarget||"_blank",t.popupWindowFeatures||"location=no,toolbar=no,width=500,height=500,left=100,top=100;"),this._popup&&(i.Log.debug("PopupWindow.ctor: popup successfully created"),this._checkForPopupClosedTimer=window.setInterval(this._checkForPopupClosed.bind(this),500))}return e.prototype.navigate=function(e){return this._popup?e&&e.url?(i.Log.debug("PopupWindow.navigate: Setting URL in popup"),this._id=e.id,this._id&&(window["popupCallback_"+e.id]=this._callback.bind(this)),this._popup.focus(),this._popup.window.location=e.url):(this._error("PopupWindow.navigate: no url provided"),this._error("No url provided")):this._error("PopupWindow.navigate: Error opening popup window"),this.promise},e.prototype._success=function(e){i.Log.debug("PopupWindow.callback: Successful response from popup window"),this._cleanup(),this._resolve(e)},e.prototype._error=function(e){i.Log.error("PopupWindow.error: ",e),this._cleanup(),this._reject(new Error(e))},e.prototype.close=function(){this._cleanup(!1)},e.prototype._cleanup=function(e){i.Log.debug("PopupWindow.cleanup"),window.clearInterval(this._checkForPopupClosedTimer),this._checkForPopupClosedTimer=null,delete window["popupCallback_"+this._id],this._popup&&!e&&this._popup.close(),this._popup=null},e.prototype._checkForPopupClosed=function(){this._popup&&!this._popup.closed||this._error("Popup window closed")},e.prototype._callback=function(e,t){this._cleanup(t),e?(i.Log.debug("PopupWindow.callback success"),this._success({url:e})):(i.Log.debug("PopupWindow.callback: Invalid response from popup"),this._error("Invalid response from popup"))},e.notifyOpener=function(e,t,n){if(window.opener){if(e=e||window.location.href){var r=o.UrlUtility.parseUrlFragment(e,n);if(r.state){var a=window.opener["popupCallback_"+r.state];a?(i.Log.debug("PopupWindow.notifyOpener: passing url message to opener"),a(e,t)):i.Log.warn("PopupWindow.notifyOpener: no matching callback found on opener")}else i.Log.warn("PopupWindow.notifyOpener: no state found in response url")}}else i.Log.warn("PopupWindow.notifyOpener: no window.opener. Can't complete notification.")},r(e,[{key:"promise",get:function(){return this._promise}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IFrameNavigator=void 0;var r=n(0),i=n(46);t.IFrameNavigator=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.prototype.prepare=function(e){var t=new i.IFrameWindow(e);return Promise.resolve(t)},e.prototype.callback=function e(t){r.Log.debug("IFrameNavigator.callback");try{return i.IFrameWindow.notifyParent(t),Promise.resolve()}catch(e){return Promise.reject(e)}},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IFrameWindow=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0);t.IFrameWindow=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._promise=new Promise((function(e,t){n._resolve=e,n._reject=t})),this._boundMessageEvent=this._message.bind(this),window.addEventListener("message",this._boundMessageEvent,!1),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.style.width=0,this._frame.style.height=0,window.document.body.appendChild(this._frame)}return e.prototype.navigate=function(e){if(e&&e.url){var t=e.silentRequestTimeout||1e4;i.Log.debug("IFrameWindow.navigate: Using timeout of:",t),this._timer=window.setTimeout(this._timeout.bind(this),t),this._frame.src=e.url}else this._error("No url provided");return this.promise},e.prototype._success=function(e){this._cleanup(),i.Log.debug("IFrameWindow: Successful response from frame window"),this._resolve(e)},e.prototype._error=function(e){this._cleanup(),i.Log.error(e),this._reject(new Error(e))},e.prototype.close=function(){this._cleanup()},e.prototype._cleanup=function(){this._frame&&(i.Log.debug("IFrameWindow: cleanup"),window.removeEventListener("message",this._boundMessageEvent,!1),window.clearTimeout(this._timer),window.document.body.removeChild(this._frame),this._timer=null,this._frame=null,this._boundMessageEvent=null)},e.prototype._timeout=function(){i.Log.debug("IFrameWindow.timeout"),this._error("Frame window timed out")},e.prototype._message=function(e){if(i.Log.debug("IFrameWindow.message"),this._timer&&e.origin===this._origin&&e.source===this._frame.contentWindow){var t=e.data;t?this._success({url:t}):this._error("Invalid response from frame")}},e.notifyParent=function(e){i.Log.debug("IFrameWindow.notifyParent"),window.frameElement&&(e=e||window.location.href)&&(i.Log.debug("IFrameWindow.notifyParent: posting url message to parent"),window.parent.postMessage(e,location.protocol+"//"+location.host))},r(e,[{key:"promise",get:function(){return this._promise}},{key:"_origin",get:function(){return location.protocol+"//"+location.host}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserManagerEvents=void 0;var r=n(0),i=n(16),o=n(17);t.UserManagerEvents=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r._userLoaded=new o.Event("User loaded"),r._userUnloaded=new o.Event("User unloaded"),r._silentRenewError=new o.Event("Silent renew error"),r._userSignedIn=new o.Event("User signed in"),r._userSignedOut=new o.Event("User signed out"),r._userSessionChanged=new o.Event("User session changed"),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.load=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r.Log.debug("UserManagerEvents.load"),e.prototype.load.call(this,t),n&&this._userLoaded.raise(t)},t.prototype.unload=function(){r.Log.debug("UserManagerEvents.unload"),e.prototype.unload.call(this),this._userUnloaded.raise()},t.prototype.addUserLoaded=function(e){this._userLoaded.addHandler(e)},t.prototype.removeUserLoaded=function(e){this._userLoaded.removeHandler(e)},t.prototype.addUserUnloaded=function(e){this._userUnloaded.addHandler(e)},t.prototype.removeUserUnloaded=function(e){this._userUnloaded.removeHandler(e)},t.prototype.addSilentRenewError=function(e){this._silentRenewError.addHandler(e)},t.prototype.removeSilentRenewError=function(e){this._silentRenewError.removeHandler(e)},t.prototype._raiseSilentRenewError=function(e){r.Log.debug("UserManagerEvents._raiseSilentRenewError",e.message),this._silentRenewError.raise(e)},t.prototype.addUserSignedIn=function(e){this._userSignedIn.addHandler(e)},t.prototype.removeUserSignedIn=function(e){this._userSignedIn.removeHandler(e)},t.prototype._raiseUserSignedIn=function(){r.Log.debug("UserManagerEvents._raiseUserSignedIn"),this._userSignedIn.raise()},t.prototype.addUserSignedOut=function(e){this._userSignedOut.addHandler(e)},t.prototype.removeUserSignedOut=function(e){this._userSignedOut.removeHandler(e)},t.prototype._raiseUserSignedOut=function(){r.Log.debug("UserManagerEvents._raiseUserSignedOut"),this._userSignedOut.raise()},t.prototype.addUserSessionChanged=function(e){this._userSessionChanged.addHandler(e)},t.prototype.removeUserSessionChanged=function(e){this._userSessionChanged.removeHandler(e)},t.prototype._raiseUserSessionChanged=function(){r.Log.debug("UserManagerEvents._raiseUserSessionChanged"),this._userSessionChanged.raise()},t}(i.AccessTokenEvents)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Timer=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=n(1),a=n(17);t.Timer=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Global.timer,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return a._timer=r,a._nowFunc=i||function(){return Date.now()/1e3},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.init=function(e){e<=0&&(e=1),e=parseInt(e);var t=this.now+e;if(this.expiration===t&&this._timerHandle)i.Log.debug("Timer.init timer "+this._name+" skipping initialization since already initialized for expiration:",this.expiration);else{this.cancel(),i.Log.debug("Timer.init timer "+this._name+" for duration:",e),this._expiration=t;var n=5;e<n&&(n=e),this._timerHandle=this._timer.setInterval(this._callback.bind(this),1e3*n)}},t.prototype.cancel=function(){this._timerHandle&&(i.Log.debug("Timer.cancel: ",this._name),this._timer.clearInterval(this._timerHandle),this._timerHandle=null)},t.prototype._callback=function(){i.Log.debug("Timer.callback; "+this._name+" timer expires in:",this._expiration-this.now),this._expiration<=this.now&&(this.cancel(),e.prototype.raise.call(this))}
1,r(t,[{key:"now",get:function(){return parseInt(this._nowFunc())}},{key:"expiration",get:function(){return this._expiration}}]),t}(a.Event)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SilentRenewService=void 0;var r=n(0);t.SilentRenewService=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._userManager=t}return e.prototype.start=function(){this._callback||(this._callback=this._tokenExpiring.bind(this),this._userManager.events.addAccessTokenExpiring(this._callback),this._userManager.getUser().then((function(e){})).catch((function(e){r.Log.error("SilentRenewService.start: Error from getUser:",e.message)})))},e.prototype.stop=function(){this._callback&&(this._userManager.events.removeAccessTokenExpiring(this._callback),delete this._callback)},e.prototype._tokenExpiring=function(){var e=this;this._userManager.signinSilent().then((function(e){r.Log.debug("SilentRenewService._tokenExpiring: Silent token renewal successful")}),(function(t){r.Log.error("SilentRenewService._tokenExpiring: Error from signinSilent:",t.message),e._userManager.events._raiseSilentRenewError(t)}))},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CordovaPopupNavigator=void 0;var r=n(21);t.CordovaPopupNavigator=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.prototype.prepare=function(e){var t=new r.CordovaPopupWindow(e);return Promise.resolve(t)},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CordovaIFrameNavigator=void 0;var r=n(21);t.CordovaIFrameNavigator=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.prototype.prepare=function(e){e.popupWindowFeatures="hidden=yes";var t=new r.CordovaPopupWindow(e);return Promise.resolve(t)},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Version="1.10.1"}])},"3UD+":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"3UWI":function(e,t,n){"use strict";var r=n("D0XW"),i=n("l7GE"),o=n("ZUHj"),a=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.durationSelector=t}),[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.durationSelector))}}])}(),s=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).durationSelector=n,r.hasValue=!1,r}return _inherits2(t,e),_createClass2(t,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(r){return this.destination.error(r)}var n=Object(o.a)(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(e,t,n,r){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}])}(i.a),l=n("PqYM");function u(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.a;return t=function(){return Object(l.a)(e,n)},function(e){return e.lift(new a(t))}}n.d(t,"a",(function(){return u}))},"3fkT":function(e,t,n){"use strict";var r=n("mrSG"),i=n("8Y7J"),o=n("QQfA"),a=n("zMNK"),s=n("iInd"),l=n("dvZr"),u=(n("DQLy"),n("SVse")),c=n("s7LF"),h=n("HDdC"),d=n("NXyV"),f=n("XNiG"),p=n("2Vo4"),g=n("itXk"),_=n("Cfvw"),A=n("LRne"),v=n("/uUt"),m=n("pLZG"),y=n("eIep"),b=n("lJxs"),C=n("nYR2"),w=n("JX91"),k=n("w1tV"),E=n("Kj3r"),S=n("XqQ8"),O=n("3E0/"),x=n("vkgz"),P=n("IzEk"),T=n("JIr8"),B=(n("+az/"),n("OIZN")),D=n("s6ns"),M=n("8rEH"),I=n("MCLT");n.d(t,"a",(function(){return _e})),n.d(t,"b",(function(){return Ue})),n.d(t,"c",(function(){return V})),n.d(t,"d",(function(){return X})),n.d(t,"e",(function(){return J})),n.d(t,"f",(function(){return Ct})),n.d(t,"g",(function(){return wt})),n.d(t,"h",(function(){return ee})),n.d(t,"i",(function(){return te})),n.d(t,"j",(function(){return nt})),n.d(t,"k",(function(){return rt})),n.d(t,"l",(function(){return it})),n.d(t,"m",(function(){return ot})),n.d(t,"n",(function(){return at})),n.d(t,"o",(function(){return st})),n.d(t,"p",(function(){return lt})),n.d(t,"q",(function(){return ut})),n.d(t,"r",(function(){return Z})),n.d(t,"s",(function(){return $})),n.d(t,"t",(function(){return se})),n.d(t,"u",(function(){return le})),n.d(t,"v",(function(){return K})),n.d(t,"w",(function(){return W})),n.d(t,"x",(function(){return z})),n.d(t,"y",(function(){return q})),n.d(t,"z",(function(){return ct})),n.d(t,"A",(function(){return ht})),n.d(t,"B",(function(){return Ze})),n.d(t,"C",(function(){return et})),n.d(t,"D",(function(){return $e})),n.d(t,"E",(function(){return Je})),n.d(t,"F",(function(){return tt})),n.d(t,"G",(function(){return _t})),n.d(t,"H",(function(){return gt})),n.d(t,"I",(function(){return At})),n.d(t,"J",(function(){return We})),n.d(t,"K",(function(){return Xe})),n.d(t,"L",(function(){return bt})),n.d(t,"M",(function(){return kt})),n.d(t,"N",(function(){return ie})),n.d(t,"O",(function(){return oe})),n.d(t,"P",(function(){return ne})),n.d(t,"Q",(function(){return re})),n.d(t,"R",(function(){return vt})),n.d(t,"S",(function(){return mt})),n.d(t,"T",(function(){return ft})),n.d(t,"U",(function(){return ae})),n.d(t,"V",(function(){return Ne})),n.d(t,"W",(function(){return St})),n.d(t,"X",(function(){return Et})),n.d(t,"Y",(function(){return Ot})),n.d(t,"Z",(function(){return fe})),n.d(t,"ab",(function(){return Ke})),n.d(t,"bb",(function(){return je})),n.d(t,"cb",(function(){return dt})),n.d(t,"db",(function(){return pt})),n.d(t,"eb",(function(){return Y})),n.d(t,"fb",(function(){return G})),n.d(t,"gb",(function(){return jt})),n.d(t,"hb",(function(){return Ht})),n.d(t,"ib",(function(){return fn}
1)),n.d(t,"jb",(function(){return pn})),n.d(t,"kb",(function(){return xt})),n.d(t,"lb",(function(){return Bt})),n.d(t,"mb",(function(){return Dt})),n.d(t,"nb",(function(){return Mt})),n.d(t,"ob",(function(){return Kt})),n.d(t,"pb",(function(){return Wt})),n.d(t,"qb",(function(){return It})),n.d(t,"rb",(function(){return Rt})),n.d(t,"sb",(function(){return Ft})),n.d(t,"tb",(function(){return Lt})),n.d(t,"ub",(function(){return Ut})),n.d(t,"vb",(function(){return Nt})),n.d(t,"wb",(function(){return Xt})),n.d(t,"xb",(function(){return Zt})),n.d(t,"yb",(function(){return Jt})),n.d(t,"zb",(function(){return en})),n.d(t,"Ab",(function(){return zt})),n.d(t,"Bb",(function(){return qt})),n.d(t,"Cb",(function(){return Qt})),n.d(t,"Db",(function(){return Vt})),n.d(t,"Eb",(function(){return Yt})),n.d(t,"Fb",(function(){return Gt})),n.d(t,"Gb",(function(){return $t})),n.d(t,"Hb",(function(){return tn})),n.d(t,"Ib",(function(){return hn})),n.d(t,"Jb",(function(){return dn})),n.d(t,"Kb",(function(){return an})),n.d(t,"Lb",(function(){return sn})),n.d(t,"Mb",(function(){return cn})),n.d(t,"Nb",(function(){return un})),n.d(t,"Ob",(function(){return ln})),n.d(t,"Pb",(function(){return rn})),n.d(t,"Qb",(function(){return Q})),n.d(t,"Rb",(function(){return H})),n.d(t,"Sb",(function(){return Ae})),n.d(t,"Tb",(function(){return N})),n.d(t,"Ub",(function(){return ue})),n.d(t,"Vb",(function(){return Tt})),n.d(t,"Wb",(function(){return Pt})),n.d(t,"Xb",(function(){return nn})),n.d(t,"Yb",(function(){return He})),n.d(t,"Zb",(function(){return Qe})),n.d(t,"ac",(function(){return Ve})),n.d(t,"bc",(function(){return pe})),n.d(t,"cc",(function(){return ge})),n.d(t,"dc",(function(){return ve})),n.d(t,"ec",(function(){return me})),n.d(t,"fc",(function(){return ye})),n.d(t,"gc",(function(){return be})),n.d(t,"hc",(function(){return ke})),n.d(t,"ic",(function(){return Se})),n.d(t,"jc",(function(){return Oe})),n.d(t,"kc",(function(){return Pe})),n.d(t,"lc",(function(){return Te})),n.d(t,"mc",(function(){return Be})),n.d(t,"nc",(function(){return De})),n.d(t,"oc",(function(){return Me})),n.d(t,"pc",(function(){return Ie})),n.d(t,"qc",(function(){return Re})),n.d(t,"rc",(function(){return Le})),n.d(t,"sc",(function(){return Ge})),n.d(t,"tc",(function(){return ze})),n.d(t,"uc",(function(){return Ye})),n.d(t,"vc",(function(){return qe}));var R,F,L=new i.InjectionToken("OVERLAY_DATA",{factory:function(){}}),U=new i.InjectionToken("OVERLAY_REF",{factory:function(){}}),N=((R=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"setParentRoute",value:function(e){this.parentRoute=e}},{key:"getParentRoute",value:function(){return this.parentRoute?this.parentRoute:""}}])}()).ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new R},token:R,providedIn:"root"}),R),j=_createClass2((function e(t,n){_classCallCheck2(this,e),this.ref=t,this.subscriptions=n})),H=((F=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this.overlay=t,this.injector=n,this.router=r,this.navigation=i,this.overlays=[]}),[{key:"close",value:function(e){e&&(this.overlays.filter((function(t){return t.ref===e})).forEach((function(e){e.ref.detach(),e.ref.dispose(),e.subscriptions.forEach((function(e){return e.unsubscribe()}))})),this.overlays=_toConsumableArray2(this.overlays.filter((function(t){return t.ref!==e}))))}},{key:"open",value:function(e,t){e&&(this.overlays=[].concat(_toConsumableArray2(this.overlays),[new j(e,t)]))}},{key:"openAttachedTemplate",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,c=this.overlay.position().connectedTo(e.elementRef,Object.assign({originX:"end",originY:"bottom"},i),Object.assign({overlayX:"end",overlayY:"top"},s)).withOffsetX(l).withOffsetY(u).withFallbackPosition({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},l,-1*u),h=new o.e({positionStrategy:c,hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop"}),d=this.overlay.create(h),f=this.applyInteraction(d);return new Promise((function(e,i){d.attach(new a.g(n,t,r.createInjector(null,d))),r.open(d,f),e(d)}
1))}},{key:"openGlobalTemplateCentered",value:function(e,t){var n=this,r=this.overlay.position().global(),i=new o.e({positionStrategy:r,hasBackdrop:!0}),s=this.overlay.create(i),l=this.applyInteraction(s);return new Promise((function(r,i){s.attach(new a.g(t,e,n.createInjector(null,s))),n.open(s,l),r(s)}))}},{key:"openGlobalComponentCentered",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.overlay.position().global(),s=new o.e({positionStrategy:i,hasBackdrop:!0}),l=this.overlay.create(s),u=this.applyInteraction(l);return new Promise((function(i,o){var s=l.attach(new a.c(t,e,n.createInjector(r,l)));n.open(l,u),i(s)}))}},{key:"openGlobalOverlayComponentCentered",value:function(e){var t=this,n=(arguments.length>1&&void 0!==arguments[1]&&arguments[1],this.overlay.position().global()),r=new o.e({positionStrategy:n,hasBackdrop:!0}),i=this.overlay.create(r),a=this.applyInteraction(i);return new Promise((function(n,r){var o=i.attach(e);t.open(i,a),n(o)}))}},{key:"applyInteraction",value:function(e){var t=this,n=[],r=e.backdropClick().subscribe((function(){t.close(e)})),i=e.keydownEvents().subscribe((function(n){n.keyCode===l.e&&(t.close(e),n.preventDefault(),n.stopPropagation())}));e.hostElement.addEventListener("click",(function(n){var r=n.target;null!=r&&null!=r.className&&-1!==r.className.indexOf("close-overlay")&&t.close(e)})),n.push(r),n.push(i);var a=e.getConfig().positionStrategy;return a&&a instanceof o.c&&n.push(a.positionChanges.subscribe((function(t){var n=a.positions.indexOf(t.connectionPair);n>0?!1===e.overlayElement.classList.contains("fallback-position")&&e.overlayElement.classList.add("fallback-position"):0===n&&e.overlayElement.classList.contains("fallback-position")&&e.overlayElement.classList.remove("fallback-position")}))),n}},{key:"createInjector",value:function(e,t){var n=new WeakMap([[L,e],[U,t]]);return new a.e(this.injector,n)}},{key:"navigateToParent",value:function(){var e=this;this.navigation.getParentRoute()&&this.router.navigate([{outlets:{primary:this.navigation.getParentRoute(),modal:null}}],{skipLocationChange:!1}).then((function(){e.navigation.setParentRoute(null)}))}}])}()).ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new F(Object(i["\u0275\u0275inject"])(o.d),Object(i["\u0275\u0275inject"])(i.INJECTOR),Object(i["\u0275\u0275inject"])(s.r),Object(i["\u0275\u0275inject"])(N))},token:F,providedIn:"root"}),F),Q=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.overlayService=t,this.viewContainerRef=n,this.subscriptions=[],this.close=new i.EventEmitter,this.isLoading=!1}),[{key:"computedStyle",value:function(){return{"background-image":"url(".concat(this.asset,")"),"background-size":"".concat(this.width?this.width:this.size,"px ").concat(this.height?this.height:this.size,"px "),width:(this.width?this.width:this.size)+"px",height:(this.height?this.height:this.size)+"px","background-repeat":"no-repeat"}}},{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}},{key:"open",value:function(){return Object(r.b)(this,void 0,void 0,_regenerator2().m((function e(){return _regenerator2().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,this.overlayService.openGlobalTemplateCentered(this.viewContainerRef,this.overlayComponent);case 1:this.editOverlayRef=e.v;case 2:return e.a(2)}}),e,this)})))}},{key:"dismiss",value:function(){this.close.emit(!0),this.overlayService.close(this.editOverlayRef)}}])}(),V=_createClass2((function e(){_classCallCheck2(this,e)})),K=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.type="text",this.placeholder="",this.disabled=!1,this.readonly=!1,this.required=!1,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}])}(),W=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"errors",get:function(){return this.control&&this.control.errors}},{key:"error",get:function(){return this.errors&&Object.keys(this.errors)[0]}},{key:"hasErrors",get:function(){return this.errors&&(this.control.touched||this.control.dirty)}}])}(),z=_createClass2((function e(){_classCallCheck2(this,e)})),q=_createClass2((function e(){_classCallCheck2(this,e)})),Y=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.rows=4,this.placeholder="",this.disabled=!1,this.readonly=!1,this.required=!1,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}])}(),G=_createClass2((function e(){_classCallCheck2(this,e)})),X=function(){return _createClass2((function e(t){var n=this;_classCallCheck2(this,e),this.readonly=!1,this.placeholder="",this.required=!1,this.waitTime=500,this.onSelected=new i.EventEmitter,this.search=null,this.focused=!1,this.disabled=!1,this.selected=!1,this.onChange=function(e){},this.onTouched=function(){},this.control=null,t&&(this.control=t,this.control.valueAccessor=this),this.suggestions$=new h.a((function(e){e.next(n.search)})).pipe(Object(v.a)(),Object(m.a)((function(e){return null!=e})),Object(y.a)((function(e){return n.queryService.execute(e)})))}),[{key:"hasErrors",get:function(){return!(!this.control||!this.control.errors||!this.control.touched&&!this.control.dirty)}},{key:"ngOnInit",value:function(){if(null==this.queryService)throw Error("You must provide query service.");if(null==this.queryService.execute)throw Error("You must provide query service service by implementing interface IAutocompleteService.")}},{key:"ngOnDestroy",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.control&&this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"onSelectedTypeahead",value:function(e){this.selected=!0,this.control&&this.onChange(e.item.data),this.onSelected.emit(e.item)}},{key:"unselect",value:function(){this.selected=!1,this.control&&this.onChange(null),this.onSelected.emit(null)}}])}(),J=_createClass2((function e(){_classCallCheck2(this,e)})),Z=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.placeholder="",this.required=!1,this.waitTime=500,this.onSelected=new i.EventEmitter,this.options={types:[],componentRestrictions:{country:"HR"}},this.focused=!1,this.disabled=!1,this.selected=!1,this.onChange=function(e){},this.onTouched=function(){},this.control=null,t&&(this.control=t,this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return!(!this.control||!this.control.errors||!this.control.touched&&!this.control.dirty)}},{key:"ngAfterViewInit",value:function(){}},{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e}},{key:"handleAddressChange",value:function(e){null!=e.geometry&&(this.disabled=!0,this.selected=!0,this.control&&(this.control.control.markAsTouched(),this.control.control.setValue(e.formatted_address)),this.onSelected.emit(e))}},{key:"unselect",value:function(){this.disabled=!1,this.selected=!1,this.control&&this.onChange(null),this.onSelected.emit(null)}}])}(),$=_createClass2((function e(){_classCallCheck2(this,e)})),ee=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.disabled=!1,this.readonly=!1,this.required=!1,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.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.disabled=e}}])}(),te=_createClass2((function e(){_classCallCheck2(this,e)})),ne=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.disabled=!1,this.required=!1,this.showSpinner=!1,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){this.writeValue(this.value)}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e,this.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}])}(),re=_createClass2((function e(){_classCallCheck2(this,e)})),ie=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.disabled=!1,this.readonly=!1,this.required=!1,this.value=null,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){this.input.nativeElement.checked=!1,null!=this.control&&null!=this.control.value&&null!=this.value&&(this.input.nativeElement.checked=this.value===this.control.value)}},{key:"onInputChange",value:function(e){this.onChange(e)}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.checked=null!=this.value?e===this.value:e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}])}(),oe=_createClass2((function e(){_classCallCheck2(this,e)})),ae=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.filters=[],this.showRefreshButton=!0,this.sortOptions=[],this.filterGroups=[]}),[{key:"ngOnInit",value:function(){if(null==this.dataSource)throw Error("IcoTable must be provided with data source.");if(null==this.columns)throw Error("DynamicTable must be provided with column definitions.");null!=this.virtual&&console.log("virtual enabled",this.virtual),this.hasResults=this.dataSource.connect().pipe(Object(b.a)((function(e){return e.length>0})))}},{key:"ngAfterViewInit",value:function(){}},{key:"clearFilters",value:function(){this.updateDataSource()}},{key:"updateDataSource",value:function(){this.dataSource.refresh()}},{key:"reset",value:function(){this.clearFilters()}},{key:"refresh",value:function(){this.updateDataSource()}}])}(),se=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"iconClass",get:function(){return null!=this.color?["text-"+this.color]:null}}])}(),le=_createClass2((function e(){_classCallCheck2(this,e)})),ue=_createClass2((function e(){_classCallCheck2(this,e),this.title="No results matched your filter criteria",this.subtitle="No results were found that matched the specified criteria."}));function ce(e){return function(t){return t.pipe((n=function(){return e.next(!0)},function(e){return Object(d.a)((function(){return n(),e}))}),Object(C.a)((function(){return e.next(!1)})));var n}}var he,de=function(){return _createClass2((function e(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:20;_classCallCheck2(this,e),this.endpoint=t,this.pageSize=o,this.pageNumber=new f.a,this.loading=new f.a,this.loading$=this.loading.asObservable(),this.query=new p.a(r),this.sort=new p.a(n);var a=Object(g.a)([this.query,this.sort]);this.page$=a.pipe(Object(y.a)((function(e){var t=_slicedToArray2(e,2),n=t[0],r=t[1];return i.pageNumber.pipe(Object(w.a)(0),Object(y.a)((function(e){return i.endpoint({page:e,sort:r,size:i.pageSize},n).pipe(ce(i.loading))})))})),Object(k.a)())}),[{key:"sortBy",value:function(e){var t=this.sort.getValue(),n=Object.assign({},t,e);this.sort.next(n)}},{key:"queryBy",value:function(e){var t=this.query.getValue(),n=Object.assign({},t,e);this.query.next(n)}},{key:"fetch",value:function(e){this.pageNumber.next(e)}},{key:"refresh",value:function(){this.pageNumber.next(0)}},{key:"connect",value:function(){return this.page$.pipe(Object(b.a)((function(e){return e.content})))}},{key:"disconnect",value:function(){}}])}(),fe=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.class="filter-item",this.inputControl=new c.f,this.subscriptions=[]}),[{key:"ngOnInit",value:function(){var e=this;if(null==this.dataSource)throw Error("Input filter require data source.");if(!(this.dataSource instanceof de))throw Error("Input filter require data source of type PaginatedDataSource.");this.subscriptions.push(this.inputControl.valueChanges.pipe(Object(m.a)((function(e){return null!=e&&(0===e.length||e.length>=3)})),Object(E.a)(500)).subscribe((function(t){e.dataSource.queryBy({search:t})})))}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}}])}(),pe=_createClass2((function e(t){_classCallCheck2(this,e),this.viewContainerRef
1=t})),ge=_createClass2((function e(){_classCallCheck2(this,e)})),_e=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.registeredCells={}}),[{key:"registerCell",value:function(e,t){this.registeredCells[e]=t}},{key:"getCell",value:function(e){var t=this.registeredCells[e];return null==t?ge:t}}])}(),Ae=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.cellService=t,this.componentFactoryResolver=n}),[{key:"ngOnInit",value:function(){this.initCell()}},{key:"initCell",value:function(){var e=this.cellService.getCell(this.column.type),t=this.componentFactoryResolver.resolveComponentFactory(e),n=this.cellHost.viewContainerRef;n.clear();var r=n.createComponent(t).instance;r.row=this.row,r.column=this.column}}])}(),ve=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.dateFormat="short"}),[{key:"ngOnInit",value:function(){this.column.options&&this.column.options.dateFormat&&(this.dateFormat=this.column.options.dateFormat)}}])}(),me=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"delete",value:function(){}},{key:"view",value:function(){}}])}(),ye=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"logoUrl",get:function(){return this.row[this.column.name]}}])}(),be=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"copy",value:function(){}}])}(),Ce=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.column=t,this.type="date"}),[{key:"getFilter",value:function(){var e={};return this.fromDate&&this.toDate?e[this.column]={ge:this.fromDate,le:this.toDate}:this.fromDate?e[this.column]={ge:this.fromDate}:this.toDate&&(e[this.column]={le:this.toDate}),e}},{key:"getDescription",value:function(){if(!this.fromDate&&!this.toDate)return null;var e=new u.f("en-US"),t=function(t){return e.transform(t,"shortDate")};return this.fromDate&&this.toDate?"is between ".concat(t(this.fromDate)," and ").concat(t(this.toDate)):this.fromDate?"is after "+t(this.fromDate):this.toDate?"is before "+t(this.toDate):void 0}}])}(),we=_createClass2((function e(){_classCallCheck2(this,e)})),ke=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.dialogRef=t,this.filterData=n}),[{key:"ngOnInit",value:function(){this.displayName=this.filterData.column.displayName,this.model=this.filterData.filter||new Ce(this.filterData.column.name)}},{key:"apply",value:function(){this.dialogRef.close(this.model.fromDate||this.model.toDate?this.model:"")}}])}(),Ee=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.column=t,this.type="text",this.value=""}),[{key:"getFilter",value:function(){var e={};return e[this.column]={contains:this.value},e}},{key:"getDescription",value:function(){return this.value?"contains '".concat(this.value,"'"):null}}])}(),Se=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.dialogRef=t,this.filterData=n}),[{key:"ngOnInit",value:function(){this.displayName=this.filterData.column.displayName,this.model=this.filterData.filter||new Ee(this.filterData.column.name)}},{key:"apply",value:function(){this.dialogRef.close(this.model.value?this.model:"")}}])}(),Oe=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"downloadLink",get:function(){return this.row[this.column.name]}}])}(),xe=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.column=t,this.type="guid",this.value=""}),[{key:"getFilter",value:function(){return{and:["".concat(this.column," eq ").concat(this.value)]}}},{key:"getDescription",value:function(){return this.value?"equals "+this.value:null}}])}(),Pe=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.dialogRef=t,this.filterData=n}),[{key:"ngOnInit",value:function(){this.displayName=this.filterData.column.displayName,this.model=this.filterData.filter||new xe(this.filterData.column.name)}},{key:"apply",value:function(){this.dialogRef.close(this.model.value?this.model:"")}}])}(),Te=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"status",get:function(){return""+this.row[this.column.name]}},{key:"getItemCssClassByStatus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(e){default:return"metal";case"Inactive":return"danger";case"Active":return"success"}}}])}(),Be=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"location",get:function(){return""+this.row[this.column.name]}}])}(),De=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"hasValue",get:function(){return null!=this.row[this.column.name]}},{key:"value",get:function(){return""+this.row[this.column.name]}},{key:"currency",get:function(){return this.row.Currency?this.row.Currency:"AUD"}}])}(),Me=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"value",get:function(){return!!this.row[this.column.name]&&this.row[this.column.name]}
1,set:function(e){}}])}(),Ie=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"url",get:function(){return this.row[this.column.name]}}])}(),Re=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"images",get:function(){return this.column.options.images}}])}(),Fe=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.column=t,this.type="number"}),[{key:"getFilter",value:function(){var e={};return this.from&&this.to?e[this.column]={ge:this.from,le:this.to}:this.from?e[this.column]={ge:this.from}:this.to&&(e[this.column]={le:this.to}),e}},{key:"getDescription",value:function(){return this.from||this.to?this.from&&this.to?"is between ".concat(this.from," and ").concat(this.to):this.from?"is greater than "+this.from:this.to?"is less than "+this.to:void 0:null}}])}(),Le=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.dialogRef=t,this.filterData=n}),[{key:"ngOnInit",value:function(){this.displayName=this.filterData.column.displayName,this.model=this.filterData.filter||new Fe(this.filterData.column.name)}},{key:"apply",value:function(){this.dialogRef.close(this.model.from||this.model.to?this.model:"")}}])}(),Ue=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.registeredFilters={}}),[{key:"registerFilter",value:function(e,t){this.registeredFilters[e]=t}},{key:"getFilter",value:function(e){return this.registeredFilters[e]}}])}(),Ne=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.class="filter-item",this.subscriptions=[]}),[{key:"ngOnInit",value:function(){if(null==this.dataSource)throw Error("Input filter require data source.");if(!(this.dataSource instanceof de))throw Error("Input filter require data source of type PaginatedDataSource.")}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}},{key:"onOptionClick",value:function(e,t){t.selected=t.selected!==e.value?e.value:null;var n=this.filterGroups.reduce((function(e,t){return null!=t.selected&&(e[t.value]=t.selected),e}),{});this.dataSource.queryBy({filter:n})}},{key:"onFilterClick",value:function(){}}])}(),je=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.formBuilder=t,this.class="filter-item",this.formControl=new c.f,this.subscriptions=[]}),[{key:"ngOnInit",value:function(){if(null==this.dataSource)throw Error("Input filter require data source.");if(!(this.dataSource instanceof de))throw Error("Input filter require data source of type PaginatedDataSource.");this.initialSortOption&&this.initialSortOption.value&&(this.formControl.setValue(this.initialSortOption.value),this.currentSort={property:this.initialSortOption.value,order:"asc"})}},{key:"onSortOptionClick",value:function(e){this.currentSort={property:e,order:this.currentSort&&this.currentSort.property===e&&"asc"===this.currentSort.order?"desc":"asc"},this.dataSource.sortBy(this.currentSort)}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}}])}(),He=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"ngOnInit",value:function(){var e=this;if(console.log("virtual init",this.viewport,this.virtual),this.dataSource&&!(this.dataSource instanceof function(){return _createClass2((function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:20,o=arguments.length>4?arguments[4]:void 0;_classCallCheck2(this,e),this.endpoint=t,this.initialSort=n,this.initialQuery=r,this.pageSize=i,this.ngZone=o,this._pageSize=100,this._pages=100,this._pageOffset=20,this._pageCache=new Set,this.loading=new f.a,this.sort=new f.a,this.loading$=this.loading.asObservable(),this.matTableDataSource=new M.a,this.dataStream=this.matTableDataSource.connect().asObservable(),this.renderedStream=new p.a([]),this.query=new p.a(this.initialQuery)}),[{key:"attach",value:function(e){if(!e)throw new Error("ViewPort is undefined");this._viewPort=e,this.initFetchingOnScrollUpdates(),this._viewPort.attach(this),this._viewPort.setRenderedRange({start:0,end:1})}},{key:"connect",value:function(){var e=this,t=this.matTableDataSource.connect();return(void 0===this._viewPort?t:this.filterByRangeStream(t)).subscribe((function(t){e.ngZone.run((function(){return e.renderedStream.next(t)}))}
1)),this.renderedStream.asObservable()}},{key:"disconnect",value:function(){this._subscription&&this._subscription.unsubscribe()}},{key:"queryBy",value:function(e){var t=this.query.getValue(),n=Object.assign({},t,e);this.query.next(n)}},{key:"refresh",value:function(){this._viewPort.scrollToIndex(0)}},{key:"initFetchingOnScrollUpdates",value:function(){var e=this;this._subscription=this._viewPort.renderedRangeStream.pipe(Object(y.a)((function(t){return e._getPagesToDownload(t)})),Object(m.a)((function(t){return!e._pageCache.has(t)})),Object(S.a)((function(t){return e._simulateFetchAndUpdate(t)}))).subscribe()}},{key:"_getPagesToDownload",value:function(e){for(var t=e.start,n=e.end,r=this._getPageForIndex(t),i=this._getPageForIndex(n+this._pageOffset),o=[],a=r;a<=i&&a<this._pages;a++)this._pageCache.has(a)||o.push(a);return Object(_.a)(o)}},{key:"_getPageForIndex",value:function(e){return Math.floor(e/this._pageSize)}},{key:"filterByRangeStream",value:function(e){var t=this._viewPort.renderedRangeStream.pipe(Object(w.a)({}));return Object(g.a)(e,t).pipe(Object(b.a)((function(e){var t=_slicedToArray2(e,2),n=t[0],r=t[1],i=r.start,o=r.end;return null===i||null===o?n:n.slice(i,o)})))}},{key:"_simulateFetchAndUpdate",value:function(e){var t=this;return Object(A.a)(e).pipe(Object(m.a)((function(e){return!t._pageCache.has(e)})),Object(y.a)((function(e){return Object(g.a)([t.query,t.sort.pipe(Object(w.a)(t.initialSort))]).pipe(Object(y.a)((function(n){var r=_slicedToArray2(n,2),i=r[0],o=r[1];return t.endpoint({page:e,sort:o,size:t.pageSize},i).pipe(ce(t.loading))})))})),Object(O.a)(1e3),Object(b.a)((function(e){return e.content})),Object(x.a)((function(){return t._pageCache.add(e)})),Object(x.a)((function(n){var r=_toConsumableArray2(t.matTableDataSource.data);r.splice.apply(r,[e*t._pageSize,t._pageSize].concat(_toConsumableArray2(n))),t.matTableDataSource.data=r})))}}])}()))throw Error("IcoTableVirtualScrollComponent must be provided with VirtualScrollDataSource data source");this.dataSource.attach(this.viewport),this.offset=this.viewport.scrolledIndexChange.pipe(Object(b.a)((function(){return e.viewport.getOffsetToRenderedContentStart()})),Object(v.a)(),Object(x.a)((function(e){return console.log("SIC",e)}))),this.transform=this.offset.pipe(Object(b.a)((function(e){return"translateY(".concat(e,"px)")})))}},{key:"ngAfterViewInit",value:function(){console.log("virtual view init",this.viewport,this.virtual),console.log(this.viewport,this.virtual)}}])}(),Qe=((he=function(e){function t(){var e;return _classCallCheck2(this,t),(e=_callSuper(this,t,arguments)).itemsPerPageLabel="",e.nextPageLabel="",e.previousPageLabel="",e}return _inherits2(t,e),_createClass2(t)}(B.c)).ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new he},token:he,providedIn:"root"}),he),Ve=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.columnFilterService=t,this.dialog=n,this.pageSize=50,this.pageSizeOptions=[20,50,100],this.showFilters=!0,this.stickyHeader=!1,this.filters=[],this.appliedFilters={}}),[{key:"ngOnInit",value:function(){var e=this;if(null==this.dataSource)throw Error("IcoTable must be provided with data source.");if(null==this.columns)throw Error("DynamicTable must be provided with column definitions.");this.displayedColumns=this.columns.map((function(t,n){return e.prepareColumnName(t.name,n)})),this.hasResults=this.dataSource.connect().pipe(Object(b.a)((function(e){return!!e&&e.length>0}))),this.dataSource.refresh()}},{key:"ngAfterViewInit",value:function(){}},{key:"canFilter",value:function(e){return null!=this.columnFilterService.getFilter(e.type)}},{key:"isFiltered",value:function(e){return this.appliedFilters[e.name]}},{key:"getFilterDescription",value:function(e){var t=this.appliedFilters[e.name];return t&&t.getDescription?t.getDescription():null}},{key:"prepareColumnName",value:function(e,t){return e||"col"+t}},{key:"filter",value:function(e){var t=this,n=this.columnFilterService.getFilter(e.type);if(n){var r=new D.f,i=new we;i.column=e,this.appliedFilters[e.name]&&(i.filter=Object.create(this.appliedFilters[e.name])),r.data=i,this.dialog.open(n,r).afterClosed().subscribe((function(n){n?t.appliedFilters[e.name]=n:""===n&&delete t.appliedFilters[e.name],(n||""===n)&&t.updateDataSource()}))}}},{key:"clearFilters",value:function(){this.appliedFilters={},this.updateDataSource()}},{key:"updateDataSource",value:function(){this.dataSource.refresh()}},{key:"getFilters",value:function(){var e=this.appliedFilters;return Object.keys(e).map((function(t){return e[t]}))}},{key:"getFilter",value:function(e){var t=this.getColumnByName(e);
1if(!t)throw Error("Column with name '".concat(e,"' does not exist."));return this.appliedFilters[t.name]}},{key:"setFilter",value:function(e,t){var n=this.getColumnByName(e);if(!n)throw Error("Cannot set filter for a column. Column with name '".concat(e,"' does not exist."));this.appliedFilters[n.name]=t,this.updateDataSource()}},{key:"getColumnByName",value:function(e){return this.columns.find((function(t){return(t.name?t.name.toLowerCase():t.name)===(e?e.toLowerCase():e)}))}},{key:"reset",value:function(){this.clearFilters()}},{key:"refresh",value:function(){this.updateDataSource()}}])}(),Ke=_createClass2((function e(t,n){_classCallCheck2(this,e),this.cellService=t,this.columnFilterService=n,t.registerCell("string",ge),t.registerCell("date",ve),t.registerCell("options",me),t.registerCell("logo",ye),t.registerCell("copy",be),t.registerCell("download",Oe),t.registerCell("status",Te),t.registerCell("location",Be),t.registerCell("date",ve),t.registerCell("currency",De),t.registerCell("checkbox",Me),t.registerCell("image",Ie),t.registerCell("images",Re),n.registerFilter("id",Pe),n.registerFilter("uuid",Pe),n.registerFilter("string",Se),n.registerFilter("date",ke),n.registerFilter("location",Le),n.registerFilter("currency",Le),n.registerFilter("number",Le)})),We=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.onSelectedMenuItem=new i.EventEmitter,this.up
1perMenuGroup=[],this.lowerMenuGroup=[],this.profileMenuGroup=[],this.allMenues=[]}),[{key:"clicked",value:function(e){document.querySelector("#header").classList.toggle("menu-opened")}},{key:"ngOnInit",value:function(){var e=this;this.navBarLogoPath=this.navBarDynamicData.navBarLogoPath,this.upperMenuGroup=this.navBarDynamicData.topSection.menuItems,this.lowerMenuGroup=this.navBarDynamicData.bottomSection.menuItems,this.profileMenuGroup=this.navBarDynamicData.profileSection.menuItems,this.upperMenuGroup.forEach((function(t){e.allMenues.push(t.title)})),this.lowerMenuGroup.forEach((function(t){e.allMenues.push(t.title)})),this.profileMenuGroup.forEach((function(t){e.allMenues.push(t.title)})),this.selectedMenuItem=this.upperMenuGroup[0]}},{key:"selected",value:function(e){this.selectedMenuItem=e||this.upperMenuGroup[0],this.onSelectedMenuItem.emit(e)}}])}(),ze=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.onSelectedMenuItem=new i.EventEmitter}),[{key:"ngOnInit",value:function(){}},{key:"selected",value:function(e){this.onSelectedMenuItem.emit(e)}},{key:"close",value:function(){this.onSelectedMenuItem.emit(null)}},{key:"submenuSelected",value:function(e){console.log("Submenu selected",e)}}])}(),qe=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.onSelectedMenuItem=new i.EventEmitter}),[{key:"ngOnInit",value:function(){this.selectedMenuItem=null}},{key:"selected",value:function(e){this.onSelectedMenuItem.emit(e)}},{key:"selectSubmenuItem",value:function(e){this.selectedMenuItem=e}},{key:"submenuSelected",value:function(e){console.log("Submenu selected",e)}},{key:"openRouterLink",value:function(e,t){}}])}(),Ye=_createClass2((function e(){_classCallCheck2(this,e)})),Ge=_createClass2((function e(){_classCallCheck2(this,e)})),Xe=_createClass2((function e(){_classCallCheck2(this,e)})),Je=_createClass2((function e(t){_classCallCheck2(this,e),this.templateRef=t})),Ze=_createClass2((function e(t){_classCallCheck2(this,e),this.templateRef=t})),$e=_createClass2((function e(t){_classCallCheck2(this,e),this.templateRef=t})),et=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.title="Confirmation",this.description="Are you sure you want to perform this action?",this.styleClass="",this.showFooter=!0,this.showHeader=!0,this.done=new i.EventEmitter}),[{key:"ngOnInit",value:function(){}},{key:"open",value:function(){this.modal.show()}},{key:"close",value:function(){this.modal&&this.modal.hide()}},{key:"onHide",value:function(e,t){this.done.emit("close")}},{key:"onCancel",value:function(){this.done.emit("cancel"),this.close()}},{key:"onAccept",value:function(){this.done.emit("accept"),this.close()}},{key:"onReject",value:function(){this.done.emit("reject"),this.close()}}])}(),tt=_createClass2((function e(){_classCallCheck2(this,e)})),nt=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.bsModalRef=t,this.title="Confirmation",this.description="Are you sure you want to perform this action?",this.acceptLabel="Yes",this.rejectLabel="No",this.done=new i.EventEmitter}),[{key:"ngOnInit",value:function(){}},{key:"close",value:function(){this.bsModalRef&&this.bsModalRef.hide()}},{key:"onReject",value:function(){this.done.emit("reject"),this.close()}},{key:"onAccept",value:function(){this.done.emit("accept"),this.close()}},{key:"onClose",value:function(){this.done.emit("cancel"),this.close()}}])}(),rt=_createClass2((function e(){_classCallCheck2(this,e)})),it=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.placeholder="",this.disabled=!1,this.readonly=!1,this.required=!1,this.placement="bottom",this.dateInputFormat="DD/MM/YYYY",this.focused=!1,this.config={dateInputFormat:this.dateInputFormat,containerClass:"theme-default",selectFromOtherMonth:!0,isAnimated:!0,adaptivePosition:!0},this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}])}(),ot=_createClass2((function e(){_classCallCheck2(this,e)})),at=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.inline=!1,this.dateFormat="dd.mm.yy",this.showTime=!0,this.hourFormat="24",this.readonly=!1,this.disabled=!1,this._dateValue=null,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control=t,this.control.valueAccessor=this)}),[{key:"dateValue",get:function(){return this._dateValue},set:function(e){this.control.value!=e&&null!=this.control.control&&this.control.control.setValue(e),this._dateValue=e}},{key:"hasErrors",get:function(){return!(!this.control||!this.control.errors||!this.control.touched&&!this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){}},{key:"writeValue",value:function(e){this.dateValue=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}}])}(),st=_createClass2((function e(){_classCallCheck2(this,e)})),lt=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.errors=[]}),[{key:"hasErrors",get:function(){return this.errors&&this.errors.length>0}},{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){}},{key:"addError",value:function(e){this.errors.push(e)}},{key:"addErrors",value:function(){var e;this.removeErrors(),(e=this.errors).push.apply(e,arguments)}},{key:"removeError",value:function(e){var t=this.errors.indexOf(e);t>=0&&this.errors.splice(t,1)}},{key:"removeErrors",value:function(){this.errors.splice(0,this.errors.length)}}])}(),ut=_createClass2((function e(){_classCallCheck2(this,e)})),ct=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.selectedMenuOption=new i.EventEmitter,this.title="icode-demo",this.firstName="John",this.checked=!0}),[{key:"ngOnInit",value:function(){}},{key:"getSelectedMenuOption",value:function(e){this.selectedMenuOption.emit(e),console.log("Main layout component-selected menu:",e)}}])}(),ht=_createClass2((function e(){_classCallCheck2(this,e)})),dt=function(){return _createClass2((function e(){var t=this;_classCallCheck2(this,e),this._tabs=[],this.detached=!1,this.defaultStepIndex=0,this.selectionChange=new i.EventEmitter,this._tabsSubject=ne
1w p.a([]),this.tabs=this._tabsSubject.asObservable(),this.selectedIndex=0,this.tabs.subscribe((function(e){e&&e.length>0&&(t._tabs=e,t.selectedTab.enter())}))}),[{key:"tabsSetter",set:function(e){this._tabsSubject.next(e)}},{key:"selectedTab",get:function(){return this.hasTab(this.selectedIndex)?this._tabs[this.selectedIndex]:null}},{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){}},{key:"ngAfterContentInit",value:function(){this.reset()}},{key:"hasTab",value:function(e){return this._tabs&&this._tabs.length>0&&0<=e&&e<this._tabs.length}},{key:"isLastTab",value:function(){return this._tabs&&this._tabs.length>0&&this.selectedIndex===this._tabs.length-1}},{key:"isFirstTab",value:function(){return this._tabs&&this._tabs.length>0&&0===this.selectedIndex}},{key:"getTabAtIndex",value:function(e){if(!this.hasTab(e))throw new Error("Expected a known tab, but got tabIndex: ".concat(e,"."));return this._tabs[e]}},{key:"onTabClick",value:function(e){this.changeTab(e)}},{key:"reset",value:function(){this.changeTab(this.defaultStepIndex)}},{key:"changeTab",value:function(e){if(this._tabs.length>0){this.selectedTab&&this.selectedTab.exit();var t=this.selectedTab;this.selectedIndex=e,this.selectionChange.emit({previousTab:t,selectedTab:this.selectedTab}),this.selectedTab.enter()}}}])}(),ft=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.active=!1,this.disabled=!1,this.tabEnter=new i.EventEmitter,this.tabExit=new i.EventEmitter}),[{key:"ngOnInit",value:function(){}},{key:"enter",value:function(){this.active=!0,this.tabEnter.emit()}},{key:"exit",value:function(){this.active=!1,this.tabExit.emit()}}])}(),pt=_createClass2((function e(){_classCallCheck2(this,e)})),gt=function(){return _createClass2((function e(t,n,r){var i=this;_classCallCheck2(this,e),this.cdr=t,this.router=n,this.route=r,this.components=[],this.actions=null,this.subscriptions=[],this.subscriptions.push(this.router.events.pipe(Object(m.a)((function(e){return e instanceof s.h}))).subscribe((function(e){i._closeModalRoute()}))),this.subscriptions.push(this.router.events.pipe(Object(m.a)((function(e){return e instanceof s.b}))).subscribe((function(e){i._isChildComponent(e.snapshot)&&i._openModalRoute()})))}),[{key:"onKeydownHandler",value:function(e){this._closeModalRoute()}},{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){this._isChildComponent(this.route.snapshot)&&this._openModalRoute()}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}},{key:"onActivate",value:function(e){e.actions&&(this.actions=e.actions),e.title&&(this.title=e.title),this.cdr.detectChanges(),console.log(e)}},{key:"invokeAction",value:function(e){var t=this;(e.action?e.action():Object(A.a)(!0).toPromise()).then((function(e){1==e&&t._closeModalRoute()}))}},{key:"_closeModalRoute",value:function(){this.fsModal.close()}},{key:"_openModalRoute",value:function(){var e=this;this.fsModal?(this.fsModal.done.pipe(Object(P.a)(1),Object(x.a)((function(e){return console.log(e)})),Object(y.a)((function(t){if(e.actions&&"close"==t){var n=e.actions.find((function(e){return"cancel"==e.type}));if(n)return n.action()}return Object(A.a)(!0)}))).subscribe((function(t){1==t&&(e.router.navigate(["./"],{relativeTo:e.route}),e.actions=null)})),this.fsModal.open()):setTimeout((function(){e._openModalRoute()}),200)}},{key:"_isChildComponent",value:function(e){return-1!==[].concat(_toConsumableArray2(this.components),_toConsumableArray2(e.data&&e.data.components?e.data.components:[])).indexOf(e.component)}}])}(),_t=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this.parentContexts=t,this.location=n,this.resolver=r,this.changeDetector=i}),[{key:"ngOnInit",value:function(){this.outlet=new s.w(this.parentContexts,this.location,this.resolver,this.name,this.changeDetector),this.outlet.ngOnInit()}},{key:"ngOnDestroy",value:function(){this.outlet&&this.outlet.ngOnDestroy()}}])}(),At=_createClass2((function e(){_classCallCheck2(this,e)})),vt=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.router=t,this.route=n,this.isChildActive=!1,this.link=null,this.asModal=!1,this.close=new i.EventEmitter,this.subscriptions=[]}),[{key:"onKeydownHandler",value:function(e){this.close.next(!0)}},{key:"ngOnInit",value:function(){var e=this;this.checkIsChildActive(),this.subscriptions.push(this.router.events.pipe(Object(m.a)((function(e){return e instanceof s.b}))).subscribe((function(t){return e.checkIsChildActive()}
1)))}},{key:"checkIsChildActive",value:function(){this.isChildActive=this.router.url.startsWith("/"+this.link)&&this.router.url!=="/"+this.link}},{key:"ngAfterViewInit",value:function(){}},{key:"onMouseDown",value:function(e,t,n){e.target==t&&1===e.which&&(n&&this.close.next(!0),e.preventDefault(),e.stopPropagation())}},{key:"onActivate",value:function(e){document.querySelector(".sub-route-child").scrollTop=0}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}}])}(),mt=_createClass2((function e(){_classCallCheck2(this,e)})),yt=function(e){return e instanceof s.f},bt=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.router=t,this.route=n,this.title=null,this.showBack=!0,this.onBack=new i.EventEmitter,this.subscriptions=[]}),[{key:"ngOnInit",value:function(){var e=this;this.subscriptions.push(this.router.events.pipe(Object(m.a)(yt)).subscribe((function(){e.breadcrumbs=e.createBreadcrumbs(e.route.root),console.log(e.breadcrumbs)})))}},{key:"ngAfterViewInit",value:function(){}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}},{key:"back",value:function(){this.onBack.emit(!0)}},{key:"createBreadcrumbs",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=e.children;if(0===r.length)return n;var i,o=_createForOfIteratorHelper2(r);try{for(o.s();!(i=o.n()).done;){var a=i.value,s=a.snapshot.url.map((function(e){return e.path})).join("/");""!==s&&(t+="/"+s);var l=a.snapshot.data.bc;return Object(I.isNullOrUndefined)(l)||n.push({label:l,url:t}),this.createBreadcrumbs(a,t,n)}}catch(u){o.e(u)}finally{o.f()}}}])}(),Ct=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){}},{key:"onFocus",value:function(){}},{key:"onBlur",value:function(){}}])}(),wt=_createClass2((function e(){_classCallCheck2(this,e)})),kt=_createClass2((function e(){_classCallCheck2(this,e)})),Et=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.subscriptions=[]}),[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}}])}(),St=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.subscriptions=[]}),[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}}])}(),Ot=_createClass2((function e(){_classCallCheck2(this,e)})),xt=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.disabled=!1,this.readonly=!1,this.required=!1,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.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.disabled=e}}])}(),Pt=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"errors",get:function(){return this.control&&this.control.errors}},{key:"error",get:function(){return this.errors&&Object.keys(this.errors)[0]}},{key:"hasErrors",get:function(){return this.errors&&(this.control.touched||this.control.dirty)}}])}(),Tt=_createClass2((function e(){_classCallCheck2(this,e)})),Bt=_createClass2((function e(){_classCallCheck2(this,e)})),Dt=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.bsModalRef=t,this.title="Confirmation",this.description="Are you sure you want to perform this action?",this.acceptLabel="Yes",this.rejectLabel="No",this.done=new i.EventEmitter}),[{key:"ngOnInit",value:function(){}},{key:"close",value:function(){this.bsModalRef&&this.bsModalRef.hide()}},{key:"onReject",value:function(){this.done.emit("reject"),this.close()}},{key:"onAccept",value:function(){this.done.emit("accept"),this.close()}},{key:"onClose",value:function(){this.done.emit("cancel"),this.close()}}])}(),Mt=_createClass2((function e(){_classCallCheck2(this,e)})),It=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.errors=[]}),[{key:"hasErrors",get:function(){return this.errors&&this.errors.length>0}},{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){}},{key:"addError",value:function(e){this.errors.push(e)}},{key:"addErrors",value:function(){var e;this.removeErrors(),(e=this.errors).push.apply(e,arguments)}},{key:"removeError",value:function(e){var t=this.errors.indexOf(e);t>=0&&this.errors.splice(t,1)}},{key:"removeErrors",value:function(){this.errors.splice(0,this.errors.length)}}])}(),Rt=_createClass2((function e(){_classCallCheck2(this,e)})),Ft=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.type="text",this.placeholder="",this.value="",this.disabled=!1,this.readonly=!1,this.required=!1,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}])}(),Lt=_createClass2((function e(){_classCallCheck2(this,e)})),Ut=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.type="text",this.placeholder="",this.disabled=!1,this.readonly=!1,this.required=!1,this.mask="",this.prefix="",this.suffix="",this.showMaskTyped=!1,this.dropSpecialCharacters=!1,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}])}(),Nt=_createClass2((function e(){_classCallCheck2(this,e)})),jt=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.type="text",this.placeholder="",this.disabled=!1,this.readonly=!1,this.required=!1,this.options={types:["address"],componentRestrictions:{country:"AU"}},this.addressChange=new i.EventEmitter,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"onAddressChange",value:function(e){this.addressChange.emit(e)}},{key:"reset",value:function(){this.googlePlaceDirective.reset()}}])}(),Ht=_createClass2((function e(){_classCallCheck2(this,e)})),Qt=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.disabled=!1,this.readonly=!1,this.required=!1,this.value=null,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){this.input.nativeElement.checked=!1,null!=this.control&&null!=this.control.value&&null!=this.value&&(this.input.nativeElement.checked=this.value==this.control.value)}},{key:"onInputChange",value:function(e){this.onChange(e)}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.checked=null!=this.value?e==this.value:e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}])}(),Vt=_createClass2((function e(){_classCallCheck2(this,e)})),Kt=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.placeholder="",this.disabled=!1,this.readonly=!1,this.required=!1,this.placement="bottom",this.dateInputFormat="DD/MM/YYYY",this.focused=!1,this.config={dateInputFormat:this.dateInputFormat,containerClass:"theme-default",selectFromOtherMonth:!0,isAnimated:!0,adaptivePosition:!0},this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.bsDatepickerDirective.bsValue=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}])}(),Wt=_createClass2((function e(){_classCallCheck2(this,e)})),zt=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.selected=new i.EventEmitter}),[{key:"ngOnInit",value:function(){}},{key:"onSelect",value:function(e){this.selected.emit(e)}}])}(),qt=_createClass2((function e(){_classCallCheck2(this,e)})),Yt=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.disabled=!1,this.required=!1,this.showSpinner=!1,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){this.writeValue(this.value)}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e,this.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}])}(),Gt=_createClass2((function e(){_classCallCheck2(this,e)})),Xt=_createClass2((function e(t){_classCallCheck2(this,e),this.templateRef=t})),Jt=_createClass2((function e(t){_classCallCheck2(this,e),this.templateRef=t})),Zt=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.title="Confirmation",this.description="Are you sure you want to perform this action?",this.styleClass="",this.done=new i.EventEmitter}),[{key:"ngOnInit",value:function(){}},{key:"open",value:function(){this.modal.show()}},{key:"close",value:function(){this.modal&&this.modal.hide()}},{key:"onCancel",value:function(){this.done.emit("cancel"),this.close()}},{key:"onAccept",value:function(){this.done.emit("accept"),this.close()}},{key:"onReject",value:function(){this.done.emit("reject"),this.close()}}])}(),$t=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.title="Add signature",this.done=new i.EventEmitter,this.signatureCreated=new i.EventEmitter,this.signaturePadOptions={canvasWidth:547,canvasHeight:196,backgroundColor:"rgba(255, 255, 255, 0)",penColor:"rgb(0, 0, 0)",velocityFilterWeight:.7,minWidth:.5,maxWidth:2.5,throttle:16,minPointDistance:3},this.subscriptions=[]}),[{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}},{key:"ngAfterViewInit",value:function(){var e=this;this.subscriptions.push(this.modal.done.subscribe((function(t){e.done.emit(t)})))}},{key:"open",value:function(){this.signaturePad.clear(),this.modal.open()}},{key:"close",value:function(){this.modal&&this.modal.close()}},{key:"onCancel",value:function(){this.done.emit("cancel"),this.close()}},{key:"onApply",value:function(){if(this.errors.removeErrors(),this.signaturePad.isEmpty())this.errors.addError("Signature is missing.");else{var e=this.signaturePad.toDataURL();this.signatureCreated.emit(this.dataURLtoBlob(e)),this.done.emit("accept")}}},{key:"dataURLtoBlob",value:function(e){for(var t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(t.length),i=new Uint8Array(r),o=0;o<t.length;o++)i[o]=t.charCodeAt(o);return new Blob([r],{type:n})}}])}(),en=_createClass2((function e(){_classCallCheck2(this,e)})),tn=_createClass2((function e(){_classCallCheck2(this,e)})),nn=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.optional=!1,this.order=0,this.disabled=!1,this.completed=!1,this.stepEnter=new i.EventEmitter,this.stepExit=new i.EventEmitter,this._included=!0,this.onIncludedChange=new i.EventEmitter,this.steps=[]}),[{key:"included",get:function(){return this._included},set:function(e){this._included=e,this.onIncludedChange.emit(e)}},{key:"hasSubsteps",get:function(){return this.wizardStepsQueryList&&this.wizardStepsQueryList.length>0}},{key:"ngOnInit",value:function(){}},{key:"ngAfterContentInit",value:function(){var e=this;this.wizardStepsQueryList.changes.subscribe((function(t){e.updateWizardSteps(t.toArray())})),this.updateWizardSteps(this.wizardStepsQueryList.toArray())}},{key:"enter",value:function(e){this.stepEnter.emit(e)}},{key:"exit",value:function(e){this.stepExit.emit(e)}},{key:"updateWizardSteps",value:function(e){this.steps=e}}])}(),rn=_createClass2((function e(t){_classCallCheck2(this,e),this.templateRef=t})),on=function(){var e={Forwards:0,Backwards:1};return e[e.Forwards]="Forwards",e[e.Backwards]="Backwards",e}(),an=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.showNavigation=!0,this.showLeftSidebar=!0,this.showRightSidebar=!0,this.defaultStepIndex=0,this.previousLabel="Back",this.nextLabel="Next",this.showPrevious=!0,this.showNext=!0,this.previousDisabled=!1,this.nextDisabled=!1,this.next=new i.EventEmitter,this.back=new i.EventEmitter,this.completed=new i.EventEmitter,this.selectionChange=new i.EventEmitter,this.selectedIndex=0,this.steps=[]}),[{key:"selectedStep",get:function(){return this.hasStep(this.selectedIndex)?this.steps[this.selectedIndex]:null}},{key:"stepCount",get:function(){return this.steps.length}},{key:"completedIndex",get:function(){for(var e=this.steps.length;e--;)if(!0===this.steps[e].completed)return e;return 0}},{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){}},{key:"ngAfterContentInit",value:function(){var e=this;this.wizardStepsQueryList.changes.subscribe((function(t){e.updateWizardSteps(t.toArray().filter((function(e){return e.included})).sort((function(e,t){return e.order-t.order})))})),this.updateWizardSteps(this.wizardStepsQueryList.toArray().filter((function(e){return e.included})).sort((function(e,t){return e.order-t.order}
1))),this.wizardStepsQueryList.toArray().forEach((function(t){return t.onIncludedChange.subscribe((function(t){e.updateWizardSteps(e.wizardStepsQueryList.toArray().filter((function(e){return e.included})).sort((function(e,t){return e.order-t.order})))}))})),this.reset()}},{key:"hasStep",value:function(e){return this.steps.length>0&&0<=e&&e<this.steps.length}},{key:"hasPreviousStep",value:function(){return this.hasStep(this.selectedIndex-1)}},{key:"hasNextStep",value:function(){return this.hasStep(this.selectedIndex+1)}},{key:"isLastStep",value:function(){return this.steps.length>0&&this.selectedIndex===this.steps.length-1}},{key:"isFirstStep",value:function(){return this.steps.length>0&&0===this.selectedIndex}},{key:"isCompleted",value:function(){return this.steps.every((function(e){return e.completed||e.optional}))}},{key:"getStepAtIndex",value:function(e){if(!this.hasStep(e))throw new Error("Expected a known step, but got stepIndex: ".concat(e,"."));return this.steps[e]}},{key:"getIndexOfStep",value:function(e){return this.steps.indexOf(e)}},{key:"onSelectionChange",value:function(e){this.setStep(e)}},{key:"setStep",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.hasStep(e))if(e>this.selectedIndex){if(!this.steps.slice(0,e).every((function(e){return e.completed||e.optional})))return;if(n)this.selectedStep.completed=!0,this.changeStep(e);else var r=this.isCurrentStepValid().pipe(Object(C.a)((function(){r.unsubscribe()}))).subscribe((function(n){console.log("Step ".concat(t.selectedStep.name," valid ").concat(n)),n&&(t.selectedStep.completed=!0,t.changeStep(e))}))}else this.changeStep(e)}},{key:"onNext",value:function(){var e=this;if(this.hasNextStep())var t=this.isCurrentStepValid().pipe(Object(C.a)((function(){t.unsubscribe()}))).subscribe((function(t){console.log("Step ".concat(e.selectedStep.name," valid ").concat(t)),t&&(e.selectedStep.completed=!0,e.changeStep(e.selectedIndex+1),e.next.emit(e.selectedIndex))}))}},{key:"onBack",value:function(){this.hasPreviousStep()&&(this.changeStep(this.selectedIndex-1),this.back.emit(this.selectedIndex))}},{key:"reset",value:function(){this.steps.forEach((function(e){e.completed=!1})),this.selectedIndex=this.defaultStepIndex}},{key:"isCurrentStepValid",value:function(){if(this.selectedStep.validate){if(this.selectedStep.validate instanceof Function==0)throw new Error("Input value '".concat(this.selectedStep.validate,"' is not a function"));return this.selectedStep.validate().pipe(Object(T.a)((function(e){return Object(A.a)(!1)})))}return Object(A.a)(!0)}},{key:"getMovingDirection",value:function(e){return e>this.selectedIndex?on.Forwards:on.Backwards}},{key:"changeStep",value:function(e){this.selectedStep.exit(this.getMovingDirection(e));var t={previousStepIndex:this.selectedIndex,selectedStepIndex:e};this.selectedIndex=e,this.selectionChange.emit(t),this.selectedStep.enter(this.getMovingDirection(e)),this.selectedStep&&this.selectedStep.optional&&!this.selectedStep.completed&&(this.selectedStep.completed=!0),this.isCompleted()&&this.completed.emit()}},{key:"updateWizardSteps",value:function(e){this.steps=e}}])}(),sn=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.innerSteps=[],this.disabled=!1,this.selectedIndex=0,this.selectionChange=new i.EventEmitter,this.keepOriginalOrder=function(e,t){return e.key}}),[{key:"steps",get:function(){return this.innerSteps},set:function(e){this.innerSteps=e,this.groups=this.computeGroups(e)}},{key:"isGrouped",get:function(){return this.steps&&this.steps.some((function(e){return!!e.group}))}},{key:"ngOnInit",value:function(){}},{key:"onChangeStep",value:function(e){0==this.disabled&&this.selectionChange.emit(e)}},{key:"isGroupCompleted",value:function(e){return e.every((function(e){return!0===e.completed}))}},{key:"isStepSelected",value:function(e){return this.steps.indexOf(e)===this.selectedIndex}},{key:"isGroupSelected",value:function(e){var t=this;return e.some((function(e){return t.isStepSelected(e)}))}},{key:"isGroup",value:function(e){return e&&!!e[0].group}},{key:"computeGroups",value:function(e){return e.reduce((function(e,t){return t.group?(e[t.group]=e[t.group]||[],e[t.group].push(t)):e[t.name]=[t],e}),{})}}])}(),ln=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"ngOnInit",value:function(){}}])}(),un=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.selectedIndex=0,this.completedIndex=0,this.stepCount=1,this.previousLabel="Back",this.nextLabel="Next",this.showPrevious=!0,this.showNext=!0,this.previousDisabled=!1,this.nextDisabled=!1,this.next=new i.EventEmitter,this.back=new i.EventEmitter}),[{key:"progress",get:function(){return Math.ceil((this.completedIndex+1)/this.stepCount*100)+"%"}},{key:"ngOnInit",value:function(){}},{key:"isLastStep",value:function(){return this.selectedIndex===this.stepCount-1}},{key:"isFirstStep",value:function(){return 0===this.selectedIndex}},{key:"onNext",value:function(){this.next.emit()}},{key:"onBack",value:function(){this.back.emit()}}])}(),cn=_createClass2((function e(){_classCallCheck2(this,e)})),hn=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.control=t,this.rows=4,this.placeholder="",this.disabled=!1,this.readonly=!1,this.required=!1,this.focused=!1,this.onChange=function(e){},this.onTouched=function(){},this.control&&(this.control.valueAccessor=this)}),[{key:"hasErrors",get:function(){return this.control&&this.control.errors&&(this.control.touched||this.control.dirty)}},{key:"ngOnInit",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}])}(),dn=_createClass2((function e(){_classCallCheck2(this,e)})),fn=function(){return _createClass2((function e(t){var n=this;_classCallCheck2(this,e),this.readonly=!1,this.placeholder="",this.required=!1,this.waitTime=500,this.optionsInScrollableView=10,this.adaptivePosition=!0,this.onSelected=new i.EventEmitter,this.search=null,this.focused=!1,this.disabled=!1,this.selected=!1,this.control=null,this.onChange=function(e){},this.onTouched=function(){},t&&(this.control=t,this.control.valueAccessor=this),this.suggestions$=new h.a((function(e){e.next(n.search)})).pipe(Object(v.a)(),Object(m.a)((function(e){return null!=e})),Object(y.a)((function(e){return n.queryService.execute(e)})))}),[{key:"hasErrors",get:function(){return!(!this.control||!this.control.errors||!this.control.touched&&!this.control.dirty)}},{key:"itemTemplate",get:function(){return this.itemTemplateDirective&&this.itemTemplateDirective.templateRef}},{key:"listTemplate",get:function(){return this.listTemplateDirective&&this.listTemplateDirective.templateRef}},{key:"ngOnInit",value:function(){if(null==this.queryService)throw Error("You must provide query service.");if(null==this.queryService.execute)throw Error("You must provide query service service by implementing interface IAutocompleteService.")}},{key:"ngOnDestroy",value:function(){}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.control&&this.onTouched()}},{key:"writeValue",value:function(e){this.input.nativeElement.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"onSelectedTypeahead",value:function(e){this.selected=!0,this.control&&this.onChange(e.item.data),this.onSelected.emit(e.item)}},{key:"unselect",value:function(){this.selected=!1,this.control&&this.onChange(null),this.onSelected.emit(null)}}])}(),pn=_createClass2((function e(){_classCallCheck2(this,e)}))},4:function(e,t){},"4HIu":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("AytR"),i=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.router=t}),[{key:"canActivate",value:function(e,t){return!r.a.registrationClosed||(this.router.navigate(["/registration-closed"]),!1)}}])}()},"4I5i":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=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}()},5:function(e,t){},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("ZUHj"),i=n("l7GE"),o=n("51Dv"),a=n("lJxs"),s=n("Cfvw");function l(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(l((function(n,r){return Object(s.a)(e(n,r)).pipe(Object(a.a)((function(e,i){return t(n,e,r,i)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new u(e,n))})}var u=function(){return _createClass2((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck2(this,e),this.project=t,this.concurrent=n}),[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.project,this.concurrent))}}])}(),c=function(e){function t(e,n){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).project=n,r.concurrent=i,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}
1return _inherits2(t,e),_createClass2(t,[{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 i=new o.a(this,t,n),a=this.destination;a.add(i);var s=Object(r.a)(this,e,void 0,void 0,i);s!==i&&a.add(s)}},{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()}}])}(i.a)},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t)).parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return _inherits2(t,e),_createClass2(t,[{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("7o/Q").a)},"5GAg":function(e,t,n){"use strict";n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return C})),n.d(t,"d",(function(){return w})),n.d(t,"f",(function(){return x})),n.d(t,"g",(function(){return B})),n.d(t,"e",(function(){return M})),n.d(t,"h",(function(){return I})),n.d(t,"a",(function(){return R}));var r=n("SVse"),i=n("8Y7J"),o=n("XNiG"),a=n("quSY"),s=n("LRne"),l=n("dvZr"),u=n("vkgz"),c=n("Kj3r"),h=n("pLZG"),d=n("lJxs"),f=n("IzEk"),p=n("/HVE"),g=n("KCVW");function _(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var A=0,v=new Map,m=null,y=function(){var e=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._document=t}),[{key:"describe",value:function(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),v.set(t,{messageElement:t,referenceCount:0})):v.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}},{key:"removeDescription",value:function(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){var n=v.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t)}m&&0===m.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute("cdk-describedby-host");m&&this._deleteMessagesContainer(),v.clear()}},{key:"_createMessageElement",value:function(e){var t=this._document.createElement("div");this._setMessageId(t),t.textContent=e,this._createMessagesContainer(),m.appendChild(t),v.set(e,{messageElement:t,referenceCount:0})}},{key:"_setMessageId",value:function(e){e.id||(e.id="cdk-describedby-message-"+A++)}},{key:"_deleteMessageElement",value:function(e){var t=v.get(e),n=t&&t.messageElement;m&&n&&m.removeChild(n),v.delete(e)}},{key:"_createMessagesContainer",value:function(){if(!m){var e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode.removeChild(e),(m=this._document.createElement("div")).id="cdk-describedby-message-container",m.setAttribute("aria-hidden","true"),m.style.display="none",this._document.body.appendChild(m)}}},{key:"_deleteMessagesContainer",value:function(){m&&m.parentNode&&(m.parentNode.removeChild(m),m=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(e){var t=_(e,"aria-describedby").filter((function(e){return 0!=e.indexOf("cdk-describedby-message")}));e.setAttribute("aria-describedby",t.join(" "))}},{key:"_addMessageReference",value:function(e,t){var n,r,i,o,a=v.get(t);n=e,r="aria-describedby",i=a.messageElement.id,(o=_(n,r)).some((function(e){return e.trim()==i.trim()}))||(o.push(i.trim()),n.setAttribute(r,o.join(" "))),e.setAttribute("cdk-describedby-host",""),a.referenceCount++}},{key:"_removeMessageReference",value:function(e,t){var n,r,i,o,a=v.get(t);a.referenceCount--,n=e,r="aria-describedby",i=a.messageElement.id,(o=_(n,r).filter((function(e){return e!=i.trim()}))).length?n.setAttribute(r,o.join(" ")):n.removeAttribute(r),e.removeAttribute("cdk-describedby-host")}},{key:"_isElementDescribedByMessage",value:function(e,t){var n=_(e,"aria-describedby"),r=v.get(t),i=r&&r.messageElement.id;return!!i&&-1!=n.indexOf(i)}},{key:"_canBeDescribed",value:function(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;
1var n=null==t?"":(""+t).trim(),r=e.getAttribute("aria-label");return!(!n||r&&r.trim()===n)}},{key:"_isElementNode",value:function(e){return e.nodeType===this._document.ELEMENT_NODE}}])}();return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(r.e))},token:e,providedIn:"root"}),e}(),b=function(){return _createClass2((function e(t){var n=this;_classCallCheck2(this,e),this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new o.a,this._typeaheadSubscription=a.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new o.a,this.change=new o.a,t instanceof i.QueryList&&t.changes.subscribe((function(e){if(n._activeItem){var t=e.toArray().indexOf(n._activeItem);t>-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}}))}),[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;if(this._items.length&&this._items.some((function(e){return"function"!=typeof e.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(u.a)((function(t){return e._pressedLetters.push(t)})),Object(c.a)(t),Object(h.a)((function(){return e._pressedLetters.length>0})),Object(d.a)((function(){return e._pressedLetters.join("")}))).subscribe((function(t){for(var n=e._getItemsArray(),r=1;r<n.length+1;r++){var i=(e._activeItemIndex+r)%n.length,o=n[i];if(!e._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(t)){e.setActiveItem(i);break}}e._pressedLetters=[]})),this}},{key:"setActiveItem",value:function(e){var t=this._activeItemIndex;this.updateActiveItem(e),this._activeItemIndex!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every((function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1}));switch(n){case l.k:return void this.tabOut.next();case l.b:if(this._vertical&&r){this.setNextItemActive();break}return;case l.l:if(this._vertical&&r){this.setPreviousItemActive();break}return;case l.i:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.g:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((r||Object(l.o)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=l.a&&n<=l.m||n>=l.n&&n<=l.h)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),r=t[n];this._activeItem=null==r?null:r,this._activeItemIndex=n}},{key:"updateActiveItemIndex",value:function(e){this.updateActiveItem(e)}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var r=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof i.QueryList?this._items.toArray():this._items}}])}(),C=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}
1return _inherits2(t,e),_createClass2(t,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),_superPropGet(t,"setActiveItem",this,3)([e]),this.activeItem&&this.activeItem.setActiveStyles()}}])}(b),w=function(e){function t(){var e;return _classCallCheck2(this,t),(e=_callSuper(this,t,arguments))._origin="program",e}return _inherits2(t,e),_createClass2(t,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){_superPropGet(t,"setActiveItem",this,3)([e]),this.activeItem&&this.activeItem.focus(this._origin)}}])}(b),k=function(){var e=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._platform=t}),[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(t){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){var r=n&&n.nodeName.toLowerCase();if(-1===S(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===r)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),o=S(e);if(e.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0}},{key:"isFocusable",value:function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||E(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)}}])}();return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(p.a))},token:e,providedIn:"root"}),e}();function E(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function S(e){if(!E(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var O=function(){return _createClass2((function e(t,n,r,i){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck2(this,e),this._element=t,this._checker=n,this._ngZone=r,this._document=i,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}),[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focu
1sInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusLastTabbableElement())}))}))}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),Object(i.isDevMode)()&&!this._checker.isFocusable(e)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",e),e.focus(),!0):this.focusFirstTabbableElement()}},{key:"focusFirstTabbableElement",value:function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e}},{key:"focusLastTabbableElement",value:function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(r)return r}return null}},{key:"_getLastTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;n>=0;n--){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(r)return r}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(Object(f.a)(1)).subscribe(e)}}])}(),x=function(){var e=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._checker=t,this._ngZone=n,this._document=r}),[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new O(e,this._checker,this._ngZone,this._document,t)}}])}();return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(k),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(r.e))},token:e,providedIn:"root"}),e}(),P=new i.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),T=new i.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),B=function(){var e=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this._ngZone=n,this._defaultOptions=i,this._document=r,this._liveElement=t||this._createLiveElement()}),[{key:"announce",value:function(e){for(var t,n,r,i=this,o=this._defaultOptions,a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];return 1===s.length&&"number"==typeof s[0]?r=s[0]:(n=(t=_slicedToArray2(s,2))[0],r=t[1]),this.clear(),clearTimeout(this._previousTimeout),n||(n=o&&o.politeness?o.politeness:"polite"),null==r&&o&&(r=o.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular((function(){return new Promise((function(t){clearTimeout(i._previousTimeout),i._previousTimeout=setTimeout((function(){i._liveElement.textContent=e,t(),"number"==typeof r&&(i._previousTimeout=setTimeout((function(){return i.clear()}),r))}),100)}))}))}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}},{key:"_createLiveElement",value:function(){for(var e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=this._document.createElement("div"),n=0;n<e.length;n++)e[n].parentNode.removeChild(e[n]);return t.classList.add("cdk-live-announcer-element"),t.classList.add("cdk-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),t}}])}();return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(P,8),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(r.e),Object(i["\u0275\u0275inject"])(T,8))},token:e,providedIn:"root"}),e}(),D=Object(p.e)({passive:!0,capture:!0}),M=function(){var e=function(){return _createClass2((function e(t,n){var r=this;_classCallCheck2(this,e),this._ngZone=t,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=function(){r._lastTouchTarget=null,r._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(){r._lastTouchTarget||r._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=function(e){null!=r._touchTimeoutId&&clearTimeout(r._touchTimeoutId),r._lastTouchTarget=e.composedPath?e.composedPath()[0]:e.target,r._touchTimeoutId=setTimeout((function(){return r._lastTouchTarget=null}),650)},this._windowFocusListener=function(){r._windowFocused=!0,r._windowFocusTimeoutId=setTimeout((function(){return r._windowFocused=!1}))}}),[{key:"monitor",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return Object(s.a)(null);var r=Object(g.e)(e);if(this._elementInfo.has(r)){var i=this._elementInfo.get(r);return i.checkChildren=n,i.subject.asObservable()}var a={unlisten:function(){}
1,checkChildren:n,subject:new o.a};this._elementInfo.set(r,a),this._incrementMonitoredElementCount();var l=function(e){return t._onFocus(e,r)},u=function(e){return t._onBlur(e,r)};return this._ngZone.runOutsideAngular((function(){r.addEventListener("focus",l,!0),r.addEventListener("blur",u,!0)})),a.unlisten=function(){r.removeEventListener("focus",l,!0),r.removeEventListener("blur",u,!0)},a.subject.asObservable()}},{key:"stopMonitoring",value:function(e){var t=Object(g.e)(e),n=this._elementInfo.get(t);n&&(n.unlisten(),n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._decrementMonitoredElementCount())}},{key:"focusVia",value:function(e,t,n){var r=Object(g.e)(e);this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n)}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_setClasses",value:function(e,t){this._elementInfo.get(e)&&(this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t))}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,t._originTimeoutId=setTimeout((function(){return t._origin=null}),1)}))}},{key:"_wasCausedByTouch",value:function(e){var t=e.target;return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===e.target)){var r=this._origin;r||(r=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"),this._setClasses(t,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run((function(){return e.next(t)}))}},{key:"_incrementMonitoredElementCount",value:function(){var e=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular((function(){document.addEventListener("keydown",e._documentKeydownListener,D),document.addEventListener("mousedown",e._documentMousedownListener,D),document.addEventListener("touchstart",e._documentTouchstartListener,D),window.addEventListener("focus",e._windowFocusListener)}))}},{key:"_decrementMonitoredElementCount",value:function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,D),document.removeEventListener("mousedown",this._documentMousedownListener,D),document.removeEventListener("touchstart",this._documentTouchstartListener,D),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}])}();return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(p.a))},token:e,providedIn:"root"}),e}();function I(e){return 0===e.buttons}var R=_createClass2((function e(){_classCallCheck2(this,e)}))},"6PXS":function(e,t,n){"use strict";var r=n("mrSG"),i=n("vFt6"),o=n("9AQC"),a=function(){function e(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return e.prototype.memoize=function(e){if(this._hasWeakSet)return!!this._inner.has(e)||(this._inner.add(e),!1);for(var t=0;t<this._inner.length;t++)if(this._inner[t]===e)return!0;return this._inner.push(e),!1},e.prototype.unmemoize=function(e){if(this._hasWeakSet)this._inner.delete(e);else for(var t=0;t<this._inner.length;t++)if(this._inner[t]===e){this._inner.splice(t,1);break}},e}(),s=n("pRiV"),l=n("+924");function u(e,t,n){if(t in e){var r=e[t],i=n(r);if("function"==typeof i)try{i.prototype=i.prototype||{},Object.defineProperties(i,{__sentry_original__:{enumerable:!1,value:r}})}catch(o){}e[t]=i}}function c(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}function h(e){if(Object(o.d)(e)){var t=e,n={message:t.message,name:t.name,stack:t.stack};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}if(Object(o.f)(e)){var a=e,s={};s.type=a.type;try{s.target=Object(o.c)(a.target)?Object(i.a)(a.target):Object.prototype.toString.call(a.target)}catch(l){s.target="<unknown>"}try{s.currentTarget=Object(o.c)(a.currentTarget)?Object(i.a)(a.currentTarget):Object.prototype.toString.call(a.currentTarget)}catch(l){s.currentTarget="<unknown>"}for(var r in"undefined"!=typeof CustomEvent&&Object(o.g)(e,CustomEvent)&&(s.detail=a.detail),a)Object.prototype.hasOwnProperty.call(a,r)&&(s[r]=a);return s}return e}function d(e,t,n){void 0===t&&(t=3),void 0===n&&(n=102400);var r,i=p(e,t);return r=JSON.stringify(i),~-encodeURI(r).split(/%..|./).length>n?d(e,t-1,n):i}function f(e,t){return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":"undefined"!=typeof global&&e===global?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":Object(o.l)(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+Object(s.a)(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":e}function p(e,t){try{return JSON.parse(JSON.stringify(e,(function(e,n){return function e(t,n,r,i){if(void 0===r&&(r=1/0),void 0===i&&(i=new a),0===r)return function(e){var t=Object.prototype.toString.call(e);
1if("string"==typeof e)return e;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var n=f(e);return Object(o.i)(n)?n:t}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var s=f(n,t);if(Object(o.i)(s))return s;var l=h(n),u=Array.isArray(n)?[]:{};if(i.memoize(n))return"[Circular ~]";for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(u[c]=e(c,l[c],r-1,i));return i.unmemoize(n),u}(e,n,t)})))}catch(n){return"**non-serializable**"}}function g(e,t){void 0===t&&(t=40);var n=Object.keys(h(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Object(l.d)(n[0],t);for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:Object(l.d)(i,t)}return""}function _(e){var t,n;if(Object(o.h)(e)){var i=e,a={};try{for(var s=Object(r.i)(Object.keys(i)),l=s.next();!l.done;l=s.next()){var u=l.value;void 0!==i[u]&&(a[u]=_(i[u]))}}catch(c){t={error:c}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return a}return Array.isArray(e)?e.map(_):e}n.d(t,"c",(function(){return u})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return _}))},"7Hc7":function(e,t,n){"use strict";var r=1,i=Promise.resolve(),o={};function a(e){return e in o&&(delete o[e],!0)}var s=function(e){var t=r++;return o[t]=!0,i.then((function(){return a(t)&&e()})),t},l=function(e){a(e)},u=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e,n])).scheduler
1=e,r.work=n,r}return _inherits2(t,e),_createClass2(t,[{key:"requestAsyncId",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?_superPropGet(t,"requestAsyncId",this,3)([e,n,r]):(e.actions.push(this),e.scheduled||(e.scheduled=s(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return _superPropGet(t,"recycleAsyncId",this,3)([e,n,r]);0===e.actions.length&&(l(n),e.scheduled=void 0)}}])}(n("3N8a").a),c=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<i&&(e=n.shift()));if(this.active=!1,t){for(;++r<i&&(e=n.shift());)e.unsubscribe();throw t}}}])}(n("IjjT").a);n.d(t,"a",(function(){return h}));var h=new c(u)},"7QIX":function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return C}));var r,i=n("8Y7J"),o=n("/HVE"),a=n("XNiG"),s=n("itXk"),l=n("GyhO"),u=n("HDdC"),c=n("IzEk"),h=n("zP0r"),d=n("Kj3r"),f=n("lJxs"),p=n("JX91"),g=n("1G5W"),_=n("KCVW"),A=new Set,v=function(){var e=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):m}),[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!A.has(e))try{r||((r=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(r)),r.sheet&&(r.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),A.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}])}();return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(o.a))},token:e,providedIn:"root"}),e}();function m(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var y=function(){var e=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new a.a}),[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return b(Object(_.b)(e)).some((function(e){return t._registerQuery(e).mql.matches}))}},{key:"observe",value:function(e){var t=this,n=b(Object(_.b)(e)).map((function(e){return t._registerQuery(e).observable})),r=Object(s.a)(n);return(r=Object(l.a)(r.pipe(Object(c.a)(1)),r.pipe(Object(h.a)(1),Object(d.a)(0)))).pipe(Object(f.a)((function(e){var t={matches:!1,breakpoints:{}};return e.forEach((function(e){t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches})),t})))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),r={observable:new u.a((function(e){var r=function(n){return t._zone.run((function(){return e.next(n)}))};return n.addListener(r),function(){n.removeListener(r)}})).pipe(Object(p.a)(n),Object(f.a)((function(t){return{query:e,matches:t.matches}})),Object(g.a)(this._destroySubject)),mql:n};return this._queries.set(e,r),r}}])}();return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(v),Object(i["\u0275\u0275inject"])(i.NgZone))},token:e,providedIn:"root"}),e}();function b(e){return e.map((function(e){return e.split(",")})).reduce((function(e,t){return e.concat(t)})).map((function(e){return e.trim()}))}var C={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},"7g+E":function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return c}));var r=n("8Y7J"),i=n("jtHE"),o=n("XNiG"),a=n("pLZG"),s=n("1G5W"),l={"ball-8bits":16,"ball-atom"
1:4,"ball-beat":3,"ball-circus":5,"ball-climbing-dot":4,"ball-clip-rotate":1,"ball-clip-rotate-multiple":2,"ball-clip-rotate-pulse":2,"ball-elastic-dots":5,"ball-fall":3,"ball-fussion":4,"ball-grid-beat":9,"ball-grid-pulse":9,"ball-newton-cradle":4,"ball-pulse":3,"ball-pulse-rise":5,"ball-pulse-sync":3,"ball-rotate":1,"ball-running-dots":5,"ball-scale":1,"ball-scale-multiple":3,"ball-scale-pulse":2,"ball-scale-ripple":1,"ball-scale-ripple-multiple":3,"ball-spin":8,"ball-spin-clockwise":8,"ball-spin-clockwise-fade":8,"ball-spin-clockwise-fade-rotating":8,"ball-spin-fade":8,"ball-spin-fade-rotating":8,"ball-spin-rotate":2,"ball-square-clockwise-spin":8,"ball-square-spin":8,"ball-triangle-path":3,"ball-zig-zag":2,"ball-zig-zag-deflect":2,cog:1,"cube-transition":2,fire:3,"line-scale":5,"line-scale-party":5,"line-scale-pulse-out":5,"line-scale-pulse-out-rapid":5,"line-spin-clockwise-fade":8,"line-spin-clockwise-fade-rotating":8,"line-spin-fade":8,"line-spin-fade-rotating":8,pacman:6,"square-jelly-box":2,"square-loader":1,"square-spin":1,timer:1,"triangle-skew-spin":1},u=_createClass2((function e(t){_classCallCheck2(this,e),Object.assign(this,t)})),c=function(){var e=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.spinnerObservable=new i.a(1)}),[{key:"getSpinner",value:function(e){return this.spinnerObservable.asObservable().pipe(Object(a.a)((function(t){return t&&t.name===e})))}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"primary",n=arguments.length>1?arguments[1]:void 0;return new Promise((function(r,i){n&&Object.keys(n).length?(n.name=t,e.spinnerObservable.next(new u(Object.assign({},n,{show:!0}))),r(!0)):(e.spinnerObservable.next(new u({name:t,show:!0})),r(!0))}))}},{key:"hide",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"primary",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Promise((function(r,i){setTimeout((function(){e.spinnerObservable.next(new u({name:t,show:!1})),r(!0)}),n)}))}}])}();return e.ngInjectableDef=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),h=function(){return _createClass2((function e(t,n){var r=this;_classCallCheck2(this,e),this.spinnerService=t,this.changeDetector=n,this.spinner=new u,this.ngUnsubscribe=new o.a,this.setDefaultOptions=function(){r.spinner=new u({name:r.name,bdColor:r.bdColor,size:r.size,color:r.color,type:r.type,fullScreen:r.fullScreen,divArray:r.divArray,divCount:r.divCount,show:r.show,zIndex:r.zIndex})},this.bdColor="rgba(51,51,51,0.8)",this.zIndex=99999,this.color="#fff",this.type="ball-scale-multiple",this.size="large",this.fullScreen=!0,this.name="primary",this.divArray=[],this.divCount=0,this.show=!1}),[{key:"ngOnInit",value:function(){var e=this;this.setDefaultOptions(),this.spinnerService.getSpinner(this.name).pipe(Object(s.a)(this.ngUnsubscribe)).subscribe((function(t){e.setDefaultOptions(),Object.assign(e.spinner,t),t.show&&e.onInputChange(),e.changeDetector.markForCheck()}))}},{key:"ngOnChanges",value:function(e){for(var t in e)if(t){var n=e[t];if(n.isFirstChange())return;void 0!==n.currentValue&&n.currentValue!==n.previousValue&&""!==n.currentValue&&(this.spinner[t]=n.currentValue)}}},{key:"getClass",value:function(e,t){this.spinner.divCount=l[e],this.spinner.divArray=Array(this.spinner.divCount).fill(0).map((function(e,t){return t}));var n="";switch(t.toLowerCase()){case"small":n="la-sm";break;case"medium":n="la-2x";break;case"large":n="la-3x"}return"la-"+e+" "+n}},{key:"onInputChange",value:function(){this.spinner.class=this.getClass(this.spinner.type,this.spinner.size)}},{key:"ngOnDestroy",value:function(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}}])}(),d=_createClass2((function e(){_classCallCheck2(this,e)}))},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("n6bG"),i=n("gRHU"),o=n("quSY"),a=n("2QA8"),s=n("2fFW"),l=n("NJ4a"),u=function(e,t){function n(e,t,r){var o;switch(_classCallCheck2(this,n),(o=_callSuper(this,n)).syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=i.a;break;case 1:if(!e){o.destination=i.a;break}if("object"==typeof e){e instanceof n?(o.syncErrorThrowable=e.syncErrorThrowable,o.destination=e,e.add(_assertThisInitialized2(o))):(o.syncErrorThrowable=!0,o.destination=new c(_assertThisInitialized2(o),e));break}default:o.syncErrorThrowable=!0,o.destination=new c(_assertThisInitialized2(o),e,t,r)}return _assertThisInitialized2(o)}
1return _inherits2(n,e),_createClass2(n,[{key:t,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,_superPropGet(n,"unsubscribe",this,3)([]))}},{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}}])}(o.a,a.a),c=function(e){function t(e,n,o,a){var s,l;_classCallCheck2(this,t),(s=_callSuper(this,t))._parentSubscriber=e;var u=s;return Object(r.a)(n)?l=n:n&&(l=n.next,o=n.error,a=n.complete,n!==i.a&&(u=Object.create(n),Object(r.a)(u.unsubscribe)&&s.add(u.unsubscribe.bind(u)),u.unsubscribe=s.unsubscribe.bind(s))),s._context=u,s._next=l,s._error=o,s._complete=a,s}return _inherits2(t,e),_createClass2(t,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;s.a.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=s.a.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):Object(l.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(l.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)};s.a.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(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return s.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(l.a)(r),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}])}(u)},"7vha":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n("8Y7J"),i=n("Ckfk");n("s7LF");var o=function(){return _createClass2((function e(t,n,i,o){_classCallCheck2(this,e),this.el=t,this.renderer=n,this.cd=i,this.zone=o,this.dateFormat="mm/dd/yy",this.multipleSeparator=",",this.rangeSeparator="-",this.inline=!1,this.showOtherMonths=!0,this.icon="pi pi-calendar",this.shortYearCutoff="+10",this.hourFormat="24",this.stepHour=1,this.stepMinute=1,this.stepSecond=1,this.showSeconds=!1,this.showOnFocus=!0,this.showWeek=!1,this.dataType="date",this.selectionMode="single",this.todayButtonStyleClass="ui-button-secondary",this.clearButtonStyleClass="ui-button-secondary",this.autoZIndex=!0,this.baseZIndex=0,this.keepInvalid=!1,this.hideOnDateTimeSelect=!0,this.numberOfMonths=1,this.view="date",this.timeSeparator=":",this.showTransitionOptions="225ms ease-out",this.hideTransitionOptions="195ms ease-in",this.onFocus=new r.EventEmitter,this.onBlur=new r.EventEmitter,this.onClose=new r.EventEmitter,this.onSelect=new r.EventEmitter,this.onInput=new r.EventEmitter,this.onTodayClick=new r.EventEmitter,this.onClearClick=new r.EventEmitter,this.onMonthChange=new r.EventEmitter,this.onYearChange=new r.EventEmitter,this.onClickOutside=new r.EventEmitter,this.onShow=new r.EventEmitter,this._locale={firstDayOfWeek:0,dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",dateFormat:"mm/dd/yy",weekHeader:"Wk"},this.onModelChange=function(){},this.onModelTouched=function(){},this.inputFieldValue=null,this.navigationState=null,this.convertTo24Hour=function(e,t){return"12"==this.hourFormat?12===e?t?12:0:t?e+12:e:e}}),[{key:"content",set:function(e){var t=this;this.contentViewChild=e,this.contentViewChild&&(this.isMonthNavigate?(Promise.resolve(null).then((function(){return t.updateFocus()})),this.isMonthNavigate=!1):this.initFocusableCell())}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}},{key:"disabledDates",get:function(){return this._disabledDates},set:function(e){this._disabledDates=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}},{key:"disabledDays",get:function(){return this._disabledDays},set:function(e){this._disabledDays=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}},{key:"yearRange",get:function(){return this._yearRange},set:function(e){if(this._yearRange=e,e){var t=e.split(":"),n=parseInt(t[0]),r=parseInt(t[1]);this.populateYearOptions(n,r)}}},{key:"showTime",get:function(){return this._showTime},set:function(e){this._showTime=e,void 0===this.currentHour&&this.initTime(this.value||new Date),this.updateInputfield()}},{key:"locale",get:function(){return this._locale},set:function(e){this._locale=e,"date"===this.view?(this.createWeekDays(),this.createMonths(this.currentMonth,this.currentYear)):"month"===this.view&&this.createMonthPickerValues()}},{key:"ngOnInit",value:function(){var e=this.defaultDate||new Date;this.currentMonth=e.getMonth(),this.currentYear=e.getFullYear(),"date"===this.view?(this.createWeekDays(),this.initTime(e),this.createMonths(this.currentMonth,this.currentYear),this.ticksTo1970=24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7):"month"===this.view&&this.createMonthPickerValues()}},{key:"ngAfterContentInit",value:function(){var e=this;
1this.templates.forEach((function(t){switch(t.getType()){case"date":e.dateTemplate=t.template;break;case"disabledDate":e.disabledDateTemplate=t.template;break;default:e.dateTemplate=t.template}}))}},{key:"populateYearOptions",value:function(e,t){this.yearOptions=[];for(var n=e;n<=t;n++)this.yearOptions.push(n)}},{key:"createWeekDays",value:function(){this.weekDays=[];for(var e=this.locale.firstDayOfWeek,t=0;t<7;t++)this.weekDays.push(this.locale.dayNamesMin[e]),e=6==e?0:++e}},{key:"createMonthPickerValues",value:function(){this.monthPickerValues=[];for(var e=0;e<=11;e++)this.monthPickerValues.push(this.locale.monthNamesShort[e])}},{key:"createMonths",value:function(e,t){this.months=this.months=[];for(var n=0;n<this.numberOfMonths;n++){var r=e+n,i=t;r>11&&(r=r%11-1,i=t+1),this.months.push(this.createMonth(r,i))}}},{key:"getWeekNumber",value:function(e){var t=new Date(e.getTime());t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t.getTime())/864e5)/7)+1}},{key:"createMonth",value:function(e,t){for(var n=[],r=this.getFirstDayOfMonthIndex(e,t),i=this.getDaysCountInMonth(e,t),o=this.getDaysCountInPrevMonth(e,t),a=1,s=new Date,l=[],u=Math.ceil((i+r)/7),c=0;c<u;c++){var h=[];if(0==c){for(var d=o-r+1;d<=o;d++){var f=this.getPreviousMonthAndYear(e,t);h.push({day:d,month:f.month,year:f.year,otherMonth:!0,today:this.isToday(s,d,f.month,f.year),selectable:this.isSelectable(d,f.month,f.year,!0)})}for(var p=7-h.length,g=0;g<p;g++)h.push({day:a,month:e,year:t,today:this.isToday(s,a,e,t),selectable:this.isSelectable(a,e,t,!1)}),a++}else for(var _=0;_<7;_++){if(a>i){var A=this.getNextMonthAndYear(e,t);h.push({day:a-i,month:A.month,year:A.year,otherMonth:!0,today:this.isToday(s,a-i,A.month,A.year),selectable:this.isSelectable(a-i,A.month,A.year,!0)})}else h.push({day:a,month:e,year:t,today:this.isToday(s,a,e,t),selectable:this.isSelectable(a,e,t,!1)});a++}this.showWeek&&l.push(this.getWeekNumber(new Date(h[0].year,h[0].month,h[0].day))),n.push(h)}return{month:e,year:t,dates:n,weekNumbers:l}}},{key:"initTime",value:function(e){this.pm=e.getHours()>11,this.showTime?(this.currentMinute=e.getMinutes(),this.currentSecond=e.getSeconds(),this.setCurrentHourPM(e.getHours())):this.timeOnly&&(this.currentMinute=0,this.currentHour=0,this.currentSecond=0)}},{key:"navBackward",value:function(e){var t=this;e.stopPropagation(),this.disabled?e.preventDefault():(this.isMonthNavigate=!0,"month"===this.view?(this.decrementYear(),setTimeout((function(){t.updateFocus()}),1)):(0===this.currentMonth?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}},{key:"navForward",value:function(e){var t=this;e.stopPropagation(),this.disabled?e.preventDefault():(this.isMonthNavigate=!0,"month"===this.view?(this.incrementYear(),setTimeout((function(){t.updateFocus()}),1)):(11===this.currentMonth?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}},{key:"decrementYear",value:function(){if(this.currentYear--,this.yearNavigator&&this.currentYear<this.yearOptions[0]){var e=this.yearOptions[this.yearOptions.length-1]-this.yearOptions[0];this.populateYearOptions(this.yearOptions[0]-e,this.yearOptions[this.yearOptions.length-1]-e)}}},{key:"incrementYear",value:function(){if(this.currentYear++,this.yearNavigator&&this.currentYear>this.yearOptions[this.yearOptions.length-1]){var e=this.yearOptions[this.yearOptions.length-1]-this.yearOptions[0];this.populateYearOptions(this.yearOptions[0]+e,this.yearOptions[this.yearOptions.length-1]+e)}}},{key:"onDateSelect",value:function(e,t){var n=this;!this.disabled&&t.selectable?(this.isMultipleSelection()&&this.isSelected(t)?(this.value=this.value.filter((function(e,r){return!n.isDateEquals(e,t)})),this.updateModel(this.value)):this.shouldSelectDate(t)&&this.selectDate(t),this.isSingleSelection()&&this.hideOnDateTimeSelect&&setTimeout((function(){e.preventDefault(),n.hideOverlay(),n.mask&&n.disableModality(),n.cd.markForCheck()}),150),this.updateInputfield(),e.preventDefault()):e.preventDefault()}},{key:"shouldSelectDate",value:function(e){return!this.isMultipleSelection()||null==this.maxDateCount||this.maxDateCount>(this.value?this.value.length:0)}},{key:"onMonthSelect",value:function(e,t){i.a.hasClass(e.target,"ui-state-disabled")||this.onDateSelect(e,{year:this.currentYear,month:t,day:1,selectable:!0})}},{key:"updateInputfield",value:function(){var e="";if(this.value)if(this.isSingleSelection())e=this.formatDateTime(this.value);else if(this.isMultipleSelection())for(var t=0;t<this.value.length;t++)e+=this.formatDateTime(this.value[t]),t!==this.value.length-1&&(e+=this.multipleSeparator+" ");else if(this.isRangeSelection()&&this.value&&this.value.length){var n=this.value[1];e=this.formatDateTime(this.value[0]),n&&(e+=" "+this.rangeSeparator+" "+this.formatDateTime(n))}this.inputFieldValue=e,this.updateFilledState(),this.inputfieldViewChild&&this.inputfieldViewChild.nativeElement&&(this.inputfieldViewChild.nativeElement.value=this.inputFieldValue)}},{key:"formatDateTime",value:function(e){var t=null;return e&&(this.timeOnly?t=this.formatTime(e):(t=this.formatDate(e,this.getDateFormat()),this.showTime&&(t+=" "+this.formatTime(e)))),t}}
1,{key:"setCurrentHourPM",value:function(e){"12"==this.hourFormat?(this.pm=e>11,this.currentHour=e>=12?12==e?12:e-12:0==e?12:e):this.currentHour=e}},{key:"selectDate",value:function(e){var t=new Date(e.year,e.month,e.day);if(this.showTime&&(t.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),t.setMinutes(this.currentMinute),t.setSeconds(this.currentSecond)),this.minDate&&this.minDate>t&&(t=this.minDate,this.setCurrentHourPM(t.getHours()),this.currentMinute=t.getMinutes(),this.currentSecond=t.getSeconds()),this.maxDate&&this.maxDate<t&&(t=this.maxDate,this.setCurrentHourPM(t.getHours()),this.currentMinute=t.getMinutes(),this.currentSecond=t.getSeconds()),this.isSingleSelection())this.updateModel(t);else if(this.isMultipleSelection())this.updateModel(this.value?[].concat(_toConsumableArray2(this.value),[t]):[t]);else if(this.isRangeSelection())if(this.value&&this.value.length){var n=this.value[0],r=this.value[1];!r&&t.getTime()>=n.getTime()?r=t:(n=t,r=null),this.updateModel([n,r])}else this.updateModel([t,null]);this.onSelect.emit(t)}},{key:"updateModel",value:function(e){var t=this;if(this.value=e,"date"==this.dataType)this.onModelChange(this.value);else if("string"==this.dataType)if(this.isSingleSelection())this.onModelChange(this.formatDateTime(this.value));else{var n=null;this.value&&(n=this.value.map((function(e){return t.formatDateTime(e)}))),this.onModelChange(n)}}},{key:"getFirstDayOfMonthIndex",value:function(e,t){var n=new Date;n.setDate(1),n.setMonth(e),n.setFullYear(t);var r=n.getDay()+this.getSundayIndex();return r>=7?r-7:r}},{key:"getDaysCountInMonth",value:function(e,t){return 32-this.daylightSavingAdjust(new Date(t,e,32)).getDate()}},{key:"getDaysCountInPrevMonth",value:function(e,t){var n=this.getPreviousMonthAndYear(e,t);return this.getDaysCountInMonth(n.month,n.year)}},{key:"getPreviousMonthAndYear",value:function(e,t){var n,r;return 0===e?(n=11,r=t-1):(n=e-1,r=t),{month:n,year:r}}},{key:"getNextMonthAndYear",value:function(e,t){var n,r;return 11===e?(n=0,r=t+1):(n=e+1,r=t),{month:n,year:r}}},{key:"getSundayIndex",value:function(){return this.locale.firstDayOfWeek>0?7-this.locale.firstDayOfWeek:0}},{key:"isSelected",value:function(e){if(!this.value)return!1;if(this.isSingleSelection())return this.isDateEquals(this.value,e);if(this.isMultipleSelection()){var t,n=!1,r=_createForOfIteratorHelper2(this.value);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(n=this.isDateEquals(i,e))break}}catch(o){r.e(o)}finally{r.f()}return n}return this.isRangeSelection()?this.value[1]?this.isDateEquals(this.value[0],e)||this.isDateEquals(this.value[1],e)||this.isDateBetween(this.value[0],this.value[1],e):this.isDateEquals(this.value[0],e):void 0}},{key:"isMonthSelected",value:function(e){var t=this.value?Array.isArray(this.value)?this.value[0].getDate():this.value.getDate():1;return this.isSelected({year:this.currentYear,month:e,day:t,selectable:!0})}},{key:"isDateEquals",value:function(e,t){return!!e&&e.getDate()===t.day&&e.getMonth()===t.month&&e.getFullYear()===t.year}},{key:"isDateBetween",value:function(e,t,n){if(e&&t){var r=new Date(n.year,n.month,n.day);return e.getTime()<=r.getTime()&&t.getTime()>=r.getTime()}return!1}},{key:"isSingleSelection",value:function(){return"single"===this.selectionMode}},{key:"isRangeSelection",value:function(){return"range"===this.selectionMode}},{key:"isMultipleSelection",value:function(){return"multiple"===this.selectionMode}},{key:"isToday",value:function(e,t,n,r){return e.getDate()===t&&e.getMonth()===n&&e.getFullYear()===r}},{key:"isSelectable",value:function(e,t,n,r){var i=!0,o=!0,a=!0,s=!0;return!(r&&!this.selectOtherMonths)&&(this.minDate&&(this.minDate.getFullYear()>n||this.minDate.getFullYear()===n&&(this.minDate.getMonth()>t||this.minDate.getMonth()===t&&this.minDate.getDate()>e))&&(i=!1),this.maxDate&&(this.maxDate.getFullYear()<n||this.maxDate.getFullYear()===n&&(this.maxDate.getMonth()<t||this.maxDate.getMonth()===t&&this.maxDate.getDate()<e))&&(o=!1),this.disabledDates&&(a=!this.isDateDisabled(e,t,n)),this.disabledDays&&(s=!this.isDayDisabled(e,t,n)),i&&o&&a&&s)}},{key:"isDateDisabled",value:function(e,t,n){if(this.disabledDates){var r,i=_createForOfIteratorHelper2(this.disabledDates);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.getFullYear()===n&&o.getMonth()===t&&o.getDate()===e)return!0}}catch(a){i.e(a)}finally{i.f()}}return!1}},{key:"isDayDisabled",value:function(e,t,n){if(this.disabledDays){var r=new Date(n,t,e).getDay();return-1!==this.disabledDays.indexOf(r)}return!1}},{key:"onInputFocus",value:function(e){this.focus=!0,this.showOnFocus&&this.showOverlay(),this.onFocus.emit(e)}},{key:"onInputClick",value:function(e){this.overlay&&this.autoZIndex&&(this.overlay.style.zIndex=String(this.baseZIndex+ ++i.a.zindex)),this.showOnFocus&&!this.overlayVisible&&this.showOverlay()}},{key:"onInputBlur",value:function(e){this.focus=!1,this.onBlur.emit(e),this.keepInvalid||this.updateInputfield(),this.onModelTouched()}},{key:"onButtonClick",value:function(e,t){this.overlayVisible?this.hideOverlay():(t.focus(),this.showOverlay())}},{key:"onPrevButtonClick",value:function(e){this.navigationState={backward:!0,button:!0},this.navBackward(e)}},{key:"onNextButtonClick",value:function(e){this.navigationState={backward:!1,button:!0},this.navForward(e)}},{key:"onContainerButtonKeydown",value:function(e){switch(e.which){case 9:this.inl
1ine||this.trapFocus(e);break;case 27:this.overlayVisible=!1,e.preventDefault()}}},{key:"onInputKeydown",value:function(e){this.isKeydown=!0,9===e.keyCode&&this.contentViewChild?this.trapFocus(e):27===e.keyCode&&this.overlayVisible&&(this.overlayVisible=!1,e.preventDefault())}},{key:"onDateCellKeydown",value:function(e,t,n){var r=e.currentTarget,o=r.parentElement;switch(e.which){case 40:r.tabIndex="-1";var a=i.a.index(o),s=o.parentElement.nextElementSibling;s?i.a.hasClass(s.children[a].children[0],"ui-state-disabled")?(this.navigationState={backward:!1},this.navForward(e)):(s.children[a].children[0].tabIndex="0",s.children[a].children[0].focus()):(this.navigationState={backward:!1},this.navForward(e)),e.preventDefault();break;case 38:r.tabIndex="-1";var l=i.a.index(o),u=o.parentElement.previousElementSibling;if(u){var c=u.children[l].children[0];i.a.hasClass(c,"ui-state-disabled")?(this.navigationState={backward:!0},this.navBackward(e)):(c.tabIndex="0",c.focus())}else this.navigationState={backward:!0},this.navBackward(e);e.preventDefault();break;case 37:r.tabIndex="-1";var h=o.previousElementSibling;if(h){var d=h.children[0];i.a.hasClass(d,"ui-state-disabled")||i.a.hasClass(d.parentElement,"ui-datepicker-weeknumber")?this.navigateToMonth(!0,n):(d.tabIndex="0",d.focus())}else this.navigateToMonth(!0,n);e.preventDefault();break;case 39:r.tabIndex="-1";var f=o.nextElementSibling;if(f){var p=f.children[0];i.a.hasClass(p,"ui-state-disabled")?this.navigateToMonth(!1,n):(p.tabIndex="0",p.focus())}else this.navigateToMonth(!1,n);e.preventDefault();break;case 13:this.onDateSelect(e,t),e.preventDefault();break;case 27:this.overlayVisible=!1,e.preventDefault();break;case 9:this.inline||this.trapFocus(e)}}},{key:"onMonthCellKeydown",value:function(e,t){var n=e.currentTarget;switch(e.which){case 38:case 40:n.tabIndex="-1";var r=n.parentElement.children,o=i.a.index(n),a=r[40===e.which?o+3:o-3];a&&(a.tabIndex="0",a.focus()),e.preventDefault();break;case 37:n.tabIndex="-1";var s=n.previousElementSibling;s&&(s.tabIndex="0",s.focus()),e.preventDefault();break;case 39:n.tabIndex="-1";var l=n.nextElementSibling;l&&(l.tabIndex="0",l.focus()),e.preventDefault();break;case 13:this.onMonthSelect(e,t),e.preventDefault();break;case 27:this.overlayVisible=!1,e.preventDefault();break;case 9:this.inline||this.trapFocus(e)}}},{key:"navigateToMonth",value:function(e,t){if(e)if(1===this.numberOfMonths||0===t)this.navigationState={backward:!0},this.navBackward(event);else{var n=i.a.find(this.contentViewChild.nativeElement.children[t-1],".ui-datepicker-calendar td a"),r=n[n.length-1];r.tabIndex="0",r.focus()}else if(1===this.numberOfMonths||t===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(event);else{var o=i.a.findSingle(this.contentViewChild.nativeElement.children[t+1],".ui-datepicker-calendar td a");o.tabIndex="0",o.focus()}}},{key:"updateFocus",value:function(){var e;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?i.a.findSingle(this.contentViewChild.nativeElement,".ui-datepicker-prev").focus():i.a.findSingle(this.contentViewChild.nativeElement,".ui-datepicker-next").focus();else{if(this.navigationState.backward){var t=i.a.find(this.contentViewChild.nativeElement,".ui-datepicker-calendar td a");e=t[t.length-1]}else e=i.a.findSingle(this.contentViewChild.nativeElement,".ui-datepicker-calendar td a");e&&(e.tabIndex="0",e.focus())}this.navigationState=null}else this.initFocusableCell()}},{key:"initFocusableCell",value:function(){var e;if("month"===this.view){var t=i.a.find(this.contentViewChild.nativeElement,".ui-monthpicker .ui-monthpicker-month:not(.ui-state-disabled)"),n=i.a.findSingle(this.contentViewChild.nativeElement,".ui-monthpicker .ui-monthpicker-month.ui-state-highlight");t.forEach((function(e){return e.tabIndex=-1})),e=n||t[0],0===t.length&&i.a.find(this.contentViewChild.nativeElement,'.ui-monthpicker .ui-monthpicker-month.ui-state-disabled[tabindex = "0"]').forEach((function(e){return e.tabIndex=-1}))}else(e=i.a.findSingle(this.contentViewChild.nativeElement,"a.ui-state-active"))||(e=i.a.findSingle(this.contentViewChild.nativeElement,"td.ui-datepicker-today a:not(.ui-state-disabled)")||i.a.findSingle(this.contentViewChild.nativeElement,".ui-datepicker-calendar td a"));e&&(e.tabIndex="0")}},{key:"trapFocus",value:function(e){e.preventDefault();var t=i.a.getFocusableElements(this.contentViewChild.nativeElement);if(t&&t.length>0)if(document.activeElement){var n=t.indexOf(document.activeElement);e.shiftKey?-1==n||0===n?t[t.length-1].focus():t[n-1].focus():-1==n||n===t.length-1?t[0].focus():t[n+1].focus()}else t[0].focus()}},{key:"onMonthDropdownChange",value:function(e){this.currentMonth=parseInt(e),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}},{key:"onYearDropdownChange",value:function(e){this.currentYear=parseInt(e),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}},{key:"validateTime",value:function(e,t,n,r){var i=this.value,o=this.convertTo24Hour(e,r);this.isRangeSelection()&&(i=this.value[1]||this.value[0]),this.isMultipleSelection()&&(i=this.value[this.value.length-1]);var a=i?i.toDateString():null;if(this.minDate&&a&&this.minDate.toDateString()===a){if(this.minDate.getHours()>o)return!1;if(this.minDate.getHours()===o){if(this.minDate.getMinutes()>t)return!1;if(this.minDate.getMinutes()===t&&this.minDate.getSeconds()>n)return!1}}if(this.maxDate&&a&&this.maxDate.toDateString()===a){if(this.maxDate.getHours()<o)return!1;if(this.maxDate.getHours()===o){if(this.maxDate.getMinutes()<t)return!1;if(this.maxDate.getMinutes()===t&&this.maxDate.getSeconds()<n)return!1}}return!0}},{key:"incrementHour",value:function(e){var t=this.currentHour+this.stepHour,n=this.pm;"24"==this.hourFormat?t=t>=24?t-24:t:"12"==this.hourFormat&&(this.currentHour<12&&t>11&&(n=!this.pm),t=t>=13?t-12:t),this.validateTime(t,this.currentMinute,this.currentSecond,n)&&(this.currentHour=t,this.pm=n),e.preventDefault()}},{key:"onTimePickerElementMouseDown",value:function(e,t,n){this.disabled||(this.repeat(e,null,t,n),e.preventDefault())}},{key:"onTimePickerElementMouseUp",value:function(e){this.disabled||(this.clearTimePickerTimer(),this.updateTime())}},{key:"onTimePickerElementMouseOut",value:function(e){this.disabled||(this.clearTimePickerTimer(),this.updateTime())}},{key:"repeat",value:function(e,t,n,r){var i=this,o=t||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout((function(){i.repeat(e,100,n,r)}),o),n){case 0:1===r?this.incrementHour(e):this.decrementHour(e);break;case 1:1===r?this.incrementMinute(e):this.decrementMinute(e);break;case 2:1===r?this.incrementSecond(e):this.decrementSecond(e)}this.updateInputfield()}},{key:"clearTimePickerTimer",value:function(){this.timePickerTimer&&clearTimeout(this.timePickerTimer)}},{key:"decrementHour",value:function(e){var t=this.currentHour-this.stepHour,n=this.pm;"24"==this.hourFormat?t=t<0?24+t:t:"12"==this.hourFormat&&(12===this.currentHour&&(n=!this.pm),t=t<=0?12+t:t),this.validateTime(t,this.currentMinute,this.currentSecond,n)&&(this.currentHour=t,this.pm=n),e.preventDefault()}},{key:"incrementMinute",value:function(e){var t=this.currentMinute+this.stepMinute;t=t>59?t-60:t,this.validateTime(this.currentHour,t,this.currentSecond,this.pm)&&(this.currentMinute=t),e.preventDefault()}},{key:"decrementMinute",value:function(e){var t=this.currentMinute-this.stepMinute;t=t<0?60+t:t,this.validateTime(this.currentHour,t,this.currentSecond,this.pm)&&(this.currentMinute=t),e.preventDefault()}},{key:"incrementSecond",value:function(e){var t=this.currentSecond+this.stepSecond;t=t>59?t-60:t,this.validateTime(this.currentHour,this.currentMinute,t,this.pm)&&(this.currentSecond=t),e.preventDefault()}},{key:"decrementSecond",value:function(e){var t=this.currentSecond-this.stepSecond;t=t<0?60+t:t,this.validateTime(this.currentHour,this.currentMinute,t,this.pm)&&(this.currentSecond=t),e.preventDefault()}},{key:"updateTime",value:function(){var e=this.value;this.isRangeSelection()&&(e=this.value[1]||this.value[0]),this.isMultipleSelection()&&(e=this.value[this.value.length-1]),(e=e?new Date(e.getTime()):new Date).setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),e.setMinutes(this.currentMinute),e.setSeconds(this.currentSecond),this.isRangeSelection()&&(e=this.value[1]?[this.value[0],e]:[e,null]),this.isMultipleSelection()&&(e=[].concat(_toConsumableArray2(this.value.slice(0,-1)),[e])),this.updateModel(e),this.onSelect.emit(e),this.updateInputfield()}},{key:"toggleAMPM",value:function(e){var t=!this.pm;this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,t)&&(this.pm=t,this.updateTime()),e.preventDefault()}},{key:"onUserInput",value:function(e){if(this.isKeydown){this.isKeydown=!1;var t=e.target.value;try{var n=this.parseValueFromString(t);this.isValidSelection(n)&&(this.updateModel(n),this.updateUI())}catch(r){this.updateModel(null)}this.filled=null!=t&&t.length,this.onInput.emit(e)}}},{key:"isValidSelection",value:function(e){var t=this,n=!0;return this.isSingleSelection()?this.isSelectable(e.getDate(),e.getMonth(),e.getFullYear(),!1)||(n=!1):e.every((function(e){return t.isSelectable(e.getDate(),e.getMonth(),e.getFullYear(),!1)}))&&this.isRangeSelection()&&(n=e.length>1&&e[1]>e[0]),n}},{key:"parseValueFromString",value:function(e){if(!e||0===e.trim().length)return null;var t;if(this.isSingleSelection())t=this.parseDateTime(e);else if(this.isMultipleSelection()){t=[];var n,r=_createForOfIteratorHelper2(e.split(this.multipleSeparator));try{for(r.s();!(n=r.n()).done;){var i=n.value;t.push(this.parseDateTime(i.trim()))}}catch(s){r.e(s)}finally{r.f()}}else if(this.isRangeSelection()){var o=e.split(" "+this.rangeSeparator+" ");t=[];for(var a=0;a<o.length;a++)t[a]=this.parseDateTime(o[a].trim())}return t}},{key:"parseDateTime",value:function(e){var t,n=e.split(" ");if(this.timeOnly)t=new Date,this.populateTime(t,n[0],n[1]);else{var r=this.getDateFormat();if(this.showTime){var i="12"==this.hourFormat?n.pop():null,o=n.pop();t=this.parseDate(n.join(" "),r),this.populateTime(t,o,i)}else t=this.parseDate(e,r)}return t}},{key:"populateTime",value:function(e,t,n){if("12"==this.hourFormat&&!n)throw"Invalid Time";this.pm="PM"===n||"pm"===n;var r=this.parseTime(t);e.setHours(r.hour),e.setMinutes(r.minute),e.setSeconds(r.second)}},{key:"updateUI",value:function(){var e=this.value||this.defaultDate||new Date;Array.isArray(e)&&(e=e[0]),this.currentMonth=e.getMonth(),this.currentYear=e.getFullYear(),this.createMonths(this.currentMonth,this.currentYear),(this.showTime||this.timeOnly)&&(this.setCurrentHourPM(e.getHours()),this.currentMinute=e.getMinutes(),this.currentSecond=e.getSeconds())}},{key:"showOverlay",value:function(){this.overlayVisible||(this.updateUI(),this.overlayVisible=!0)}},{key:"hideOverlay",value:function(){this.overlayVisible=!1,this.clearTimePickerTimer(),this.touchUI&&this.disableModality()}},{key:"toggle",value:function(){this.inline||(this.overlayVisible?this.hideOverlay():(this.showOverlay(),this.inputfieldViewChild.nativeElement.focus()))}},{key:"onOverlayAnimationStart",value:function(e){switch(e.toState){case"visible":case"visibleTouchUI":this.inl
1ine||(this.overlay=e.element,this.appendOverlay(),this.autoZIndex&&(this.overlay.style.zIndex=String(this.baseZIndex+ ++i.a.zindex)),this.alignOverlay(),this.onShow.emit(e));break;case"void":this.onOverlayHide(),this.onClose.emit(e)}}},{key:"onOverlayAnimationDone",value:function(e){switch(e.toState){case"visible":case"visibleTouchUI":this.inline||(this.bindDocumentClickListener(),this.bindDocumentResizeListener())}}},{key:"appendOverlay",value:function(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.overlay):i.a.appendChild(this.overlay,this.appendTo))}},{key:"restoreOverlayAppend",value:function(){this.overlay&&this.appendTo&&this.el.nativeElement.appendChild(this.overlay)}},{key:"alignOverlay",value:function(){this.touchUI?this.enableModality(this.overlay):this.appendTo?i.a.absolutePosition(this.overlay,this.inputfieldViewChild.nativeElement):i.a.relativePosition(this.overlay,this.inputfieldViewChild.nativeElement)}},{key:"enableModality",value:function(e){var t=this;this.mask||(this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(e.style.zIndex)-1),i.a.addMultipleClasses(this.mask,"ui-widget-overlay ui-datepicker-mask ui-datepicker-mask-scrollblocker"),this.maskClickListener=this.renderer.listen(this.mask,"click",(function(e){t.disableModality()})),document.body.appendChild(this.mask),i.a.addClass(document.body,"ui-overflow-hidden"))}},{key:"disableModality",value:function(){if(this.mask){document.body.removeChild(this.mask);for(var e,t=document.body.children,n=0;n<t.length;n++)if(i.a.hasClass(t[n],"ui-datepicker-mask-scrollblocker")){e=!0;break}e||i.a.removeClass(document.body,"ui-overflow-hidden"),this.unbindMaskClickListener(),this.mask=null}}},{key:"unbindMaskClickListener",value:function(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}},{key:"writeValue",value:function(e){this.value=e,this.value&&"string"==typeof this.value&&(this.value=this.parseValueFromString(this.value)),this.updateInputfield(),this.updateUI()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"getDateFormat",value:function(){return this.dateFormat||this.locale.dateFormat}},{key:"formatDate",value:function(e,t){if(!e)return"";var n,r=function(e){var r=n+1<t.length&&t.charAt(n+1)===e;return r&&n++,r},i=function(e,t,n){var i=""+t;if(r(e))for(;i.length<n;)i="0"+i;return i},o=function(e,t,n,i){return r(e)?i[t]:n[t]},a="",s=!1;if(e)for(n=0;n<t.length;n++)if(s)"'"!==t.charAt(n)||r("'")?a+=t.charAt(n):s=!1;else switch(t.charAt(n)){case"d":a+=i("d",e.getDate(),2);break;case"D":a+=o("D",e.getDay(),this.locale.dayNamesShort,this.locale.dayNames);break;case"o":a+=i("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":a+=i("m",e.getMonth()+1,2);break;case"M":a+=o("M",e.getMonth(),this.locale.monthNamesShort,this.locale.monthNames);break;case"y":a+=r("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":a+=e.getTime();break;case"!":a+=1e4*e.getTime()+this.ticksTo1970;break;case"'":r("'")?a+="'":s=!0;break;default:a+=t.charAt(n)}return a}},{key:"formatTime",value:function(e){if(!e)return"";var t="",n=e.getHours(),r=e.getMinutes(),i=e.getSeconds();return"12"==this.hourFormat&&n>11&&12!=n&&(n-=12),t+="12"==this.hourFormat&&0===n?12:n<10?"0"+n:n,t+=":",t+=r<10?"0"+r:r,this.showSeconds&&(t+=":",t+=i<10?"0"+i:i),"12"==this.hourFormat&&(t+=e.getHours()>11?" PM":" AM"),t}},{key:"parseTime",value:function(e){var t=e.split(":");if(t.length!==(this.showSeconds?3:2))throw"Invalid time";var n=parseInt(t[0]),r=parseInt(t[1]),i=this.showSeconds?parseInt(t[2]):null;if(isNaN(n)||isNaN(r)||n>23||r>59||"12"==this.hourFormat&&n>12||this.showSeconds&&(isNaN(i)||i>59))throw"Invalid time";return"12"==this.hourFormat&&(12!==n&&this.pm?n+=12:this.pm||12!==n||(n-=12)),{hour:n,minute:r,second:i}}},{key:"parseDate",value:function(e,t){if(null==t||null==e)throw"Invalid arguments";if(""===(e="object"==typeof e?e.toString():e+""))return null;var n,r,i,o,a=0,s="string"!=typeof this.shortYearCutoff?this.shortYearCutoff:(new Date).getFullYear()%100+parseInt(this.shortYearCutoff,10),l=-1,u=-1,c=-1,h=-1,d=!1,f=function(e){var r=n+1<t.length&&t.charAt(n+1)===e;return r&&n++,r},p=function(t){var n=f(t),r="@"===t?14:"!"===t?20:"y"===t&&n?4:"o"===t?3:2,i=new RegExp("^\\d{"+("y"===t?r:1)+","+r+"}"),o=e.substring(a).match(i);if(!o)throw"Missing number at position "+a;return a+=o[0].length,parseInt(o[0],10)},g=function(t,n,r){for(var i=-1,o=f(t)?r:n,s=[],l=0;l<o.length;l++)s.push([l,o[l]]);s.sort((function(e,t){return-(e[1].length-t[1].length)}));for(var u=0;u<s.length;u++){var c=s[u][1];if(e.substr(a,c.length).toLowerCase()===c.toLowerCase()){i=s[u][0],a+=c.length;break}}if(-1!==i)return i+1;throw"Unknown name at position "+a},_=function(){if(e.charAt(a)!==t.charAt(n))throw"Unexpected literal at position "+a;a++};for("month"===this.view&&(c=1),n=0;n<t.length;n++)if(d)"'"!==t.charAt(n)||f("'")?_():d=!1;else switch(t.charAt(n)){case"d":c=p("d");break;case"D":g("D",this.locale.dayNamesShort,this.locale.dayNames);break;case"o":h=p("o");break;case"m":u=p("m");break;case"M":u=g("M",this.locale.monthNamesShort,this.locale.monthNames);break;case"y":l=p("y");break;case"@":l=(o=new Date(p("@"))).getFullYear(),u=o.getMonth()+1,c=o.getDate();break;case"!":l=(o=new Date((p("!")-this.ticksTo1970)/1e4)).getFullYear(),u=o.getMonth()+1,c=o.getDate();break;case"'":f("'")?_():d=!0;break;default:_()}if(a<e.length&&(i=e.substr(a),!/^\s+/.test(i)))throw"Extra/unparsed characters found in date: "+i;if(-1===l?l=(new Date).getFullYear():l<100&&(l+=(new Date).getFullYear()-(new Date).getFullYear()%100+(l<=s?0:-100)),h>-1)for(u=1,c=h;!(c<=(r=this.getDaysCountInMonth(l,u-1)));)u++,c-=r;if((o=this.daylightSavingAdjust(new Date(l,u-1,c))).getFullYear()!==l||o.getMonth()+1!==u||o.getDate()!==c)throw"Invalid date";return o}},{key:"daylightSavingAdjust",value:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null}},{key:"updateFilledState",value:function(){this.filled=this.inputFieldValue&&""!=this.inputFieldValue}},{key:"onTodayButtonClick",value:function(e){var t=new Date,n={day:t.getDate(),month:t.getMonth(),year:t.getFullYear(),otherMonth:t.getMonth()!==this.currentMonth||t.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.onDateSelect(e,n),this.onTodayClick.emit(e)}},{key:"onClearButtonClick",value:function(e){this.updateModel(null),this.updateInputfield(),this.hideOverlay(),this.onClearClick.emit(e)}},{key:"bindDocumentClickListener",value:function(){var e=this;this.documentClickListener||this.zone.runOutsideAngular((function(){e.documentClickListener=e.renderer.listen("document","click",(function(t){e.isOutsideClicked(t)&&e.overlayVisible&&e.zone.run((function(){e.hideOverlay(),e.onClickOutside.emit(t),e.cd.markForCheck()}))}))}))}},{key:"unbindDocumentClickListener",value:function(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}},{key:"bindDocumentResizeListener",value:function(){this.documentResizeListener||this.touchUI||(this.documentResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.documentResizeListener))}},{key:"unbindDocumentResizeListener",value:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}},{key:"isOutsideClicked",value:function(e){return!(this.el.nativeElement.isSameNode(e.target)||this.isNavIconClicked(e)||this.el.nativeElement.contains(e.target)||this.overlay&&this.overlay.contains(e.target))}},{key:"isNavIconClicked",value:function(e){return i.a.hasClass(e.target,"ui-datepicker-prev")||i.a.hasClass(e.target,"ui-datepicker-prev-icon")||i.a.hasClass(e.target,"ui-datepicker-next")||i.a.hasClass(e.target,"ui-datepicker-next-icon")}},{key:"onWindowResize",value:function(){this.overlayVisible&&!i.a.isAndroid()&&this.hideOverlay()}},{key:"onOverlayHide",value:function(){this.unbindDocumentClickListener(),this.unbindMaskClickListener(),this.unbindDocumentResizeListener(),this.overlay=null,this.disableModality()}},{key:"ngOnDestroy",value:function(){this.clearTimePickerTimer(),this.restoreOverlayAppend(),this.onOverlayHide()}}])}(),a=_createClass2((function e(){_classCallCheck2(this,e)}))},"7wID":function(e,t,n){"use strict";var r=n("8Y7J"),i=n("iInd"),o=n("SVse"),a=n("SJ4l"),s=n("uilG"),l=n("aLe/"),u=n("j+ll"),c=n("DQLy"),h=n("Vurf"),d=n("f4AX"),f=n("LqlI");n.d(t,"a",(function(){return y}
1));var p=r["\u0275crt"]({encapsulation:0,styles:[[".sucess-info[_ngcontent-%COMP%]{font-size:14px;line-height:20px;color:var(--secondary);letter-spacing:.16px;max-width:760px;padding-bottom:30px}.sucess-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.sucess-info[_ngcontent-%COMP%] .sucess-img[_ngcontent-%COMP%]{padding:30px 0}.sucess-info[_ngcontent-%COMP%] .sucess-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:130px}.doc-list[_ngcontent-%COMP%]{padding-bottom:30px}@media (min-width:768px){.doc-list[_ngcontent-%COMP%]{padding-bottom:40px}}@media (min-width:992px){.sucess-info[_ngcontent-%COMP%]{font-size:16px;line-height:26px}.sucess-info[_ngcontent-%COMP%] .sucess-img[_ngcontent-%COMP%]{padding:50px 0}.sucess-info[_ngcontent-%COMP%] .sucess-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:182px}.doc-list[_ngcontent-%COMP%]{padding-bottom:50px}}.doc-list-title[_ngcontent-%COMP%]{font-weight:400;font-family:var(--font-medium);letter-spacing:.16px;color:var(--secondary);padding:0 0 15px;font-size:14px;line-height:1}.doc-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:var(--secondary);letter-spacing:.12px;padding:7px 0 7px 15px;font-size:14px;line-height:1;background:url(/assets/images/black_oval.svg) left center no-repeat}.investor-table[_ngcontent-%COMP%]{border:1px solid var(--gray);border-radius:10px;overflow:hidden;padding:0 15px 15px;margin-bottom:30px}@media (min-width:992px){.doc-list-title[_ngcontent-%COMP%]{font-size:16px;line-height:18px}.doc-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block;padding:0 25px 0 20px;font-size:15px;line-height:14px}.investor-table[_ngcontent-%COMP%]{padding:0 30px 25px;border-radius:20px}}.investor-table[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{margin-bottom:0;min-width:600px}.investor-table[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:400;font-family:var(--font-medium);font-size:14px;line-height:15px;letter-spacing:.14px;color:var(--secondary);border:0;border-bottom:1px solid var(--gray-light-300);padding:20px 15px 15px 0;white-space:nowrap}@media (min-width:992px){.investor-table[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:27px 15px 27px 0;white-space:normal}}.investor-table[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:0;font-size:14px;letter-spacing:.14px;color:var(--secondary);vertical-align:middle;padding:15px 15px 5px 0;line-height:20px}.investor-table[_ngcontent-%COMP%] .item-col[_ngcontent-%COMP%]{width:20%}.investor-table[_ngcontent-%COMP%] .classification-col[_ngcontent-%COMP%]{width:27%}.investor-table[_ngcontent-%COMP%] .no-col[_ngcontent-%COMP%]{width:10%}@media (min-width:768px){.investor-table[_ngcontent-%COMP%] .no-col[_ngcontent-%COMP%]{width:15%}}@media (min-width:992px){.investor-table[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{line-height:1;padding:25px 0 5px}.investor-table[_ngcontent-%COMP%] .no-col[_ngcontent-%COMP%]{width:20%}}.investor-table[_ngcontent-%COMP%] .amount-col[_ngcontent-%COMP%]{width:17%}.investor-table[_ngcontent-%COMP%] .totalamount-col[_ngcontent-%COMP%]{width:13%}.investor-table[_ngcontent-%COMP%] .delete-col[_ngcontent-%COMP%]{width:3%}.start-order[_ngcontent-%COMP%]{margin-right:10px}"]],data:{}});function g(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"button",[["class","btn default-dgray-btn"],["type","button"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.openModal()&&r),r}),null,null)),(e()(),r["\u0275ted"](-1,null,["Continue last order"]))],null,null)}function _(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,3,"a",[["class","btn"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r["\u0275nov"](e,1).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),r["\u0275did"](1,671744,null,0,i.u,[i.r,i.a,o.k],{routerLink:[0,"routerLink"]},null),r["\u0275pad"](2,2),(e()(),r["\u0275ted"](-1,null,["Continue"]))],(function(e,t){var n=e(t,2,0,"/order",t.parent.context.$implicit.id);e(t,1,0,n)}),(function(e,t){e(t,0,0,r["\u0275nov"](t,1).target,r["\u0275nov"](t,1).href)}))}function A(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,13,"tr",[],null,
1null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),r["\u0275ted"](2,null,["",""])),(e()(),r["\u0275eld"](3,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),r["\u0275ted"](4,null,[""," "," ",""])),(e()(),r["\u0275eld"](5,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),r["\u0275ted"](6,null,["",""])),(e()(),r["\u0275eld"](7,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),r["\u0275ted"](8,null,["",""])),r["\u0275ppd"](9,1),(e()(),r["\u0275eld"](10,0,null,null,0,"td",[],null,null,null,null,null)),(e()(),r["\u0275eld"](11,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,_)),r["\u0275did"](13,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,13,0,t.context.$implicit.orderStatus<300)}),(function(e,t){var n=t.component;e(t,2,0,t.context.$implicit.formattedNumericId),e(t,4,0,t.context.$implicit.firstName,t.context.$implicit.middleName,t.context.$implicit.lastName),e(t,6,0,null==t.context.$implicit.price?null:t.context.$implicit.price.name);var i=r["\u0275unv"](t,8,0,e(t,9,0,r["\u0275nov"](t.parent.parent,0),n.OrderStatus[t.context.$implicit.orderStatus]));e(t,8,0,i)}))}function v(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,29,null,null,null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,9,"div",[["class","doc-list"]],null,null,null,null,null)),(e()(),r["\u0275eld"](2,0,null,null,1,"strong",[["class","doc-list-title"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["We will also notify you if there is any delay because of"])),(e()(),r["\u0275eld"](4,0,null,null,6,"ul",[],null,null,null,null,null)),(e()(),r["\u0275eld"](5,0,null,null,1,"li",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Missing information"])),(e()(),r["\u0275eld"](7,0,null,null,1,"li",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Incorrect information"])),(e()(),r["\u0275eld"](9,0,null,null,1,"li",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["ACIC System delays"])),(e()(),r["\u0275eld"](11,0,null,null,18,"div",[["class","investor-table"]],null,null,null,null,null)),(e()(),r["\u0275eld"](12,0,null,null,17,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),r["\u0275eld"](13,0,null,null,16,"table",[["class","table"]],null,null,null,null,null)),(e()(),r["\u0275eld"](14,0,null,null,15,"tbody",[],null,null,null,null,null)),(e()(),r["\u0275eld"](15,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),r["\u0275eld"](16,0,null,null,1,"th",[["class","item-col"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Reference"])),(e()(),r["\u0275eld"](18,0,null,null,1,"th",[["class","classification-col"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Name"])),(e()(),r["\u0275eld"](20,0,null,null,1,"th",[["class","no-col"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Type of Check"])),(e()(),r["\u0275eld"](22,0,null,null,1,"th",[["class","amount-col"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Status"])),(e()(),r["\u0275eld"](24,0,null,null,1,"th",[["class","totalamount-col"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Comments"])),(e()(),r["\u0275eld"](26,0,null,null,1,"th",[["class","totalamount-col"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Action"])),(e()(),r["\u0275and"](16777216,null,null,1,null,A)),r["\u0275did"](29,278528,null,0,o.m,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,29,0,t.component.dashboardData.orders)}),null)}function m(e){return r["\u0275vid"](0,[r["\u0275pid"](0,a.a,[]),(e()(),r["\u0275eld"](1,0,null,null,13,"perfect-scrollbar",[],[[2,"ps-show-limits",null],[2,"ps-show-active",null]],null,null,s.b,s.a)),r["\u0275did"](2,507904,null,0,l.b,[r.NgZone,r.ChangeDetectorRef,r.PLATFORM_ID],null,null),(e()(),r["\u0275eld"](3,0,null,0,11,"div",[["class","info-holder"]],null,null,null,null,null)),(e()(),r["\u0275eld"](4,0,null,null,8,"div",[["class","headline"]],null,null,null,null,null)),(e()(),r["\u0275eld"](5,0,null,null,2,"div",[["class","headline-text"]],null,null,null,null,null)),(e()(),r["\u0275eld"](6,0,null,null,1,"h1",[],null,
1null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Your orders"])),(e()(),r["\u0275eld"](8,0,null,null,4,"div",[["class","headline-right"]],null,null,null,null,null)),(e()(),r["\u0275eld"](9,0,null,null,1,"button",[["class","btn start-order"],["type","button"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.startNew()&&r),r}),null,null)),(e()(),r["\u0275ted"](-1,null,["Start new order"])),(e()(),r["\u0275and"](16777216,null,null,1,null,g)),r["\u0275did"](12,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,v)),r["\u0275did"](14,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0),e(t,12,0,n.hasActiveOrder),e(t,14,0,n.dashboardData)}),(function(e,t){e(t,1,0,r["\u0275nov"](t,2).autoPropagation,r["\u0275nov"](t,2).scrollIndicators)}))}var y=r["\u0275ccf"]("pc-dashboard",u.a,(function(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"pc-dashboard",[],null,null,null,m,p)),r["\u0275did"](1,245760,null,0,u.a,[c.o,h.a,d.a,f.b,i.r,i.a],null,null)],(function(e,t){e(t,1,0)}),null)}),{},{},[])},"8LbN":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("9/Zf"),i=Object(r.e)(),o="Sentry Logger ",a=function(){function e(){this._enabled=!1}return e.prototype.disable=function(){this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&Object(r.c)((function(){i.console.log(o+"[Log]: "+e.join(" "))}))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&Object(r.c)((function(){i.console.warn(o+"[Warn]: "+e.join(" "))}))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&Object(r.c)((function(){i.console.error(o+"[Error]: "+e.join(" "))}))},e}();i.__SENTRY__=i.__SENTRY__||{};var s=i.__SENTRY__.logger||(i.__SENTRY__.logger=new a)},"8Y7J":function(e,t,n){"use strict";n.r(t),n.d(t,"\u0275angular_packages_core_core_q",(function(){return $v})),n.d(t,"\u0275angular_packages_core_core_n",(function(){return Xv})),n.d(t,"\u0275angular_packages_core_core_o",(function(){return Jv})),n.d(t,"\u0275angular_packages_core_core_p",(function(){return Zv})),n.d(t,"\u0275angular_packages_core_core_r",(function(){return em})),n.d(t,"\u0275angular_packages_core_core_f",(function(){return lA})),n.d(t,"\u0275angular_packages_core_core_l",(function(){return $h})),n.d(t,"\u0275angular_packages_core_core_m",(function(){return ad})),n.d(t,"\u0275angular_packages_core_core_k",(function(){return Iv})),n.d(t,"\u0275angular_packages_core_core_j",(function(){return Mv})),n.d(t,"\u0275angular_packages_core_core_b",(function(){return te})),n.d(t,"\u0275angular_packages_core_core_a",(function(){return X})),n.d(t,"\u0275angular_packages_core_core_c",(function(){return ul})),n.d(t,"\u0275angular_packages_core_core_d",(function(){return Js})),n.d(t,"\u0275angular_packages_core_core_e",(function(){return rl})),n.d(t,"\u0275angular_packages_core_core_i",(function(){return Cv})),n.d(t,"\u0275angular_packages_core_core_s",(function(){return QA})),n.d(t,"\u0275angular_packages_core_core_u",(function(){return UA})),n.d(t,"\u0275angular_packages_core_core_t",(function(){return LA})),n.d(t,"\u0275angular_packages_core_core_x",(function(){return HA})),n.d(t,"\u0275angular_packages_core_core_v",(function(){return NA})),n.d(t,"\u0275angular_packages_core_core_w",(function(){return jA})),n.d(t,"\u0275angular_packages_core_core_ba",(function(){return _p})),n.d(t,"\u0275angular_packages_core_core_bb",(function(){return fr})),n.d(t,"\u0275angular_packages_core_core_bc",(function(){return wt})),n.d(t,"\u0275angular_packages_core_core_bd",(function(){return It})),n.d(t,"\u0275angular_packages_core_core_be",(function(){return Jt})),n.d(t,"\u0275angular_packages_core_core_bm",(function(){return ir})),n.d(t,"\u0275angular_packages_core_core_bl",(function(){return dt})),n.d(t,"\u0275angular_packages_core_core_g",(function(){return Va})),n.d(t,"\u0275angular_packages_core_core_h",(function(){return Ka})),n.d(t,"\u0275angular_packages_core_core_bg",(function(){return bi})),n.d(t,"\u0275angular_packages_core_core_bk",(function(){return Ae})),n.d(t,"\u0275angular_packages_core_core_bh",(function(){return f})),n.d(t,"\u0275angular_packages_core_core_bi",(function(){return p})),n.d(t,"\u0275angular_packages_core_core_bn",(function(){return C})),n.d(t,"\u0275angular_packages_core_core_y",(function(){return tp}
1)),n.d(t,"\u0275angular_packages_core_core_z",(function(){return Td})),n.d(t,"createPlatform",(function(){return dv})),n.d(t,"assertPlatform",(function(){return pv})),n.d(t,"destroyPlatform",(function(){return gv})),n.d(t,"getPlatform",(function(){return _v})),n.d(t,"PlatformRef",(function(){return Av})),n.d(t,"ApplicationRef",(function(){return mv})),n.d(t,"createPlatformFactory",(function(){return fv})),n.d(t,"NgProbeToken",(function(){return hv})),n.d(t,"enableProdMode",(function(){return Hr})),n.d(t,"isDevMode",(function(){return jr})),n.d(t,"APP_ID",(function(){return sA})),n.d(t,"PACKAGE_ROOT_URL",(function(){return pA})),n.d(t,"PLATFORM_INITIALIZER",(function(){return hA})),n.d(t,"PLATFORM_ID",(function(){return dA})),n.d(t,"APP_BOOTSTRAP_LISTENER",(function(){return fA})),n.d(t,"APP_INITIALIZER",(function(){return oA})),n.d(t,"ApplicationInitStatus",(function(){return aA})),n.d(t,"DebugElement",(function(){return Yv})),n.d(t,"DebugEventListener",(function(){return Dv})),n.d(t,"DebugNode",(function(){return qv})),n.d(t,"asNativeElements",(function(){return Rv})),n.d(t,"getDebugNode",(function(){return Wv})),n.d(t,"Testability",(function(){return rv})),n.d(t,"TestabilityRegistry",(function(){return iv})),n.d(t,"setTestabilityGetter",(function(){return ov})),n.d(t,"TRANSLATIONS",(function(){return AA})),n.d(t,"TRANSLATIONS_FORMAT",(function(){return vA})),n.d(t,"LOCALE_ID",(function(){return _A})),n.d(t,"MissingTranslationStrategy",(function(){return mA})),n.d(t,"ApplicationModule",(function(){return tm})),n.d(t,"wtfCreateScope",(function(){return KA})),n.d(t,"wtfLeave",(function(){return WA})),n.d(t,"wtfStartTimeRange",(function(){return zA})),n.d(t,"wtfEndTimeRange",(function(){return qA})),n.d(t,"Type",(function(){return Xa})),n.d(t,"EventEmitter",(function(){return Wg})),n.d(t,"ErrorHandler",(function(){return Or})),n.d(t,"Sanitizer",(function(){return di})),n.d(t,"SecurityContext",(function(){return hi})),n.d(t,"Attribute",(function(){return y})),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return cl})),n.d(t,"ContentChild",(function(){return fl})),n.d(t,"ContentChildren",(function(){return dl})),n.d(t,"Query",(function(){return hl})),n.d(t,"ViewChild",(function(){return gl})),n.d(t,"ViewChildren",(function(){return pl})),n.d(t,"Component",(function(){return K_})),n.d(t,"Directive",(function(){return V_})),n.d(t,"HostBinding",(function(){return Y_})),n.d(t,"HostListener",(function(){return G_})),n.d(t,"Input",(function(){return z_})),n.d(t,"Output",(function(){return q_})),n.d(t,"Pipe",(function(){return W_})),n.d(t,"NgModule",(function(){return nA})),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",(function(){return xr})),n.d(t,"NO_ERRORS_SCHEMA",(function(){return Pr})),n.d(t,"ViewEncapsulation",(function(){return _e})),n.d(t,"Version",(function(){return Jh})),n.d(t,"VERSION",(function(){return Zh})),n.d(t,"InjectFlags",(function(){return b})),n.d(t,"\u0275\u0275defineInjectable",(function(){return k})),n.d(t,"defineInjectable",(function(){return E})),n.d(t,"\u0275\u0275defineInjector",(function(){return S})),n.d(t,"forwardRef",(function(){return M})),n.d(t,"resolveForwardRef",(function(){return I})),n.d(t,"Injectable",(function(){return vs})),n.d(t,"Injector",(function(){return Fs})),n.d(t,"\u0275\u0275inject",(function(){return J})),n.d(t,"inject",(function(){return Z})),n.d(t,"INJECTOR",(function(){return V})),n.d(t,"ReflectiveInjector",(function(){return ll})),n.d(t,"ResolvedReflectiveFactory",(function(){return el})),n.d(t,"ReflectiveKey",(function(){return Ys})),n.d(t,"InjectionToken",(function(){return Q})),n.d(t,"Inject",(function(){return g})),n.d(t,"Optional",(function(){return _})),n.d(t,"Self",(function(){return A})),n.d(t,"SkipSelf",(function(){return v})),n.d(t,"Host",(function(){return m})),n.d(t,"NgZone",(function(){return XA})),n.d(t,"\u0275NoopNgZone",(function(){return nv})),n.d(t,"RenderComponentType",(function(){return Qh})),n.d(t,"Renderer",(function(){return Kh})),n.d(t,"Renderer2",(function(){return Yh})),n.d(t,"RendererFactory2",(function(){return zh})),n.d(t,"RendererStyleFlags2",(function(){return qh})),n.d(t,"RootRenderer",(function(){return Wh})),n.d(t,"COMPILER_OPTIONS",(function(){return RA})),n.d(t,"Compiler",(function(){return IA})),n.d(t,"CompilerFactory",(function(){return FA})),n.d(t,"ModuleWithComponentFactories",(function(){return CA})),n.d(t,"ComponentFactory",(function(){return Bh})),n.d(t,"\u0275ComponentFactory",(function(){return Bh})),n.d(t,"ComponentRef",(function(){return Th})),n.d(t,"ComponentFactoryResolver",(function(){return Rh}
1)),n.d(t,"ElementRef",(function(){return Nh})),n.d(t,"NgModuleFactory",(function(){return ae})),n.d(t,"NgModuleRef",(function(){return oe})),n.d(t,"NgModuleFactoryLoader",(function(){return bv})),n.d(t,"getModuleFactory",(function(){return kv})),n.d(t,"QueryList",(function(){return qg})),n.d(t,"SystemJsNgModuleLoader",(function(){return xv})),n.d(t,"SystemJsNgModuleLoaderConfig",(function(){return Sv})),n.d(t,"TemplateRef",(function(){return pd})),n.d(t,"ViewContainerRef",(function(){return Ad})),n.d(t,"EmbeddedViewRef",(function(){return Bv})),n.d(t,"ViewRef",(function(){return Tv})),n.d(t,"ChangeDetectionStrategy",(function(){return fe})),n.d(t,"ChangeDetectorRef",(function(){return qa})),n.d(t,"DefaultIterableDiffer",(function(){return td})),n.d(t,"IterableDiffers",(function(){return ud})),n.d(t,"KeyValueDiffers",(function(){return cd})),n.d(t,"SimpleChange",(function(){return fh})),n.d(t,"WrappedValue",(function(){return Ol})),n.d(t,"platformCore",(function(){return Gv})),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",(function(){return cv})),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",(function(){return uA})),n.d(t,"\u0275defaultIterableDiffers",(function(){return dd})),n.d(t,"\u0275defaultKeyValueDiffers",(function(){return fd})),n.d(t,"\u0275devModeEqual",(function(){return Sl})),n.d(t,"\u0275isListLikeIterable",(function(){return xl})),n.d(t,"\u0275ChangeDetectorStatus",(function(){return pe})),n.d(t,"\u0275isDefaultChangeDetectionStrategy",(function(){return ge})),n.d(t,"\u0275Console",(function(){return gA})),n.d(t,"\u0275setCurrentInjector",(function(){return Y})),n.d(t,"\u0275getInjectableDef",(function(){return O})),n.d(t,"\u0275APP_ROOT",(function(){return bs})),n.d(t,"\u0275DEFAULT_LOCALE_ID",(function(){return Ep})),n.d(t,"\u0275ivyEnabled",(function(){return bA})),n.d(t,"\u0275CodegenComponentFactoryResolver",(function(){return Fh})),n.d(t,"\u0275clearResolutionOfComponentResourcesQueue",(function(){return yl})),n.d(t,"\u0275resolveComponentResources",(function(){return _l})),n.d(t,"\u0275ReflectionCapabilities",(function(){return ns})),n.d(t,"\u0275RenderDebugInfo",(function(){return Vh})),n.d(t,"\u0275_sanitizeHtml",(function(){return ui})),n.d(t,"\u0275_sanitizeStyle",(function(){return gi})),n.d(t,"\u0275_sanitizeUrl",(function(){return Wr})),n.d(t,"\u0275global",(function(){return N})),n.d(t,"\u0275looseIdentical",(function(){return El})),n.d(t,"\u0275stringify",(function(){return B})),n.d(t,"\u0275makeDecorator",(function(){return h})),n.d(t,"\u0275isObservable",(function(){return zu})),n.d(t,"\u0275isPromise",(function(){return Wu})),n.d(t,"\u0275clearOverrides",(function(){return Ty})),n.d(t,"\u0275initServicesIfNeeded",(function(){return Wm})),n.d(t,"\u0275overrideComponentView",(function(){return Py})),n.d(t,"\u0275overrideProvider",(function(){return xy})),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return lp})),n.d(t,"\u0275getLocalePluralCase",(function(){return wp})),n.d(t,"\u0275findLocaleData",(function(){return kp})),n.d(t,"\u0275LOCALE_DATA",(function(){return mp})),n.d(t,"\u0275LocaleDataIndex",(function(){return yp})),n.d(t,"\u0275\u0275attribute",(function(){return Ul})),n.d(t,"\u0275\u0275attributeInterpolate1",(function(){return Yl})),n.d(t,"\u0275\u0275attributeInterpolate2",(function(){return Gl})),n.d(t,"\u0275\u0275attributeInterpolate3",(function(){return Xl})),n.d(t,"\u0275\u0275attributeInterpolate4",(function(){return Jl})),n.d(t,"\u0275\u0275attributeInterpolate5",(function(){return Zl})),n.d(t,"\u0275\u0275attributeInterpolate6",(function(){return $l})),n.d(t,"\u0275\u0275attributeInterpolate7",(function(){return eu})),n.d(t,"\u0275\u0275attributeInterpolate8",(function(){return tu})),n.d(t,"\u0275\u0275attributeInterpolateV",(function(){return nu})),n.d(t,"\u0275\u0275defineBase",(function(){return Re})),n.d(t,"\u0275\u0275defineComponent",(function(){return xe})),n.d(t,"\u0275\u0275defineDirective",(function(){return Fe})),n.d(t,"\u0275\u0275definePipe",(function(){return Le})),n.d(t,"\u0275\u0275defineNgModule",(function(){return De})),n.d(t,"\u0275detectChanges",(function(){return ru})),n.d(t,"\u0275renderComponent",(function(){return sh})),n.d(t,"\u0275Render3ComponentFactory",(function(){return Ap})),n.d(t,"\u0275Render3ComponentRef",(function(){return vp})),n.d(t,"\u0275\u0275directiveInject",(function(){return fu})),n.d(t,"\u0275\u0275injectAttribute",(function(){return pu})),n.d(t,"\u0275\u0275injectPipeChangeDetectorRef",(function(){return __})),n.d(t,"\u0275\u0275getFactoryOf",(function(){return Cr}
1)),n.d(t,"\u0275\u0275getInheritedFactory",(function(){return wr})),n.d(t,"\u0275\u0275setComponentScope",(function(){return Pe})),n.d(t,"\u0275\u0275setNgModuleScope",(function(){return Me})),n.d(t,"\u0275\u0275templateRefExtractor",(function(){return g_})),n.d(t,"\u0275\u0275ProvidersFeature",(function(){return Ph})),n.d(t,"\u0275\u0275InheritDefinitionFeature",(function(){return vh})),n.d(t,"\u0275\u0275NgOnChangesFeature",(function(){return ph})),n.d(t,"\u0275LifecycleHooksFeature",(function(){return hh})),n.d(t,"\u0275Render3NgModuleRef",(function(){return kg})),n.d(t,"\u0275markDirty",(function(){return iu})),n.d(t,"\u0275NgModuleFactory",(function(){return Eg})),n.d(t,"\u0275NO_CHANGE",(function(){return io})),n.d(t,"\u0275\u0275container",(function(){return ou})),n.d(t,"\u0275\u0275nextContext",(function(){return Zu})),n.d(t,"\u0275\u0275elementStart",(function(){return Iu})),n.d(t,"\u0275\u0275namespaceHTML",(function(){return sn})),n.d(t,"\u0275\u0275namespaceMathML",(function(){return an})),n.d(t,"\u0275\u0275namespaceSVG",(function(){return on})),n.d(t,"\u0275\u0275element",(function(){return Fu})),n.d(t,"\u0275\u0275listener",(function(){return qu})),n.d(t,"\u0275\u0275text",(function(){return pc})),n.d(t,"\u0275\u0275textInterpolate",(function(){return _c})),n.d(t,"\u0275\u0275textInterpolate1",(function(){return Ac})),n.d(t,"\u0275\u0275textInterpolate2",(function(){return vc})),n.d(t,"\u0275\u0275textInterpolate3",(function(){return mc})),n.d(t,"\u0275\u0275textInterpolate4",(function(){return yc})),n.d(t,"\u0275\u0275textInterpolate5",(function(){return bc})),n.d(t,"\u0275\u0275textInterpolate6",(function(){return Cc})),n.d(t,"\u0275\u0275textInterpolate7",(function(){return wc})),n.d(t,"\u0275\u0275textInterpolate8",(function(){return kc})),n.d(t,"\u0275\u0275textInterpolateV",(function(){return Ec})),n.d(t,"\u0275\u0275embeddedViewStart",(function(){return Qu})),n.d(t,"\u0275\u0275projection",(function(){return rc})),n.d(t,"\u0275\u0275pipeBind1",(function(){return Ug})),n.d(t,"\u0275\u0275pipeBind2",(function(){return Ng})),n.d(t,"\u0275\u0275pipeBind3",(function(){return jg})),n.d(t,"\u0275\u0275pipeBind4",(function(){return Hg})),n.d(t,"\u0275\u0275pipeBindV",(function(){return Qg})),n.d(t,"\u0275\u0275pureFunction0",(function(){return Og})),n.d(t,"\u0275\u0275pureFunction1",(function(){return xg})),n.d(t,"\u0275\u0275pureFunction2",(function(){return Pg})),n.d(t,"\u0275\u0275pureFunction3",(function(){return Tg})),n.d(t,"\u0275\u0275pureFunction4",(function(){return Bg})),n.d(t,"\u0275\u0275pureFunction5",(function(){return Dg})),n.d(t,"\u0275\u0275pureFunction6",(function(){return Mg})),n.d(t,"\u0275\u0275pureFunction7",(function(){return Ig})),n.d(t,"\u0275\u0275pureFunction8",(function(){return Rg})),n.d(t,"\u0275\u0275pureFunctionV",(function(){return Fg})),n.d(t,"\u0275\u0275getCurrentView",(function(){return Ku})),n.d(t,"\u0275getDirectives",(function(){return Jc})),n.d(t,"\u0275getHostElement",(function(){return $c})),n.d(t,"\u0275\u0275restoreView",(function(){return Mt})),n.d(t,"\u0275\u0275containerRefreshStart",(function(){return su})),n.d(t,"\u0275\u0275containerRefreshEnd",(function(){return lu})),n.d(t,"\u0275\u0275queryRefresh",(function(){return n_})),n.d(t,"\u0275\u0275viewQuery",(function(){return i_})),n.d(t,"\u0275\u0275staticViewQuery",(function(){return r_})),n.d(t,"\u0275\u0275staticContentQuery",(function(){return l_})),n.d(t,"\u0275\u0275loadViewQuery",(function(){return a_})),n.d(t,"\u0275\u0275contentQuery",(function(){return s_})),n.d(t,"\u0275\u0275loadContentQuery",(function(){return c_})),n.d(t,"\u0275\u0275elementEnd",(function(){return Ru})),n.d(t,"\u0275\u0275hostProperty",(function(){return Kc})),n.d(t,"\u0275\u0275property",(function(){return Fl})),n.d(t,"\u0275\u0275propertyInterpolate",(function(){return ic})),n.d(t,"\u0275\u0275propertyInterpolate1",(function(){return oc})),n.d(t,"\u0275\u0275propertyInterpolate2",(function(){return ac})),n.d(t,"\u0275\u0275propertyInterpolate3",(function(){return sc})),n.d(t,"\u0275\u0275propertyInterpolate4",(function(){return lc})),n.d(t,"\u0275\u0275propertyInterpolate5",(function(){return uc}
1)),n.d(t,"\u0275\u0275propertyInterpolate6",(function(){return cc})),n.d(t,"\u0275\u0275propertyInterpolate7",(function(){return hc})),n.d(t,"\u0275\u0275propertyInterpolate8",(function(){return dc})),n.d(t,"\u0275\u0275propertyInterpolateV",(function(){return fc})),n.d(t,"\u0275\u0275updateSyntheticHostBinding",(function(){return Wc})),n.d(t,"\u0275\u0275componentHostSyntheticListener",(function(){return Yu})),n.d(t,"\u0275\u0275projectionDef",(function(){return ec})),n.d(t,"\u0275\u0275reference",(function(){return hu})),n.d(t,"\u0275\u0275enableBindings",(function(){return bt})),n.d(t,"\u0275\u0275disableBindings",(function(){return Ct})),n.d(t,"\u0275\u0275allocHostVars",(function(){return Cl})),n.d(t,"\u0275\u0275elementContainerStart",(function(){return Nu})),n.d(t,"\u0275\u0275elementContainerEnd",(function(){return ju})),n.d(t,"\u0275\u0275elementContainer",(function(){return Hu})),n.d(t,"\u0275\u0275styling",(function(){return gu})),n.d(t,"\u0275\u0275styleMap",(function(){return bu})),n.d(t,"\u0275\u0275styleSanitizer",(function(){return _u})),n.d(t,"\u0275\u0275classMap",(function(){return Cu})),n.d(t,"\u0275\u0275classMapInterpolate1",(function(){return Sc})),n.d(t,"\u0275\u0275classMapInterpolate2",(function(){return Oc})),n.d(t,"\u0275\u0275classMapInterpolate3",(function(){return xc})),n.d(t,"\u0275\u0275classMapInterpolate4",(function(){return Pc})),n.d(t,"\u0275\u0275classMapInterpolate5",(function(){return Tc})),n.d(t,"\u0275\u0275classMapInterpolate6",(function(){return Bc})),n.d(t,"\u0275\u0275classMapInterpolate7",(function(){return Dc})),n.d(t,"\u0275\u0275classMapInterpolate8",(function(){return Mc})),n.d(t,"\u0275\u0275classMapInterpolateV",(function(){return Ic})),n.d(t,"\u0275\u0275styleProp",(function(){return Au})),n.d(t,"\u0275\u0275stylePropInterpolate1",(function(){return Rc})),n.d(t,"\u0275\u0275stylePropInterpolate2",(function(){return Fc})),n.d(t,"\u0275\u0275stylePropInterpolate3",(function(){return Lc})),n.d(t,"\u0275\u0275stylePropInterpolate4",(function(){return Uc})),n.d(t,"\u0275\u0275stylePropInterpolate5",(function(){return Nc})),n.d(t,"\u0275\u0275stylePropInterpolate6",(function(){return jc})),n.d(t,"\u0275\u0275stylePropInterpolate7",(function(){return Hc})),n.d(t,"\u0275\u0275stylePropInterpolate8",(function(){return Qc})),n.d(t,"\u0275\u0275stylePropInterpolateV",(function(){return Vc})),n.d(t,"\u0275\u0275stylingApply",(function(){return Su})),n.d(t,"\u0275\u0275classProp",(function(){return mu})),n.d(t,"\u0275\u0275elementHostAttrs",(function(){return Lu})),n.d(t,"\u0275\u0275select",(function(){return Ao})),n.d(t,"\u0275\u0275textBinding",(function(){return gc})),n.d(t,"\u0275\u0275template",(function(){return au})),n.d(t,"\u0275\u0275embeddedViewEnd",(function(){return Vu})),n.d(t,"\u0275store",(function(){return cu})),n.d(t,"\u0275\u0275load",(function(){return du})),n.d(t,"\u0275\u0275pipe",(function(){return Lg})),n.d(t,"\u0275whenRendered",(function(){return dh})),n.d(t,"\u0275\u0275i18n",(function(){return tg})),n.d(t,"\u0275\u0275i18nAttributes",(function(){return ng})),n.d(t,"\u0275\u0275i18nExp",(function(){return og})),n.d(t,"\u0275\u0275i18nStart",(function(){return Yp})),n.d(t,"\u0275\u0275i18nEnd",(function(){return Jp})),n.d(t,"\u0275\u0275i18nApply",(function(){return ag})),n.d(t,"\u0275\u0275i18nPostprocess",(function(){return Xp})),n.d(t,"\u0275i18nConfigureLocalize",(function(){return fg})),n.d(t,"\u0275\u0275i18nLocalize",(function(){return gg})),n.d(t,"\u0275setLocaleId",(function(){return Ag})),n.d(t,"\u0275setClassMetadata",(function(){return Sg})),n.d(t,"\u0275\u0275resolveWindow",(function(){return gn})),n.d(t,"\u0275\u0275resolveDocument",(function(){return _n})),n.d(t,"\u0275\u0275resolveBody",(function(){return An})),n.d(t,"\u0275compileComponent",(function(){return B_})),n.d(t,"\u0275compileDirective",(function(){return D_})),n.d(t,"\u0275compileNgModule",(function(){return w_})),n.d(t,"\u0275compileNgModuleDefs",(function(){return k_})),n.d(t,"\u0275patchComponentDefWithScope",(function(){return O_})),n.d(t,"\u0275resetCompiledComponents",(function(){return E_}
1)),n.d(t,"\u0275flushModuleScopingQueueAsMuchAsPossible",(function(){return b_})),n.d(t,"\u0275transitiveScopesFor",(function(){return x_})),n.d(t,"\u0275compilePipe",(function(){return Q_})),n.d(t,"\u0275\u0275sanitizeHtml",(function(){return _i})),n.d(t,"\u0275\u0275sanitizeStyle",(function(){return Ai})),n.d(t,"\u0275\u0275defaultStyleSanitizer",(function(){return wi})),n.d(t,"\u0275\u0275sanitizeScript",(function(){return yi})),n.d(t,"\u0275\u0275sanitizeUrl",(function(){return vi})),n.d(t,"\u0275\u0275sanitizeResourceUrl",(function(){return mi})),n.d(t,"\u0275\u0275sanitizeUrlOrResourceUrl",(function(){return Ci})),n.d(t,"\u0275bypassSanitizationTrustHtml",(function(){return Dr})),n.d(t,"\u0275bypassSanitizationTrustStyle",(function(){return Mr})),n.d(t,"\u0275bypassSanitizationTrustScript",(function(){return Ir})),n.d(t,"\u0275bypassSanitizationTrustUrl",(function(){return Rr})),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",(function(){return Fr})),n.d(t,"\u0275getLContext",(function(){return Oi})),n.d(t,"\u0275NG_ELEMENT_ID",(function(){return Se})),n.d(t,"\u0275NG_COMPONENT_DEF",(function(){return ye})),n.d(t,"\u0275NG_DIRECTIVE_DEF",(function(){return be})),n.d(t,"\u0275NG_PIPE_DEF",(function(){return Ce})),n.d(t,"\u0275NG_MODULE_DEF",(function(){return we})),n.d(t,"\u0275NG_BASE_DEF",(function(){return Ee})),n.d(t,"\u0275NG_INJECTABLE_DEF",(function(){return P})),n.d(t,"\u0275NG_INJECTOR_DEF",(function(){return T})),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",(function(){return lv})),n.d(t,"\u0275isBoundToModule__POST_R3__",(function(){return uv})),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",(function(){return X_})),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",(function(){return J_})),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",(function(){return Z_})),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",(function(){return rA})),n.d(t,"\u0275getDebugNode__POST_R3__",(function(){return Kv})),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",(function(){return ms})),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",(function(){return yA})),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",(function(){return Ya})),n.d(t,"\u0275Compiler_compileModuleSync__POST_R3__",(function(){return SA})),n.d(t,"\u0275Compiler_compileModuleAsync__POST_R3__",(function(){return xA})),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",(function(){return TA})),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",(function(){return DA})),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",(function(){return jh})),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",(function(){return gd})),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",(function(){return vd})),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",(function(){return Gh})),n.d(t,"\u0275getModuleFactory__POST_R3__",(function(){return wv})),n.d(t,"\u0275registerNgModuleType",(function(){return bg})),n.d(t,"\u0275publishGlobalUtil",(function(){return ah})),n.d(t,"\u0275publishDefaultGlobalUtils",(function(){return oh})),n.d(t,"\u0275createInjector",(function(){return Os})),n.d(t,"\u0275INJECTOR_IMPL__POST_R3__",(function(){return Is})),n.d(t,"\u0275registerModuleFactory",(function(){return mg})),n.d(t,"\u0275EMPTY_ARRAY",(function(){return ff})),n.d(t,"\u0275EMPTY_MAP",(function(){return pf})),n.d(t,"\u0275and",(function(){return nm})),n.d(t,"\u0275ccf",(function(){return Of})),n.d(t,"\u0275cmf",(function(){return By})),n.d(t,"\u0275crt",(function(){return Fd})),n.d(t,"\u0275did",(function(){return Zf})),n.d(t,"\u0275eld",(function(){return rm})),n.d(t,"\u0275getComponentViewDefinitionFactory",(function(){return xf})),n.d(t,"\u0275inlineInterpolate",(function(){return hf})),n.d(t,"\u0275interpolate",(function(){return cf})),n.d(t,"\u0275mod",(function(){return yf})),n.d(t,"\u0275mpd",(function(){return mf})),n.d(t,"\u0275ncd",(function(){return fm})),n.d(t,"\u0275nov",(function(){return Nf})),n.d(t,"\u0275pid",(function(){return $f})),n.d(t,"\u0275prd",(function(){return ep})),n.d(t,"\u0275pad",(function(){return _m})),n.d(t,"\u0275pod",(function(){return Am})),n.d(t,"\u0275ppd",(function(){return gm})),n.d(t,"\u0275qud",(function(){return lm})),n.d(t,"\u0275ted",(function(){return mm})),n.d(t,"\u0275unv",(function(){return Rd})),n.d(t,"\u0275vid",(function(){return Cm}));var r=n("XNiG"),i=n("quSY"),o=n("HDdC"),a=n("VRyK"),s=n("w1tV"),l="__annotations__",u="__parameters__",c="__prop__metadata__";function h(e,t,n,r,i){var o=d(t);function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof a)return o.call.apply(o,[this].concat(t)),this;var s=_construct(a,t);return function(e){return i&&i.apply(void 0,[e].concat(t)),(e.hasOwnProperty(l)?e[l]:Object.defineProperty(e,l,{value:[]})[l]).push(s),r&&r(e),e}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}function d(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}function f(e,t,n){var r=d(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(u)?e[u]:Object.defineProperty(e,u,{value:[]})[u];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}function p(e,t,n,r){var i=d(t);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof o)return i.apply(this,t),this;var a=_construct(o,t);return function(e,n){var i=e.constructor,o=i.hasOwnProperty(c)?i[c]:Object.defineProperty(i,c,{value:{}})[c];o[n]=o.hasOwnProperty(n)&&o[n]||[],o[n].unshift(a),r&&r.apply(void 0,[e,n].concat(t))}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var g=f("Inject",(function(e){return{token:e}})),_=f("Optional"),A=f("Self"),v=f("SkipSelf"),m=f("Host"),y=f("Attribute",(function(e){return{attributeName:e}})),b=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 C(e){for(var t in e)if(e[t]===C)return t;throw Error("Could not find renamed property on target object.")}function w(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}var E=k;function S(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function O(e){var t=e[P];return t&&t.token===e?t:null}function x(e){return e&&e.hasOwnProperty(T)?e[T]:null}var P=C({ngInjectableDef:C}
1),T=C({ngInjectorDef:C});function B(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(B).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)}var D=C({__forward_ref__:C});function M(e){return e.__forward_ref__=M,e.toString=function(){return B(this())},e}function I(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(D)&&t.__forward_ref__===M?t():e}var R="undefined"!=typeof globalThis&&globalThis,F="undefined"!=typeof window&&window,L="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,U="undefined"!=typeof global&&global,N=R||U||F||L;function j(){var e=N.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}var H,Q=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ngInjectableDef=k({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}),[{key:"toString",value:function(){return"InjectionToken "+this._desc}}])}(),V=new Q("INJECTOR",-1),K=new Object,W=/\n/gm,z=C({provide:String,useValue:C}),q=void 0;function Y(e){var t=q;return q=e,t}function G(e){var t=H;return H=e,t}function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.Default;if(void 0===q)throw new Error("inject() must be called from an injection context");return null===q?$(e,void 0,t):q.get(e,t&b.Optional?null:void 0,t)}function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.Default;return(H||X)(e,t)}var Z=J;function $(e,t,n){var r=O(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&b.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(B(e),"]"))}function ee(e){for(var t=[],n=0;n<e.length;n++){var r=I(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=b.Default,a=0;a<r.length;a++){var s=r[a];s instanceof _||"Optional"===s.ngMetadataName||s===_?o|=b.Optional:s instanceof v||"SkipSelf"===s.ngMetadataName||s===v?o|=b.SkipSelf:s instanceof A||"Self"===s.ngMetadataName||s===A?o|=b.Self:i=s instanceof g||s===g?s.token:s}t.push(J(i,o))}else t.push(J(r))}return t}var te=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K;if(t===K){var n=new Error("NullInjectorError: No provider for ".concat(B(e),"!"));throw n.name="NullInjectorError",n}return t}}])}();function ne(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=re("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}function re(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=B(t);if(t instanceof Array)i=t.map(B).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):B(s)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(W,"\n "))}var ie={"\u0275\u0275defineInjectable":k,"\u0275\u0275defineInjector":S,"\u0275\u0275inject":J,"\u0275\u0275getFactoryOf":function(e){var t=e,n=O(t)||x(t);return n&&void 0!==n.factory?n.factory:null}},oe=_createClass2((function e(){_classCallCheck2(this,e)})),ae=_createClass2((function e(){_classCallCheck2(this,e)}));function se(e,t){for(var n=0;n<e.length;n++)t.push(e[n])}function le(e,t){void 0===t&&(t=e);for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),le(r,t)):t!==e&&t.push(r)}return t}function ue(e,t){e.forEach((function(e){return Array.isArray(e)?ue(e,t):t(e)}))}function ce(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function he(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function de(e){throw new Error("ASSERTION ERROR: "+e)}var fe=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),pe=function(){var e={CheckOnce:0,Checked:1,CheckAlways:2,Detached:3,Errored:4,Destroyed:5};return e[e.CheckOnce]="CheckOnce",e[e.Checked]="Checked",e[e.CheckAlways]="CheckAlways",e[e.Detached]="Detached",e[e.Errored]="Errored",e[e.Destroyed]="Destroyed",e}();function ge(e){return null==e||e===fe.Default}var _e=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}();function Ae(e){return""+{toString:e}}var ve={},me=[],ye=C({ngComponentDef:C}),be=C({ngDirectiveDef:C}),Ce=C({ngPipeDef:C}),we=C({ngModuleDef:C}
1),ke=C({ngLocaleIdDef:C}),Ee=C({ngBaseDef:C}),Se=C({__NG_ELEMENT_ID__:C}),Oe=0;function xe(e){var t=e.type,n=t.prototype,r={},i={type:t,providersResolver:null,consts:e.consts,vars:e.vars,factory:e.factory,template:e.template||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||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===fe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||_e.Emulated,id:"c",styles:e.styles||me,_:null,setInput:null,schemas:e.schemas||null,tView:null};return i._=Ae((function(){var n=e.directives,o=e.features,a=e.pipes;i.id+=Oe++,i.inputs=Ie(e.inputs,r),i.outputs=Ie(e.outputs),o&&o.forEach((function(e){return e(i)})),i.directiveDefs=n?function(){return("function"==typeof n?n():n).map(Te)}:null,i.pipeDefs=a?function(){return("function"==typeof a?a():a).map(Be)}:null,t.hasOwnProperty(P)||(t[P]=k({token:t,factory:e.factory}))})),i}function Pe(e,t,n){var r=e.ngComponentDef;r.directiveDefs=function(){return t.map(Te)},r.pipeDefs=function(){return n.map(Be)}}function Te(e){return Ue(e)||Ne(e)}function Be(e){return je(e)}function De(e){return{type:e.type,bootstrap:e.bootstrap||me,declarations:e.declarations||me,imports:e.imports||me,exports:e.exports||me,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}}function Me(e,t){return Ae((function(){var n=Qe(e,!0);n.declarations=t.declarations||me,n.imports=t.imports||me,n.exports=t.exports||me}))}function Ie(e,t){if(null==e)return ve;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}function Re(e){var t={};return{inputs:Ie(e.inputs,t),declaredInputs:t,outputs:Ie(e.outputs),viewQuery:e.viewQuery||null,contentQueries:e.contentQueries||null,hostBindings:e.hostBindings||null}}var Fe=xe;function Le(e){return{name:e.name,factory:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ue(e){return e[ye]||null}function Ne(e){return e[be]||null}function je(e){return e[Ce]||null}function He(e){return e[Ee]||null}function Qe(e,t){var n=e[we]||null;if(!n&&!0===t)throw new Error("Type ".concat(B(e)," does not have 'ngModuleDef' property."));return n}function Ve(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ke(e){return Array.isArray(e)&&!0===e[1]}function We(e){return 0!=(4&e.flags)}function ze(e){return 1==(1&e.flags)}function qe(e){return null!==e.template}function Ye(e){return 0!=(512&e[2])}var Ge=_createClass2((function e(t,n,r){_classCallCheck2(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}));function Xe(e,t,n,r,i,o){var a=t.onChanges,s=t.onInit,l=t.doCheck;i>=0&&(!n.preOrderHooks||i===n.preOrderHooks.length)&&(a||s||l)&&(n.preOrderHooks||(n.preOrderHooks=[])).push(r),o>=0&&(!n.preOrderCheckHooks||o===n.preOrderCheckHooks.length)&&(a||l)&&(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)),s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,s),l&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l))}function Je(e,t){if(e.firstTemplatePass)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 Ze(e,t,n,r){n||$e(e,t.preOrderHooks,t.preOrderCheckHooks,n,0,void 0!==r?r:null)}function $e(e,t,n,r,i,o){if(!r){var a=(3&e[2])===i?t:n;a&&function(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)&&(et(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}(e,a,i,o),null==o&&(3&e[2])===i&&3!==i&&(e[2]&=1023,e[2]+=1)}}function et(e,t,n,r){var i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[2]>>10<e[18]>>16&&(3&e[2])===t&&(e[2]+=1024,o.call(a)):o.call(a)}var tt,nt=null,rt=new Map,it=null;function ot(e,t){return it&&e===it||(it=e,t&&(nt=rt.get(e)||null),nt=nt||{classesBitMask:0,classesIndex:1,stylesBitMask:0,stylesIndex:1}),nt}function at(){nt=null,it=null}function st(e){for(;Array.isArray(e);)e=e[0];return e}function lt(e,t){return st(t[e+19])}function ut(e,t){return st(t[e.index])}function ct(e,t){var n=e.index;return-1==n?null:st(t[n])}function ht(e,t){return t[1].data[e+19]}function dt(e,t){return e[t+19]}function ft(e,t){var n=t[e];return Ve(n)?n:n[0]}function pt(e){return e.__ngContext__}function gt(e){var t=pt(e);return t?Array.isArray(t)?t:t.lView:null}function _t(e){e[18]=0}var At,vt=null;function mt(e){vt=e}function yt(){return At}function bt(){At=!0}function Ct(){At=!1}function wt(){return St}var kt,Et,St,Ot=1,xt=0,Pt=0;function Tt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;$t!==e&&(tn(null==e?-1:e),Ot=null==e?0:1,xt=0,Pt=0)}function Bt(){Ot+=1+Pt,xt=0,Pt=0}function Dt(e){xt+=e,Pt=Math.max(Pt,xt)}function Mt(e){jt=e}function It(){return kt}function Rt(e,t){kt=e,Et=t}function Ft(e,t){kt=e,St=t}function Lt(){return Et}function Ut(){Et=!1}function Nt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:St;return 4==(4&e[2])}var jt=null,Ht=!1;function Qt(){return Ht}function Vt(e){Ht=e}var Kt=-1;function Wt(){return Kt}function zt(e){Kt=e}var qt=0;function Yt(){return qt}function Gt(e){qt=e}function Xt(e,t){var n=St;return e&&(Kt=e[1].bindingStartIndex),kt=t,Et=!0,St=jt=e,n}function Jt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return(jt=function(e,t){for(;e>0;)t=t[16],e--;return t}(e,jt))[9]}function Zt(e,t){var n=St[1];if(Nt(St))St[2]&=-5;else try{_t(St),t&&$e(St,n.viewHooks,n.viewCheckHooks,Ht,2,void 0)}finally{St[2]&=-73,St[7]=n.bindingStartIndex}Xt(e,null)}var $t=-1;function en(){return $t}function tn(e){$t=e,at()}var nn,rn=null;function on(){rn="http://www.w3.org/2000/svg"}function an(){rn="http://www.w3.org/1998/MathML/"}function sn(){ln()}function ln(){rn=null}function un(e){nn=e}function cn(){return nn}function hn(e,t){return!(e!=e&&t!=t)&&e!==t}function dn(e){return"string"==typeof e?e:null==e?"":""+e}function fn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():dn(e)}var pn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(N);function gn(e){return{name:"window",target:e.ownerDocument.defaultView}}function _n(e){return{name:"document",target:e.ownerDocument}}function An(e){return{name:"body",target:e.ownerDocument.body}}function vn(e){return e.indexOf("\ufffd")>=0}function mn(e){return e instanceof Function?e():e}function yn(e,t){0===t?e[2]>0&&function(e){Cn(e,2|bn(e))}(e):e[2]=t}function bn(e){return e[1]}function Cn(e,t){e[1]=t}function wn(e,t){return e[t+2]}function kn(e,t){return 1&e[t+0]}function En(e,t){return(1&kn(e,t))>0}function Sn(e,t){return e[t+0]>>1}function On(e,t,n){var r=kn(e,t);e[t+0]=r|n<<1}function xn(e,t){return e[t+1]}function Pn(e,t,n){return e[t+3+n]}function Tn(e,t){return!(!e||t!==e[2])}function Bn(e){return(1&bn(e))>0}function Dn(e){return(2&bn(e))>0}function Mn(e){return 6+e[4]}function In(e,t){var n=Array.isArray(e)?e[0]:e,r=Array.isArray(t)?t[0]:t;return n instanceof String&&(n=n.toString()),r instanceof String&&(r=r.toString()),hn(n,r)}function Rn(e){return null!=e&&""!==e}function Fn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:" ";return e+(t.length&&e.length?n:"")+t}function Ln(e){return e.replace(/[a-z][A-Z]/g,(function(e){return e.charAt(0)+"-"+e.charAt(1)})).toLowerCase()}function Un(e){return Nn(e)?e[0]:e}function Nn(e){return Array.isArray(e)&&e.length>=6&&"string"!=typeof e[1]}function jn(e){var t=Un(e);return t&&t[0]||""}function Hn(e){return 0!=(8&e.flags)}function Qn(e){return 0!=(16&e.flags)}function Vn(e,t){return e[t+0]}function Kn(e,t,n){e[t+1]=n}function Wn(e,t){return e[t+1]}var zn=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();function qn(e){return!!e.listen}var Yn={createRenderer:function(e,t){return document}};
1function Gn(e,t){for(var n=wt()[12],r=qn(n),i=0;i<t.length;){var o=t[i];if("number"==typeof o){if(0!==o)break;i++;var a=t[i++],s=t[i++],l=t[i++];r?n.setAttribute(e,s,l,a):e.setAttributeNS(a,s,l)}else{var u=o,c=t[++i];Jn(u)?r&&n.setProperty(e,u,c):r?n.setAttribute(e,u,c):e.setAttribute(u,c),i++}}return i}function Xn(e){return 3===e||4===e||6===e}function Jn(e){return"@"===e[0]}function Zn(e){return-1!==e}function $n(e){return 32767&e}function er(e){return e>>16}function tr(e,t){for(var n=er(e),r=t;n>0;)r=r[16],n--;return r}function nr(e){var t=e[3];return Ke(t)?t[3]:t}function rr(e){for(var t=e[6];null!==t&&2===t.type;)t=(e=e[16])[6];return e}function ir(e){return function(e){for(var t=Ve(e)?e:gt(e);t&&!(512&t[2]);)t=nr(t);return t}(e)[9]}var or=!0;function ar(e){var t=or;return or=e,t}var sr=0;function lr(e,t){var n=cr(e,t);if(-1!==n)return n;var r=t[1];r.firstTemplatePass&&(e.injectorIndex=t.length,ur(r.data,e),ur(t,null),ur(r.blueprint,null));var i=hr(e,t),o=$n(i),a=tr(i,t),s=e.injectorIndex;if(Zn(i))for(var l=a[1].data,u=0;u<8;u++)t[s+u]=a[o+u]|l[o+u];return t[s+8]=i,s}function ur(e,t){e.push(0,0,0,0,0,0,0,0,t)}function cr(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function hr(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[16])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function dr(e,t,n){!function(e,t,n){var r="string"!=typeof n?n[Se]:n.charCodeAt(0)||0;null==r&&(r=n[Se]=sr++);var i=255&r,o=1<<i,a=64&i,s=32&i,l=t.data;128&i?a?s?l[e+7]|=o:l[e+6]|=o:s?l[e+5]|=o:l[e+4]|=o:a?s?l[e+3]|=o:l[e+2]|=o:s?l[e+1]|=o:l[e]|=o}(e,t,n)}function fr(e,t){if("class"===t)return jn(e.classes);if("style"===t)return jn(e.styles);var n=e.attrs;if(n)for(var r=n.length,i=0;i<r;){var o=n[i];if(Xn(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}function pr(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:b.Default,i=arguments.length>4?arguments[4]:void 0;if(e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[Se];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){var a=It(),s=wt();Ft(e,t);try{var l=o();if(null!=l||r&b.Optional)return l;throw new Error("No provider for ".concat(fn(n),"!"))}finally{Ft(a,s)}}else if("number"==typeof o){if(-1===o)return new br(e,t);var u=null,c=cr(e,t),h=-1,d=r&b.Host?rr(t)[6]:null;for((-1===c||r&b.SkipSelf)&&(h=-1===c?hr(e,t):t[c+8],yr(r,!1)?(u=t[1],c=$n(h),t=tr(h,t)):c=-1);-1!==c;){h=t[c+8];var f=t[1];if(mr(o,c,f.data)){var p=_r(c,t,n,u,r,d);if(p!==gr)return p}yr(r,t[1].data[c+8]===d)&&mr(o,c,t)?(u=f,c=$n(h),t=tr(h,t)):c=-1}}}if(r&b.Optional&&void 0===i&&(i=null),0==(r&(b.Self|b.Host))){var g=t[10],_=G
1(void 0);try{return g?g.get(n,i,r&b.Optional):$(n,i,r&b.Optional)}finally{G(_)}}if(r&b.Optional)return i;throw new Error("NodeInjector: NOT_FOUND [".concat(fn(n),"]"))}var gr={};function _r(e,t,n,r,i,o){var a=t[1],s=a.data[e+8],l=Ar(s,a,n,null==r?ze(s)&&or:r!=a&&3===s.type,i&b.Host&&o===s);return null!==l?vr(a.data,t,l,s):gr}function Ar(e,t,n,r,i){for(var o=e.providerIndexes,a=t.data,s=65535&o,l=e.directiveStart,u=o>>16,c=i?s+u:e.directiveEnd,h=r?s:s+u;h<c;h++){var d=a[h];if(h<l&&n===d||h>=l&&d.type===n)return h}if(i){var f=a[l];if(f&&qe(f)&&f.type===n)return l}return null}function vr(e,t,n,r){var i,o=t[n];if(null!==(i=o)&&"object"==typeof i&&Object.getPrototypeOf(i)==Ge.prototype){var a=o;if(a.resolving)throw new Error("Circular dep for "+fn(e[n]));var s,l=ar(a.canSeeViewProviders);a.resolving=!0,a.injectImpl&&(s=G(a.injectImpl));var u=It(),c=wt();Ft(r,t);try{o=t[n]=a.factory(void 0,e,t,r)}finally{a.injectImpl&&G(s),ar(l),a.resolving=!1,Ft(u,c)}}return o}function mr(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 yr(e,t){return!(e&b.Self||e&b.Host&&t)}var br=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._tNode=t,this._lView=n}),[{key:"get",value:function(e,t){return pr(this._tNode,this._lView,e,void 0,t)}}])}();function Cr(e){var t=e,n=Ue(t)||Ne(t)||je(t)||O(t)||x(t);return n&&void 0!==n.factory?n.factory:null}function wr(e){var t=Cr(Object.getPrototypeOf(e.prototype).constructor);return null!==t?t:function(e){return new e}}function kr(e){return e.ngDebugContext}function Er(e){return e.ngOriginalError}function Sr(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 Or=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._console=console}),[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Sr}(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?kr(e)?kr(e):this._findContext(Er(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=Er(e);t&&Er(t);)t=Er(t);return t}}])}(),xr={name:"custom-elements"},Pr={name:"no-errors-schema"},Tr="__SANITIZER_TRUSTED_BRAND__";function Br(e,t){return e instanceof String&&e[Tr]===t}function Dr(e){return Lr(e,"Html")}function Mr(e){return Lr(e,"Style")}function Ir(e){return Lr(e,"Script")}function Rr(e){return Lr(e,"Url")}function Fr(e){return Lr(e,"ResourceUrl")}function Lr(e,t){var n=new String(e);return n[Tr]=t,n}var Ur=!0,Nr=!1;function jr(){return Nr=!0,Ur}function Hr(){if(Nr)throw new Error("Cannot enable prod mode after platform setup.");Ur=!1}var Qr=function(){return _createClass2((function e(t){if(_classCallCheck2(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n),this.inertBodyElement=this.inertDocument.createElement("body"),n.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}),[{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");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}},{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}}])}(),Vr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Kr=/^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 Wr(e){return(e=String(e)).match(Vr)||e.match(Kr)?e:(jr()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see http://g.co/ng/security#xss)")),"unsafe:"+e)}function zr(e){return(e=String(e)).split(",").map((function(e){return Wr(e.trim())})).join(", ")}function qr(e){var t,n={},r=_createForOfIteratorHelper2(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 Yr(){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 Gr,Xr=qr("area,br,col,hr,img,wbr"),Jr=qr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Zr=qr("rp,rt"),$r=Yr(Zr,Jr),ei=Yr(Xr,Yr(Jr,qr("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")),Yr(Zr,qr("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")),$r),ti=qr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ni=qr("srcset"),ri=Yr(ti,ni,qr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,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"),qr("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")),ii=qr("script,style,template"),oi=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.sanitizedSomething=!1,this.buf=[]}),[{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(!ei.hasOwnProperty(t))return this.sanitizedSomething=!0,!ii.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,r=0;r<n.length;r++){var i=n.item(r),o=i.name,a=o.toLowerCase();if(ri.hasOwnProperty(a)){var s=i.value;ti[a]&&(s=Wr(s)),ni[a]&&(s=zr(s)),this.buf.push(" ",o,'="',li(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();ei.hasOwnProperty(t)&&!Xr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(li(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}}])}(),ai=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,si=/([^\#-~ |!])/g;function li(e){return e.replace(/&/g,"&").replace(ai,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(si,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}function ui(e,t){var n=null;try{Gr=Gr||new Qr(e);var r=t?String(t):"";n=Gr.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=Gr.getInertBodyElement(r)}while(r!==o);var a=new oi,s=a.sanitizeChildren(ci(n)||n);return jr()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=ci(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function ci(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var hi=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}(),di=_createClass2((function e(){_classCallCheck2(this,e)})),fi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),pi=/^url\(([^)]+)\)$/;function gi(e){if(!(e=String(e).trim()))return"";var t=e.match(pi);return t&&Wr(t[1])===t[1]||e.match(fi)&&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:(jr()&&console.warn("WARNING: sanitizing unsafe style value ".concat(e," (see http://g.co/ng/security#xss).")),"unsafe")}function _i(e){var t=ki();return t?t.sanitize(hi.HTML,e)||"":Br(e,"Html")?e.toString():ui(document,dn(e))}function Ai(e){var t=ki();return t?t.sanitize(hi.STYLE,e)||"":Br(e,"Style")?e.toString():gi(dn(e))}function vi(e){var t=ki();return t?t.sanitize(hi.URL,e)||"":Br(e,"Url")?e.toString():Wr(dn(e))}function mi(e){var t=ki();if(t)return t.sanitize(hi.RESOURCE_URL,e)||"";if(Br(e,"ResourceUrl"))return e.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function yi(e){var t=ki();if(t)return t.sanitize(hi.SCRIPT,e)||"";if(Br(e,"Script"))return e.toString();throw new Error("unsafe value used in a script context")}function bi(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?mi:vi}function Ci(e,t,n){return bi(t,n)(e)}var wi=function(e,t,n){var r=!0;return 1&(n=n||3)&&(r="background-image"===e||"background"===e||"border-image"===e||"filter"===e||"list-style"===e||"list-style-image"===e||"clip-path"===e),2&n?r?Ai(t):t:r};function ki(){var e=wt();return e&&e[13]}var Ei=/([A-Z])/g;function Si(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Oi(e){var t,n=pt(e);
1if(n){if(Array.isArray(n)){var r,i=n,o=void 0,a=void 0;if((t=e)&&t.constructor&&t.constructor.ngComponentDef){if(-1==(r=Mi(i,e)))throw new Error("The provided component was not found in the application");o=e}else if(function(e){return e&&e.constructor&&e.constructor.ngDirectiveDef}(e)){if(-1==(r=function(e,t){for(var n=e[1].firstChild;n;){for(var r=n.directiveEnd,i=n.directiveStart;i<r;i++)if(e[i]===t)return n.index;n=Di(n)}return-1}(i,e)))throw new Error("The provided directive was not found in the application");a=Ii(r,i,!1)}else if(-1==(r=Bi(i,e)))return null;var s=st(i[r]),l=pt(s),u=l&&!Array.isArray(l)?l:xi(i,r,s);if(o&&void 0===u.component&&(u.component=o,Ti(u.component,u)),a&&void 0===u.directives){u.directives=a;for(var c=0;c<a.length;c++)Ti(a[c],u)}Ti(u.native,u),n=u}}else for(var h=e,d=h;d=d.parentNode;){var f=pt(d);if(f){var p;if(!(p=Array.isArray(f)?f:f.lView))return null;var g=Bi(p,h);if(g>=0){var _=st(p[g]),A=xi(p,g,_);Ti(_,A),n=A;break}}}return n||null}function xi(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Pi(e){var t,n=pt(e);if(Array.isArray(n)){var r=Mi(n,e),i=xi(n,r,(t=ft(r,n))[0]);i.component=e,Ti(e,i),Ti(i.native,i)}else t=ft(n.nodeIndex,n.lView);return t}function Ti(e,t){e.__ngContext__=t}function Bi(e,t){for(var n=e[1].firstChild;n;){if(ct(n,e)===t)return n.index;n=Di(n)}return-1}function Di(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Mi(e,t){var n=e[1].components;if(n)for(var r=0;r<n.length;r++){var i=n[r];if(ft(i,e)[9]===t)return i}else if(ft(19,e)[9]===t)return 19;return-1}function Ii(e,t,n){var r=t[1].data[e],i=r.directiveStart;return 0==i?me:(!n&&1&r.flags&&i++,t.slice(i,r.directiveEnd))}function Ri(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function Fi(){throw new Error("Cannot mix multi providers and regular providers")}function Li(e,t){var n=e.length,r=e.indexOf(t),i=r+t.length;return!(-1===r||r>0&&" "!==e[r-1]||i<n&&" "!==e[i])}function Ui(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function Ni(e,t,n){for(var r=4,i=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(Xn(e[t]))return t;return e.length}(i),a=!1,s=0;s<t.length;s++){var l=t[s];if("number"!=typeof l){if(!a)if(4&r){if(r=2|1&r,""!==l&&!Ui(e,l,n)||""===l&&1===t.length){if(ji(r))return!1;a=!0}}else{var u=8&r?l:t[++s];if(8&r&&e.classes){if(!Li(jn(e.classes),u)){if(ji(r))return!1;a=!0}continue}var c=Hi(8&r?"class":l,i,0==e.type&&"ng-template"!==e.tagName,n);if(-1===c){if(ji(r))return!1;a=!0;continue}if(""!==u){var h;h=c>o?"":i[c+1];var d=8&r?h:null;if(d&&!Li(d,u)||2&r&&u!==h){if(ji(r))return!1;a=!0}}}}else{if(!a&&!ji(r)&&!ji(l))return!1;if(a&&ji(l))continue;a=!1,r=l|1&r}}return ji(r)||a}function ji(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){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;){if(e[n]===t)return n;n++}return-1}(t,e)}function Qi(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if(Ni(e,t[r],n))return!0;return!1}function Vi(e,t){e:for(var n=0;n<t.length;n++){var r=t[n];if(e.length===r.length){for(var i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}var Ki=[];function Wi(e,t,n,r,i,o,a,s){var l=!r,u=ot(n,Dn(e)),c=l?0:u.classesIndex++;return!(!qi(e,t,c,r,i,o,a,s,!1)&&!s||(u.classesBitMask|=1<<c,0))}function zi(e,t,n,r,i,o,a,s,l){var u=!r,c=ot(n,Dn(e)),h=u?0:c.stylesIndex++;return!(!qi(e,t,h,r,i,o,s,l,!!u||!!a&&a(r,null,1))&&!l||(c.stylesBitMask|=1<<h,0))}function qi(e,t,n,r,i,o,a,s,l){Bn(e)||(a?function(e,t,n,r,i){Ki.unshift(e,t,n,r,i)}(e,n,r,i,l):(Ki.length&&Yi(),Gi(e,n,r,i,l)));var u=s||In(t[i],o);return u&&(t[i]=o),u}function Yi(){for(var e=0;e<Ki.length;)Gi(Ki[e++],Ki[e++],Ki[e++],Ki[e++],Ki[e++]);Ki.length=0}function Gi(e,t,n,r,i){var o=!1;if(n){for(var a=!1,s=Mn(e);s<e.length;){var l=xn(e,s),u=wn(e,s);if(a=n<=u){n<u&&Xi(e,s,n,i),Ji(e,!1,s,r,t);break}s+=3+l}a||(Xi(e,e.length,n,i),Ji(e,!1,s,r,t),o=!0)}else Ji(e,!0,3,r,t),o=!0;return o}function Xi(e,t,n,r){e.splice(t,0,r?1:0,1,n,null),On(e,t,1)}function Ji(e,t,n,r,i){var o=n+3,a=o+xn(e,n);if(t||a--,"number"==typeof r){for(var s=o;s<=a;s++)if(e[s]===r)return;e.splice(a,0,r),e[n+1]++,On(e,n,Sn(e,n)|1<<i)}else null!==r&&null==e[a]&&(e[a]=r)}function Zi(e,t,n,r,i,o,a,s){return i&&r&&(function(e){if(!Bn(e)){var t=Un(e);t&&function(e,t){for(var n=1;n<t.length;n+=2){var r=Wn(t,n);r&&Gi(e,-1,Vn(t,n),r,!1)}}(e,t),function(e){Cn(e,1|bn(e))}(e)}}(r),function(e,t){return e&&t>0}(r,o))?($i(r,e,t,n,o,a,s),!0):i}function $i(e,t,n,r,i,o,a){for(var s,l=!0===(s=i)?-1:!1===s?0:s,u=eo,c=(l&Sn(e,3))>0?1:0,h=Mn(e);h<e.length;){var d=xn(e,h);if(l&Sn(e,h)){for(var f=!1,p=wn(e,h),g=d-1,_=Pn(e,h,g),A=0;A<g;A++){var v=Pn(e,h,A),m=r[v];if(Rn(m)){o(t,n,p,a&&En(e,h)?a(p,m,2):m,v),f=!0;break}}if(u){var y=u(e,t,n,r,o,a,c|(f?4:2),p,_);f=f||y}f||o(t,n,p,_)}h+=3+d}u&&u(e,t,n,r,o,a,c)}var eo=null,to=function(e,t,n,r){var i=t.style;r?(r=r.toString(),e&&qn(e)?e.setStyle(t,n,r,zn.DashCase):i&&i.setProperty(n,r)):e&&qn(e)?e.removeStyle(t,n,zn.DashCase):i&&i.removeProperty(n)},no=function(e,t,n,r){if(""!==n){var i=t.classList;r?e&&qn(e)?e.addClass(t,n):i&&i.add(n):e&&qn(e)?e.removeClass(t,n):i&&i.remove(n)}};function ro(e,t,n,r){var i=Un(n);if(i)for(var o=1;o<i.length;o+=2){var a=Vn(i,o),s=Wn(i,o);r?no(e,t,a,s):to(e,t,a,s)}}var io={},oo={marker:"element"},ao={marker:"comment"},so=function(e,t,n,r,i,o,a,s,l){var u=!1;if(xn(e,3)){var c=!0,h=!s;h&&-2&a&&(c=!1,u=!0),c&&(u=function e(t,n,r,i,o,a,s,l,u,c){var h,d=!1;if(u<xn(t,3)){for(var f=Pn(t,3,u),p=i[f],g=((h=u)>=ho.length&&ho.push(1),ho[h]);g<p.length;){var _=Vn(p,g),A=l&&_>l,v=!A&&_===l,m=Wn(p,g),y=Rn(m),b=e(t,n,r,i,o,a,A?s:uo(s,y,v),A?l:_,u+1,c);if(A){d||(d=b);break}if(!b&&co(s,v)){var C=v&&!y,w=C?c:m,k=C?f:null;o(n,r,_,a?a(_,w,3):w,k),b=!0}d=b&&v,g+=2}if(ho[u]=g,1===p.length||!l)return e(t,n,r,i,o,a,s,l,u+1,c)}return d}(e,t,n,r,i,o,a,s||null,0,l||null)),h&&function(){for(var e=0;e<ho.length;e++)ho[e]=1}()}return u};function lo(){eo=so}function uo(e,t,n){var r=e;return t||4&e||!(n||1&e)?(r|=4,r&=-3):(r|=2,r&=-5),r}function co(e,t){var n=(1&e)>0;return n?4&e&&t&&(n=!1):2&e&&(n=t),n}var ho=[];function fo(e,t,n,r){for(var i=1;i<e.length;i+=2){var o=Vn(e,i);if(t<=o){var a=!1;if(o===t){var s=e[i];!r&&Rn(s)||(a=!0,Kn(e,i,n))}else a=!0,e.splice(i,0,t,n);return a}}return e.push(t,n),!0}function po(e,t){for(var n="",r=1;r<e.length;r+=2){var i=Vn(e,r),o=Wn(e,r),a=Fn(i,t?"":o,":");
1n=Fn(n,a,t?" ":"; ")}return n}function go(e){var t={};if(e)for(var n=1;n<e.length;n+=2){var r=Vn(e,n),i=Wn(e,n);t[r]=i}return t}var _o=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.context=t,this._data=n,this._isClassBased=r,this._sanitizer=null}),[{key:"overrideSanitizer",value:function(e){this._sanitizer=e}},{key:"summary",get:function(){var e={};return this._mapValues((function(t,n,r){e[t]={prop:t,value:n,bindingIndex:r}})),e}},{key:"values",get:function(){var e={};return this._mapValues((function(t,n){e[t]=n})),e}},{key:"_mapValues",value:function(e){xn(this.context,3)>0&&lo();var t=this._isClassBased?null:this._sanitizer||cn();$i(this.context,null,{},this._data,!0,(function(t,n,r,i,o){e(r,i,o||null)}),t)}}])}();function Ao(e){vo(wt(),e)}function vo(e,t){Ze(e,e[1],Qt(),t),tn(t)}var mo=Promise.resolve(null);function yo(e){var t=e[1],n=Nt(e);if(t.firstTemplatePass=!1,e[7]=t.bindingStartIndex,!n){var r=Qt();Ze(e,t,r,void 0),function(e){for(var t=e[14];null!==t;t=t[4])if(-1===t[2]&&Ke(t))for(var n=9;n<t.length;n++){var r=t[n];So(r,r[1],r[9])}}(e),bo(t,e),_t(e),$e(e,t.contentHooks,t.contentCheckHooks,r,1,void 0),function(e,t){var n=en();try{if(e.expandoInstructions){var r=t[7]=e.expandoStartIndex;zt(r);for(var i=-1,o=-1,a=0;a<e.expandoInstructions.length;a++){var s=e.expandoInstructions[a];"number"==typeof s?(s<=0?(Tt(o=-s),i=r+=9+e.expandoInstructions[++a]):r+=s,zt(r)):(null!==s&&(t[7]=r,s(2,st(t[i]),o),Bt()),i++)}}}finally{Tt(n)}}(t,e)}n&&t.staticContentQueries&&bo(t,e),n&&!t.staticViewQueries||ia(2,t,e[9]),function(e,t){if(null!=t)for(var n=0;n<t.length;n++)Jo(e,t[n])}(e,t.components)}function bo(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];Gt(i),a.contentQueries(2,t[o],o)}}}function Co(e,t){var n=t||wt()[12],r=rn;return qn(n)?n.createElement(e,r):null===r?n.createElement(e):n.createElementNS(r,e)}function wo(e,t,n,r,i,o,a,s,l,u){var c=t.blueprint.slice();return c[0]=i,c[2]=140|r,_t(c),c[3]=c[16]=e,c[9]=n,c[11]=a||e&&e[11],c[12]=s||e&&e[12],c[13]=l||e&&e[13]||null,c[10]=u||e&&e[10]||null,c[6]=o,c}function ko(e,t,n,r,i,o){var a=n+19,s=e.data[a]||function(e,t,n,r,i,o,a){var s=It(),l=Lt(),u=l?s:s&&s.parent,c=e.data[n]=Ro(0,u&&u!==t?u:null,r,n,i,o);return 0!==a&&e.firstChild||(e.firstChild=c),s&&(!l||null!=s.child||null===c.parent&&2!==s.type?l||(s.next=c):s.child=c),c}(e,t,a,r,i,o,n);return Rt(s,!0),s}function Eo(e,t,n,r){var i=e.node;return null==i&&(e.node=i=Ro(0,t,2,n,null,null)),r[6]=i}function So(e,t,n){var r,i=Lt(),o=It();if(512&e[2])ea(ir(e));else{var a=!1;try{Rt(null,!0),r=Xt(e,e[6]),_t(e),xo(e,t.template,Po(e),n),t.firstTemplatePass=!1,yo(e),a=!0}finally{Zt(r,a),Rt(o,i)}}}function Oo(e,t,n){var r=e[11],i=Xt(e,e[6]),o=!Qt(),a=Nt(e),s=!1;try{o&&!a&&r.begin&&r.begin(),a&&(n&&xo(e,n,1,t),yo(e),e[2]&=-5),_t(e),n&&xo(e,n,2,t),yo(e),s=!0}finally{o&&!a&&r.end&&r.end(),Zt(i,s)}}function xo(e,t,n,r){ln();var i=en();try{Tt(null),2&n&&vo(e,0),t(n,r)}finally{tn(i)}}function Po(e){return Nt(e)?1:2}function To(e,t,n){if(We(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 Bo(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ut;yt()&&(function(e,t,n){var r=n.directiveStart,i=n.directiveEnd;!e.firstTemplatePass&&r<i&&lr(n,t);for(var o=r;o<i;o++){var a=e.data[o];qe(a)&&Yo(t,n,a),Qo(t,vr(e.data,t,o,n),a,o)}}(e,t,n),function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=e.expandoInstructions,a=e.firstTemplatePass,s=n.index-19,l=en();try{Tt(s);for(var u=r;u<i;u++){var c=e.data[u],h=t[u];c.hostBindings?(jo(c,o,h,n,a),Bt()):a&&o.push(null)}}finally{Tt(l)}}(e,t,n),function(e,t,n){var r=t.localNames;if(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}}(t,n,r),Tt(null))}function Do(e){return e.tView||(e.tView=Mo(-1,e.template,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas))}function Mo(e,t,n,r,i,o,a,s){var l=19+n,u=l+r,c=function(e,t){var n=new Array(t).fill(null,0,e).fill(io,e);return n[7]=e,n}(l,u);return c[1]={id:e,blueprint:c,template:t,queries:null,viewQuery:a,node:null,data:c.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:u,expandoInstructions:null,firstTemplatePass:!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 i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:s}}function Io(e,t){var n=e.createRenderer(null,null);return"string"==typeof t?qn(n)?n.selectRootElement(t):n.querySelector(t):t}function Ro(e,t,n,r,i,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,propertyMetadataStartIndex:-1,propertyMetadataEndIndex:-1,flags:0,providerIndexes:0,tagName:i,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,classes:null}}function Fo(e,t){var n=wt()[1],r=null,i=e.directiveStart,o=e.directiveEnd;if(o>i)for(var a=0===t,s=n.data,l=i;l<o;l++){var u=s[l],c=a?u.inputs:u.outputs;for(var h in c)if(c.hasOwnProperty(h)){r=r||{};var d=c[h];r.hasOwnProperty(h)?r[h].push(l,h,d):r[h]=[l,h,d]}}return r}var Lo={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"};function Uo(e,t,n,r,i,o){var a,s,l=wt(),u=lt(e,l),c=ht(e,l);if(!i&&(a=sa(c))&&(s=a[t]))da(l,s,n),ze(c)&&function(e,t){var n=ft(t,e);16&n[2]||(n[2]|=64)}(l,e+19);else if(3===c.type){!function(e,t,n,r,i){var o=t[7]-1,a=r[o];"\ufffd"==a[0]&&(r[o]=n+a,i||(-1==e.propertyMetadataStartIndex&&(e.propertyMetadataStartIndex=o),e.propertyMetadataEndIndex=o+1))}(c,l,t=Lo[t]||t,l[1].data,i);var h=o?o(c,l):l[12];n=null!=r?r(n,c.tagName||"",t):n,qn(h)?h.setProperty(u,t,n):Jn(t)||(u.setProperty?u.setProperty(t,n):u[t]=n)}}function No(e,t,n,r){if(yt()){var i=function(e,t,n){var r=e.directiveRegistry,i=null;if(r)for(var o=0;o<r.length;o++){var a=r[o];Qi(n,a.selectors,!1)&&(i||(i=[]),dr(lr(n,t),e,a.type),qe(a)?(1&n.flags&&Ri(n),n.flags=1,i.unshift(a)):i.push(a))}return i}
1(e,t,n),o=r?{"":-1}:null;if(i){zo(n,e.data.length,i.length);for(var a=0;a<i.length;a++){var s=i[a];s.providersResolver&&s.providersResolver(s)}Ho(e,n,i.length);for(var l=e.preOrderHooks&&e.preOrderHooks.length||0,u=e.preOrderCheckHooks&&e.preOrderCheckHooks.length||0,c=n.index-19,h=0;h<i.length;h++){var d=i[h],f=e.data.length;qo(e,t,d,d.factory),Wo(e.data.length-1,d,o),Xe(f,d,e,c,l,u)}}o&&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,o)}}function jo(e,t,n,r,i){var o=t.length;mt(e),e.hostBindings(1,n,r.index-19),mt(null),o===t.length&&i&&t.push(e.hostBindings)}function Ho(e,t,n){var r=-(t.index-19),i=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}function Qo(e,t,n,r){var i=It();Vo(e,i,t),i&&i.attrs&&function(e,t,n,r){var i=r.initialInputs;(void 0===i||e>=i.length)&&(i=function(e,t,n){for(var r=n.initialInputs||(n.initialInputs=[]),i=r.length;i<=e;i++)r.push(null);for(var o=n.attrs,a=0;a<o.length;){var s=o[a];if(0!==s)if(5!==s){if("number"==typeof s)break;var l=t[s],u=o[a+1];void 0!==l&&(r[e]||(r[e]=[])).push(s,l,u),a+=2}else a+=2;else a+=4}return r}(e,n.inputs,r));var o=i[e];if(o)for(var a=n.setInput,s=0;s<o.length;){var l=o[s++],u=o[s++],c=o[s++];a?n.setInput(t,c,l,u):t[u]=c}}(r,t,n,i),e[1].firstTemplatePass&&n.contentQueries&&(i.flags|=4),qe(n)&&(ft(i.index,e)[9]=t)}function Vo(e,t,n){var r=ut(t,e);Ti(n,e),r&&Ti(r,e)}function Ko(e){var t=wt()[1];(t.components||(t.components=[])).push(e.index)}function Wo(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;t.template&&(n[""]=e)}}function zo(e,t,n){e.flags=1&e.flags,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function qo(e,t,n,r){e.data.push(n);var i=new Ge(r,qe(n),null);e.blueprint.push(i),t.push(i)}function Yo(e,t,n){var r=ut(t,e),i=Do(n),o=e[11],a=Zo(e,wo(e,i,null,n.onPush?64:16,e[t.index],t,o,o.createRenderer(r,n)));a[6]=t,e[t.index]=a,e[1].firstTemplatePass&&Ko(t)}function Go(e,t,n,r,i,o){var a=lt(e,r),s=r[12];if(null==n)qn(s)?s.removeAttribute(a,t,o):a.removeAttribute(t);else{var l=ht(e,r),u=null==i?dn(n):i(n,l.tagName||"",t);qn(s)?s.setAttribute(a,t,u,o):o?a.setAttributeNS(o,t,u):a.setAttribute(t,u)}}function Xo(e,t,n,r,i){return new Array(e,!0,i?-1:0,t,null,null,r,n,null)}function Jo(e,t){var n=ft(t,e);(128==(128&n[2])||Nt(e))&&80&n[2]&&(function(e){for(var t=e[1],n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(n),ra(n,n[9]))}function Zo(e,t){return e[14]?e[15][4]=t:e[14]=t,e[15]=t,t}function $o(e){for(;e;){e[2]|=64;var t=nr(e);if(Ye(e)&&!t)return e;e=t}return null}function ea(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];Oo(gt(n),n)}}function ta(e,t){var n=e[11];n.begin&&n.begin();try{Nt(e)&&ra(e,t),ra(e,t)}catch(r){throw ha(e,r),r}finally{n.end&&n.end()}}function na(e){ea(e[9])}function ra(e,t){var n=e[1],r=Xt(e,e[6]),i=n.template,o=Nt(e),a=!1;try{_t(e),o&&ia(1,n,t),xo(e,i,Po(e),t),yo(e),a=!0}finally{Zt(r,a)}}function ia(e,t,n){var r=t.viewQuery;null!==r&&(Gt(0),r(e,n))}function oa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=e[1].data,i=e[7]-1;return null==r[i]?r[i]="\ufffd"+t+"\ufffd"+n:null}var aa=mo;function sa(e){return void 0===e.inputs&&(e.inputs=Fo(e,0)),e.inputs}function la(e){return e[8]||(e[8]=[])}function ua(e){return e[1].cleanup||(e[1].cleanup=[])}function ca(e,t){return t[e.index][12]}function ha(e,t){var n=e[10],r=n?n.get(Or,null):null;r&&r.handleError(t)}function da(e,t,n){for(var r=e[1],i=0;i<t.length;){var o=t[i++],a=t[i++],s=t[i++],l=e[o],u=r.data[o];u.setInput?u.setInput(l,n,a,s):l[s]=n}}function fa(e,t,n){var r=lt(t,e),i=e[12];qn(i)?i.setValue(r,n):r.textContent=n}function pa(e,t,n){ro(e,t,n.classes,!0),ro(e,t,n.styles,!1)}function ga(e,t){var n=t[3];return-1===e.index?Ke(n)?n:null:n}function _a(e,t){var n=ga(e,t);return n?Pa(t[12],n[7]):null}function Aa(e,t,n,r,i){if(null!=r){var o,a=!1;Ke(r)?o=r:Ve(r)&&(a=!0,r=r[0]);var s=st(r);0===e?Oa(t,n,s,i||null):1===e?Da(t,s,a):2===e&&t.destroyNode(s),null!=o&&function(e,t,n,r,i){var o=n[7];o!==st(n)&&Aa(t,e,r,o,i);for(var a=9;a<n.length;a++)Fa(e,t,n[a],r,o)}(t,e,o,n,i)}}function va(e,t){return qn(t)?t.createText(dn(e)):t.createTextNode(dn(e))}function ma(e,t,n){var r=_a(e[1].node,e);r&&Fa(e[12],t?0:1,e,r,n)}function ya(e,t,n){var r=9+n,i=t.length;n>0&&(t[r-1][4]=e),n<i-9?(e[4]=t[r],ce(t,9+n,e)):(t.push(e),e[4]=null),e[3]=t;var o=e[17];null!==o&&t!==o&&function(e,t){var n=e[5];null===n?e[5]=[t]:n.push(t)}(o,e);var a=e[5];null!==a&&a.insertView(e[1]),e[2]|=128}function ba(e,t){var n=e[5],r=n.indexOf(t);n.splice(r,1)}
1function Ca(e,t){if(!(e.length<=9)){var n=9+t,r=e[n];if(r){var i=r[17];null!==i&&i!==e&&ba(i,r),t>0&&(e[n-1][4]=r[4]);var o=he(e,9+t);ma(r,!1);var a=o[5];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function wa(e,t){var n=Ca(e,t);n&&ka(n)}function ka(e){if(!(256&e[2])){var t=e[12];qn(t)&&t.destroyNode&&Fa(t,2,e,null,null),function(e){var t=e[14];if(!t)return Sa(e);for(;t;){var n=null;if(Ve(t))n=t[14];else{var r=t[9];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Sa(t),t=Ea(t,e);Sa(t||e),n=t&&t[4]}t=n}}(e)}}function Ea(e,t){var n;return Ve(e)&&(n=e[6])&&2===n.type?ga(n,e):e[3]===t?null:e[3]}function Sa(e){if(Ve(e)&&!(256&e[2])){e[2]&=-129,e[2]|=256,function(e){var t,n=e[1];if(null!=n&&null!=(t=n.destroyHooks))for(var r=0;r<t.length;r+=2){var i=e[t[r]];i instanceof Ge||t[r+1].call(i)}}(e),function(e){var t=e[1].cleanup;if(null!==t){for(var n=e[8],r=0;r<t.length-1;r+=2)if("string"==typeof t[r]){var i=t[r+1],o="function"==typeof i?i(e):st(e[i]),a=n[t[r+2]],s=t[r+3];"boolean"==typeof s?o.removeEventListener(t[r],a,s):s>=0?n[s]():n[-s].unsubscribe(),r+=2}else t[r].call(n[t[r+1]]);e[8]=null}}(e);var t=e[6];t&&3===t.type&&qn(e[12])&&e[12].destroy();var n=e[17];if(null!==n&&Ke(e[3])){n!==e[3]&&ba(n,e);var r=e[5];null!==r&&r.detachView(e[1])}}}function Oa(e,t,n,r){qn(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function xa(e,t,n,r){null!==r?Oa(e,t,n,r):function(e,t,n){qn(e)?e.appendChild(t,n):t.appendChild(n)}(e,t,n)}function Pa(e,t){return qn(e)?e.parentNode(t):t.parentNode}function Ta(e,t,n){var r=function(e,t){if(Ye(t))return Pa(t[12],ut(e,t));var n=function(e){for(;null!=e.parent&&(4===e.parent.type||5===e.parent.type);)e=e.parent;return e}(e),r=n.parent;if(null==r){var i=t[6];return 2===i.type?_a(i,t):function(e){var t=e[6];return t&&3===t.type?ut(t,nr(e)):null}(t)}var o=n&&5===n.type;if(o&&2&n.flags)return ut(n,t).parentNode;if(1&r.flags&&!o){var a=t[1].data,s=a[a[r.index].directiveStart].encapsulation;if(s!==_e.ShadowDom&&s!==_e.Native)return null}return ut(r,t)}(t,n);if(null!=r){var i=n[12],o=function(e,t){if(2===e.type){var n=ga(e,t);return Ba(n.indexOf(t,9)-9,n)}return 4===e.type||5===e.type?ut(e,t):null}(t.parent||n[6],n);if(Array.isArray(e)){var a,s=_createForOfIteratorHelper2(e);try{for(s.s();!(a=s.n()).done;){xa(i,r,a.value,o)}}catch(l){s.e(l)}finally{s.f()}}else xa(i,r,e,o)}}function Ba(e,t){var n=9+e+1;if(n<t.length){var r=t[n],i=r[6].child;return null!==i?ct(i,r):t[7]}return t[7]}function Da(e,t,n){var r=Pa(e,t);r&&function(e,t,n,r){qn(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function Ma(e,t,n,r){var i=r[3],o=r[6].projection[n];if(Array.isArray(o))Ta(o,t,e);else for(;o;)32&o.flags||(1===o.type?Ma(e,t,o.projection,rr(i)):(o.flags|=2,Ra(o,t,e,i))),o=o.projectionNext}function Ia(e,t,n,r){for(;e;)Ra(e,t,n,r),e=e.next}function Ra(e,t,n,r){var i=ut(e,r);Ta(i,t,n),Ti(i,r);var o=r[e.index];if(0===e.type)for(var a=9;a<o.length;a++)ma(o[a],!0,o[7]);else if(5===e.type){var s=e.child;Ia(s,s,r,r)}else 4===e.type&&Ia(e.child,t,n,r),Ke(o)&&Ta(o[7],t,n)}function Fa(e,t,n,r,i){for(var o=n[1].node.child;null!==o;)La(e,t,n,o,r,i),o=o.next}function La(e,t,n,r,i,o){var a=r.type;32&r.flags||(4===a||5===a?function(e,t,n,r,i,o){Aa(t,e,i,n[r.index],o);for(var a=r.child;a;)La(e,t,n,a,i,o),a=a.next}(e,t,n,r,i,o):1===a?function(e,t,n,r,i,o){var a=rr(n),s=a[6].projection[r.projection];if(void 0!==s)if(Array.isArray(s))for(var l=0;l<s.length;l++)Aa(t,e,i,s[l],o);else for(var u=s,c=a[3];null!==u;)La(e,t,c,u,i,o),u=u.projectionNext}(e,t,n,r,i,o):Aa(t,e,i,n[r.index],o))}var Ua,Na,ja,Ha=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._context=n,this._componentIndex=r,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._lView=t}),[{key:"rootNodes",get:function(){return null==this._lView[0]?function e(t,n,r){for(var i=n.child;i;){var o=ct(i,t);if(o&&r.push(o),4===i.type)e(t,i,r);else if(1===i.type)for(var a=rr(t),s=a[6],l=nr(a),u=s.projection[i.projection];u&&l;)r.push(ut(u,l)),u=u.next;i=i.next}return r}(this._lView,this._lView[6],[]):[]}},{key:"context",get:function(){return this._context?this._context:this._lookUpContext()}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>
1-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}ka(this._lView)}},{key:"onDestroy",value:function(e){var t,n;n=e,la(t=this._lView).push(n),t[1].firstTemplatePass&&ua(t).push(t[8].length-1,null)}},{key:"markForCheck",value:function(){$o(this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){ta(this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t){Vt(!0);try{ta(e,t)}finally{Vt(!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(){this._appRef=null,function(e){Fa(e[12],1,e,null,null)}(this._lView)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"_lookUpContext",value:function(){return this._context=nr(this._lView)[this._componentIndex]}}])}(),Qa=function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t,[e,null,-1]))._view=e,n}return _inherits2(t,e),_createClass2(t,[{key:"detectChanges",value:function(){na(this._view)}},{key:"checkNoChanges",value:function(){!function(e){Vt(!0);try{na(e)}finally{Vt(!1)}}(this._view)}},{key:"context",get:function(){return null}}])}(Ha);function Va(e,t,n){return Ua||(Ua=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t)}(e)),new Ua(ut(t,n))}function Ka(e,t,n,r){return Na||(Na=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t))._declarationView=e,i._declarationTContainer=n,i.elementRef=r,i}return _inherits2(t,e),_createClass2(t,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=function(e,t,n,r){var i=Lt(),o=It();Rt(null,!0);var a=wo(n,e,t,16,null,null);return a[16]=n,Eo(e,null,-1,a),e.firstTemplatePass&&(e.node.injectorIndex=r),Rt(o,i),a}(t,e,this._declarationView,this._declarationTContainer.injectorIndex);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[5];null!==r&&(n[5]=r.createEmbeddedView(t)),So(n,t,e);var i=new Ha(n,e,-1);return i._tViewNode=n[6],i}}])}(e)),0===n.type?new Na(r,n,Va(t,n,r)):null}function Wa(e,t,n,r){var i;ja||(ja=function(e){function n(e,t,r){var i;return _classCallCheck2(this,n),(i=_callSuper(this,n))._lContainer=e,i._hostTNode=t,i._hostView=r,i}return _inherits2(n,e),_createClass2(n,[{key:"element",get:function(){return Va(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new br(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=hr(this._hostTNode,this._hostView),t=tr(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.injectorIndex;)i=i.parent;return i}for(var o=er(e),a=t,s=t[6];o>1;)s=(a=a[16])[6],o--;return s}(e,this._hostView,this._hostTNode);return Zn(e)&&null!=n?new br(n,t):new br(null,this._hostView)}},{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:"length",get:function(){return this._lContainer.length-9}},{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;!i&&null==e.ngModule&&o&&(i=o.get(oe,null));var a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a}},{key:"insert",value:function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");this.allocateContainerIfNeeded();var n=e._lView,r=this._adjustIndex(t);return Ke(n[3])?this.move(e,r):(ya(n,this._lContainer,r),ma(n,!0,Ba(r,this._lContainer)),e.attachToViewContainerRef(this),ce(this._lContainer[8],r,e),e)}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this.indexOf(e);return-1!==n&&this.detach(n),this.insert(e,t),e}},{key:"indexOf",value:function(e){return null!==this._lContainer[8]?this._lContainer[8].indexOf(e):0}},{key:"remove",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1);wa(this._lContainer,t),he(this._lContainer[8],t)}},{key:"detach",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=Ca(this._lContainer,t);return n&&null!=he(this._lContainer[8],t)?new Ha(n,n[9],-1):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]=[])}}])}(e));var o=r[n.index];if(Ke(o))(i=o)[2]=-1;else{var a;if(a=4===n.type?st(o):r[12].createComment(""),Ye(r)){var s=r[12],l=ut(n,r);Oa(s,Pa(s,l),a,function(e,t){return qn(e)?e.nextSibling(t):t.nextSibling}(s,l))}else Ta(a,n,r);r[n.index]=i=Xo(o,r,a,n,!0),Zo(r,i)}return new ja(i,n,r)}function za(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(ze(e)&&!n){var r=e.directiveStart,i=ft(e.index,t);return new Ha(i,null,r)}if(3===e.type||0===e.type||4===e.type){var o=rr(t);return new Ha(o,o[9],-1)}return null}(It(),wt(),e)}var qa=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e.__NG_ELEMENT_ID__=function(){return Ga()},e}(),Ya=za,Ga=function(){},Xa=Function;function Ja(e){return"function"==typeof e}var Za=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,$a=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,es=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,ts=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/,ns=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._reflect=t||N.Reflect}),[{key:"isReflectionEnabled",value:function(){return!0}},{key:"factory",value:function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _construct(e,n)}}},{key:"_zipTypesAndAnnotations",value:function(e,t){var n;n=new Array(void 0===e?t.length:e.length);for(var r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]&&e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}},{key:"_ownParameters",value:function(e,t){if(n=e.toString(),Za.test(n)||ts.test(n)||$a.test(n)&&!es.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var i="function"==typeof r?r():r,o=i.map((function(e){return e&&e.type}
1)),a=i.map((function(e){return e&&rs(e.decorators)}));return this._zipTypesAndAnnotations(o,a)}var s=e.hasOwnProperty(u)&&e[u],l=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return l||s?this._zipTypesAndAnnotations(l,s):new Array(e.length).fill(void 0)}},{key:"parameters",value:function(e){if(!Ja(e))return[];var t=is(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}},{key:"_ownAnnotations",value:function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?rs(e.decorators):e.hasOwnProperty(l)?e[l]:null}},{key:"annotations",value:function(e){if(!Ja(e))return[];var t=is(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}},{key:"_ownPropMetadata",value:function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,i={};return Object.keys(r).forEach((function(e){i[e]=rs(r[e])})),i}return e.hasOwnProperty(c)?e[c]:null}},{key:"propMetadata",value:function(e){if(!Ja(e))return{};var t=is(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach((function(e){n[e]=r[e]}))}var i=this._ownPropMetadata(e,t);
1return i&&Object.keys(i).forEach((function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,_toConsumableArray2(n[e])),t.push.apply(t,_toConsumableArray2(i[e])),n[e]=t})),n}},{key:"ownPropMetadata",value:function(e){return Ja(e)&&this._ownPropMetadata(e,is(e))||{}}},{key:"hasLifecycleHook",value:function(e,t){return e instanceof Xa&&t in e.prototype}},{key:"guards",value:function(e){return{}}},{key:"getter",value:function(e){return new Function("o","return o."+e+";")}},{key:"setter",value:function(e){return new Function("o","v","return o."+e+" = v;")}},{key:"method",value:function(e){return new Function("o","args","if (!o.".concat(e,") throw new Error('\"").concat(e,"\" is undefined');\n return o.").concat(e,".apply(o, args);"))}},{key:"importUri",value:function(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+B(e)}},{key:"resourceUri",value:function(e){return"./"+B(e)}},{key:"resolveIdentifier",value:function(e,t,n,r){return r}},{key:"resolveEnum",value:function(e,t){return e[t]}}])}();function rs(e){return e?e.map((function(e){return _construct(e.type.annotationCls,_toConsumableArray2(e.args?e.args:[]))})):[]}function is(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}var os=null;function as(){return os=os||new ns}function ss(e){return ls(as().parameters(e))}function ls(e){var t=j();return e.map((function(e){return function(e,t){var n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)){if(0===t.length)throw new Error("Dependency array must have arguments.");for(var i=0;i<t.length;i++){var o=t[i];if(void 0!==o)if(o instanceof _||"Optional"===o.__proto__.ngMetadataName)n.optional=!0;else if(o instanceof v||"SkipSelf"===o.__proto__.ngMetadataName)n.skipSelf=!0;else if(o instanceof A||"Self"===o.__proto__.ngMetadataName)n.self=!0;else if(o instanceof m||"Host"===o.__proto__.ngMetadataName)n.host=!0;else if(o instanceof g)n.token=o.token;else if(o instanceof y){if(void 0===o.attributeName)throw new Error("Attribute name must be defined.");n.token=o.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else o===qa?(n.token=o,n.resolved=e.R3ResolvedDependencyType.ChangeDetectorRef):r(o)}}else r(t);return n}(t,e)}))}function us(e,t){var n=null;e.hasOwnProperty(P)||Object.defineProperty(e,P,{get:function(){if(null===n){var r=t||{providedIn:null},i=hs(r)||fs(r)||ds(r)||ps(r),o={name:e.name,type:e,typeArgumentCount:0,providedIn:r.providedIn,ctorDeps:ss(e),userDeps:void 0};if((hs(r)||fs(r))&&void 0!==r.deps&&(o.userDeps=ls(r.deps)),i)if(hs(r))o.useClass=r.useClass;else if(ds(r))o.useValue=r.useValue;else if(fs(r))o.useFactory=r.useFactory;else{if(!ps(r))throw new Error("Unreachable state.");o.useExisting=r.useExisting}else o.useClass=e;n=j().compileInjectable(ie,"ng:///".concat(e.name,"/ngInjectableDef.js"),o)}return n}})}var cs=C({provide:String,useValue:C});function hs(e){return void 0!==e.useClass}function ds(e){return cs in e}function fs(e){return void 0!==e.useFactory}function ps(e){return void 0!==e.useExisting}var gs=C({provide:String,useValue:C}),_s=[];function As(e,t){if(!t){var n=(new ns).parameters(e);return function(){return _construct(e,_toConsumableArray2(ee(n)))}}if(gs in t){var r=t;return function(){return r.useValue}}if(t.useExisting){var i=t;return function(){return J(i.useExisting)}}if(t.useFactory){var o=t;return function(){return o.useFactory.apply(o,_toConsumableArray2(ee(o.deps||_s)))}}if(t.useClass){var a=t,s=t.deps;if(!s){var l=new ns;s=l.parameters(e)}return function(){return _construct(a.useClass,_toConsumableArray2(ee(s)))}}var u=t.deps;if(!u){var c=new ns;u=c.parameters(e)}return function(){return _construct(e,_toConsumableArray2(ee(u)))}}var vs=h("Injectable",void 0,void 0,void 0,(function(e,t){return ys(e,t)})),ms=us,ys=function(e,t){t&&void 0!==t.providedIn&&!O(e)&&(e.ngInjectableDef=k({token:e,providedIn:t.providedIn,factory:As(e,t)}))},bs=new Q("The presence of this token marks an injector as being the root injector."),Cs={},ws={},ks=[],Es=void 0;function Ss(){return void 0===Es&&(Es=new te),Es}function Os(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 t=t||Ss(),new xs(e,n,t,r)}var xs=function(){return _createClass2((function e(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck2(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];ue([t],(function(e){return i.processInjectorType(e,[],a)})),n&&ue(n,(function(e){return i.processProvider(e,t,n)})),this.records.set(V,Bs(void 0,this)),this.isRootInjector=this.records.has(bs),this.injectorDefTypes.forEac
1h((function(e){return i.get(e)})),this.source=o||("object"==typeof t?null:B(t))}),[{key:"destroyed",get:function(){return this._destroyed}},{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]:K,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b.Default;this.assertNotDestroyed();var r,i=Y(this);try{if(!(n&b.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof Q)&&O(e);a&&this.injectableDefInScope(a)&&(o=Bs(Ps(e),Cs),this.records.set(e,o))}if(void 0!==o)return this.hydrate(e,o)}return(n&b.Self?Ss():this.parent).get(e,n&b.Optional?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(B(e)),i)throw s;return ne(s,e,"R3InjectorError",this.source)}throw s}finally{Y(i)}}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(B(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=I(e)))return!1;var i=x(e),o=null==i&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=x(o)),null==i)return!1;if(this.injectorDefTypes.add(a),this.records.set(a,Bs(i.factory,Cs)),null!=i.imports&&!s){var l;n.push(a);try{ue(i.imports,(function(e){r.processInjectorType(e,t,n)&&(void 0===l&&(l=[]),l.push(e))}))}finally{}if(void 0!==l)for(var u=function(){var e=l[c],t=e.ngModule,n=e.providers;ue(n,(function(e){return r.processProvider(e,t,n||ks)}))},c=0;c<l.length;c++)u()}var h=i.providers;if(null!=h&&!s){var d=e;ue(h,(function(e){return r.processProvider(e,d,h)}))}return void 0!==o&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var r=Ms(e=I(e))?e:I(e&&e.provide),i=function(e,t,n){var r=Ts(e,t,n);return Ds(e)?Bs(void 0,e.useValue):Bs(r,Cs)}(e,t,n);if(Ms(e)||!0!==e.multi){var o=this.records.get(r);o&&void 0!==o.multi&&Fi()}else{var a=this.records.get(r);a?void 0===a.multi&&Fi():((a=Bs(void 0,Cs,!0)).factory=function(){return ee(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===ws?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(B(e)):t.value===Cs&&(t.value=ws,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||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))}}])}();function Ps(e){var t=O(e);if(null!==t)return t.factory;var n=x(e);if(null!==n)return n.factory;if(e instanceof Q)throw new Error("Token ".concat(B(e)," is missing an ngInjectableDef definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=new Array(t).fill("?");throw new Error("Can't resolve all parameters for ".concat(B(e),": (").concat(n.join(", "),")."))}var r,i=(r=e)&&r[P]?(console.warn('DEPRECATED: DI is instantiating a token "'.concat(r.name,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "').concat(r.name,'" class.')),r[P]):null;return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Ts(e,t,n){var r,i=void 0;if(Ms(e))return Ps(I(e));if(Ds(e))i=function(){return I(e.useValue)};else if((r=e)&&r.useExisting)i=function(){return J(I(e.useExisting))};else if(function(e){return!(!e||!e.useFactory)}(e))i=function(){return e.useFactory.apply(e,_toConsumableArray2(ee(e.deps||[])))};else{var o=I(e&&(e.useClass||e.provide));if(o||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(B(e),"'")+r)}(t,n,e),!function(e){return!!e.deps}(e))return Ps(o);i=function(){return _construct(o,_toConsumableArray2(ee(e.deps)))}}return i}function Bs(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Ds(e){return null!==e&&"object"==typeof e&&z in e}function Ms(e){return"function"==typeof e}function Is(e,t,n){return Os({name:n},t,e,n)}var Rs=function(e,t,n){return new Hs(e,t,n)},Fs=function(){var e=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),null,[{key:"create",value:function(e,t){return Array.isArray(e)?Rs(e,t,""):Rs(e.providers,e.parent,e.name||"")}}])}();return e.THROW_IF_NOT_FOUND=K,e.NULL=new te,e.ngInjectableDef=k({token:e,providedIn:"any",factory:function(){return J(V)}}),e.__NG_ELEMENT_ID__=-1,e}(),Ls=function(e){return e},Us=[],Ns=Ls,js=function(){return Array.prototype.slice.call(arguments)},Hs=function(){return _createClass2((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fs.NULL,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck2(this,e),this.parent=n,this.source=r;var i=this._records=new Map;
1i.set(Fs,{token:Fs,fn:Ls,deps:Us,value:this,useNew:!1}),i.set(V,{token:V,fn:Ls,deps:Us,value:this,useNew:!1}),function e(t,n){if(n)if((n=I(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Vs("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Vs("Unexpected provider",n);var i=I(n.provide),o=function(e){var t=function(e){var t=Us,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var i=6,o=I(n[r]);if(o instanceof Array)for(var a=0,s=o;a<s.length;a++){var l=s[a];l instanceof _||l==_?i|=1:l instanceof v||l==v?i&=-3:l instanceof A||l==A?i&=-5:o=l instanceof g?l.token:I(l)}t.push({token:o,options:i})}}else if(e.useExisting)t=[{token:I(e.useExisting),options:6}];else if(!(n||z in e))throw Vs("'deps' required",e);return t}(e),n=Ls,r=Us,i=!1,o=I(e.provide);if(z in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)i=!0,n=I(e.useClass);else{if("function"!=typeof o)throw Vs("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);i=!0,n=o}return{deps:t,fn:n,useNew:i,value:r}}(n);if(!0===n.multi){var a=t.get(i);if(a){if(a.fn!==js)throw Qs(i)}else t.set(i,a={token:n.provide,deps:[],useNew:!1,fn:js,value:Us});i=n,a.deps.push({token:i,options:6})}var s=t.get(i);if(s&&s.fn==js)throw Qs(i);t.set(i,o)}}(i,t)}),[{key:"get",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b.Default,r=this._records.get(e);try{return function e(t,n,r,i,o,a){try{return function(t,n,r,i,o,a){var s;if(!n||a&b.SkipSelf)a&b.Self||(s=i.get(t,o,b.Default));else{if((s=n.value)==Ns)throw Error("\u0275Circular dependency");if(s===Us){n.value=Ns;var l=n.useNew,u=n.fn,c=n.deps,h=Us;if(c.length){h=[];for(var d=0;d<c.length;d++){var f=c[d],p=f.options,g=2&p?r.get(f.token):void 0;h.push(e(f.token,g,r,g||4&p?i:Fs.NULL,1&p?null:Fs.THROW_IF_NOT_FOUND,b.Default))}}n.value=s=l?_construct(u,_toConsumableArray2(h)):u.apply(void 0,h)}}return s}(t,n,r,i,o,a)}catch(s){throw s instanceof Error||(s=new Error(s)),(s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(t),n&&n.value==Ns&&(n.value=Us),s}}(e,r,this._records,this.parent,t,n)}catch(i){return ne(i,e,"StaticInjectorError",this.source)}}},{key:"toString",value:function(){var e=[];return this._records.forEach((function(t,n){return e.push(B(n))})),"StaticInjector[".concat(e.join(", "),"]")}}])}();function Qs(e){return Vs("Cannot mix multi providers and regular providers",e)}function Vs(e,t){return new Error(re(e,t,"StaticInjectorError"))}function Ks(e){return e.length>1?" ("+function(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map((function(e){return B(e.token)})).join(" -> ")+")":""}function Ws(e,t,n,r){var i=[t],o=n(i),a=r?function(e,t){var n="".concat(e," caused by: ").concat(t instanceof Error?t.message:t),r=Error(n);return r.ngOriginalError=t,r}(o,r):Error(o);return a.addKey=zs,a.keys=i,a.injectors=[e],a.constructResolvingMessage=n,a.ngOriginalError=r,a}function zs(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function qs(e,t){for(var n=[],r=0,i=t.length;r<i;r++){var o=t[r];n.push(o&&0!=o.length?o.map(B).join(" "):"?")}return Error("Cannot resolve all parameters for '"+B(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+B(e)+"' is decorated with Injectable.")}var Ys=function(){return _createClass2((function e(t,n){if(_classCallCheck2(this,e),this.token=t,this.id=n,!t)throw new Error("Token must be defined!");this.displayName=B(this.token)}),null,[{key:"get",value:function(e){return Gs.get(I(e))}},{key:"numberOfKeys",get:function(){return Gs.numberOfKeys}}])}(),Gs=new(function(){return _createClass2((function e(){_classCallCheck2(this,e),this._allKeys=new Map}),[{key:"get",value:function(e){if(e instanceof Ys)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new Ys(e,Ys.numberOfKeys);return this._allKeys.set(e,t),t}},{key:"numberOfKeys",get:function(){return this._allKeys.size}}])}()),Xs=new(function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.reflectionCapabilities=t}),[{key:"updateCapabilities",value:function(e){this.reflectionCapabilities=e}},{key:"factory",value:function(e){return this.reflectionCapabilities.factory(e)}},{key:"parameters",value:function(e){return this.reflectionCapabilities.parameters(e)}},{key:"annotations",value:function(e){return this.reflectionCapabilities.annotations(e)}},{key:"propMetadata",value:function(e){return this.reflectionCapabilities.propMetadata(e)}},{key:"hasLifecycleHook",value:function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}},{key:"getter",value:function(e){return this.reflectionCapabilities.getter(e)}},{key:"setter",value:function(e){return this.reflectionCapabilities.setter(e)}},{key:"method",value:function(e){return this.reflectionCapabilities.method(e)}},{key:"importUri",value:function(e){return this.reflectionCapabilities.importUri(e)}},{key:"resourceUri",value:function(e){return this.reflectionCapabilities.resourceUri(e)}},{key:"resolveIdentifier",value:function(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)}},{key:"resolveEnum",value:function(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}])}())(new ns),Js=function(){function e(t,n,r){_classCallCheck2(this,e),this.key=t,this.optional=n,this.visibility=r}return _createClass2(e,null,[{key:"fromKey",value:function(t){return new e(t,!1,null)}}])}(),Zs=[],$s=_createClass2((function e(t,n,r){_classCallCheck2(this,e),this.key=t,this.resolvedFactories=n,this.multiProvider=r,this.resolvedFactory=this.resolvedFactories[0]})),el=_createClass2((function e(t,n){_classCallCheck2(this,e),this.factory=t,this.dependencies=n}));function tl(e){var t,n;if(e.useClass){var r=I(e.useClass);t=Xs.factory(r),n=il(r)}else e.useExisting?(t=function(e){return e},n=[Js.fromKey(Ys.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){var n=t.map((function(e){return[e]}));return t.map((function(t){return ol(e,t,n)}))}return il(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=Zs);return new el(t,n)}function nl(e){return new $s(Ys.get(e.provide),[tl(e)],e.multi||!1)}function rl(e){var t=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=t.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: ".concat(i," ").concat(r));if(r.multiProvider)for(var o=0;o<r.resolvedFactories.length;o++)i.resolvedFactories.push(r.resolvedFactories[o]);else t.set(r.key.id,r)}else{var a;a=r.multiProvider?new $s(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,a)}}return t}(function e(t,n){return t.forEach((function(t){if(t instanceof Xa)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t);e(t,n)}})),n}(e,[]).map(nl),new Map);return Array.from(t.values())}function il(e){var t=Xs.parameters(e);if(!t)return[];if(t.some((function(e){return null==e})))throw qs(e,t);return t.map((function(n){return ol(e,n,t)}))}function ol(e,t,n){var r=null,i=!1;if(!Array.isArray(t))return al(t instanceof g?t.token:t,i,null);for(var o=null,a=0;a<t.length;++a){var s=t[a];s instanceof Xa?r=s:s instanceof g?r=s.token:s instanceof _?i=!0:s instanceof A||s instanceof v?o=s:s instanceof Q&&(r=s)}if(null!=(r=I(r)))return al(r,i,o);throw qs(e,n)}function al(e,t,n){return new Js(Ys.get(e),t,n)}var sl=new Object,ll=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"resolve",value:function(e){return rl(e)}},{key:"resolveAndCreate",value:function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)}},{key:"fromResolvedProviders",value:function(e,t){return new ul(e,t)}}])}(),ul=function(){var e=function(){function e(t,n){_classCallCheck2(this,e),this._constructionCounter=0,this._providers=t,this.parent=n||null;var r=t.length;this.keyIds=new Array(r),this.objs=new Array(r);for(var i=0;i<r;i++)this.keyIds[i]=t[i].key.id,this.objs[i]=sl}return _createClass2(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K;return this._getByKey(Ys.get(e),null,t)}},{key:"resolveAndCreateChild",value:function(e){var t=ll.resolve(e);return this.createChildFromResolved(t)}},{key:"createChildFromResolved",value:function(t){var n=new e(t);return n.parent=this,n}},{key:"resolveAndInstantiate",value:function(e){return this.instantiateResolved(ll.resolve([e])[0])}},{key:"instantiateResolved",value:function(e){return this._instantiateProvider(e)}},{key:"getProviderAtIndex",value:function(e){if(e<0||e>=this._providers.length)throw function(e){return Error("Index ".concat(e," is out-of-bounds."))}(e);return this._providers[e]}},{key:"_new",value:function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw Ws(this,e.key,(function(e){return"Cannot instantiate cyclic dependency!"+Ks(e)}));return this._instantiateProvider(e)}},{key:"_getMaxNumberOfObjects",value:function(){return this.objs.length}},{key:"_instantiateProvider",value:function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}},{key:"_instantiate",value:function(e,t){var n,r,i,o=this,a=t.factory;try{n=t.dependencies.map((function(e){return o._getByReflectiveDependency(e)}))}catch(s){throw s.addKey&&s.addKey(this,e.key),s}try{r=a.apply(void 0,_toConsumableArray2(n))}catch(s){throw Ws(this,e.key,(function(e){var t=B(e[0].token);return"".concat(i.message,": Error during instantiation of ").concat(t,"!").concat(Ks(e),".")}),i=s)}return r}},{key:"_getByReflectiveDependency",value:function(e){return this._getByKey(e.key,e.visibility,e.optional?null:K)}},{key:"_getByKey",value:function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof A?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,n)}},{key:"_getObjByKeyId",value:function(e){for(var t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===sl&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return sl}},{key:"_throwOrNull",value:function(e,t){if(t!==K)return t;throw function(e,t){return Ws(e,t,(function(e){return"No provider for ".concat(B(e[0].token),"!").concat(Ks(e))}))}(this,e)}},{key:"_getByKeySelf",value:function(e,t){var n=this._getObjByKeyId(e.id);return n!==sl?n:this._throwOrNull(e,t)}},{key:"_getByKeyDefault",value:function(t,n,r){var i;for(i=r instanceof v?this.parent:this;i instanceof e;){var o=i,a=o._getObjByKeyId(t.id);if(a!==sl)return a;i=o.parent}return null!==i?i.get(t.token,n):this._throwOrNull(t,n)}},{key:"displayName",get:function(){return"ReflectiveInjector(prov
1iders: [".concat(function(e,t){for(var n=new Array(e._providers.length),r=0;r<e._providers.length;++r)n[r]=' "'+e.getProviderAtIndex(r).key.displayName+'" ';return n}(this).join(", "),"])")}},{key:"toString",value:function(){return this.displayName}}])}();return e.INJECTOR_KEY=Ys.get(Fs),e}(),cl=new Q("AnalyzeForEntryComponents"),hl=_createClass2((function e(){_classCallCheck2(this,e)})),dl=p("ContentChildren",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)}),hl),fl=p("ContentChild",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)}),hl),pl=p("ViewChildren",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)}),hl),gl=p("ViewChild",(function(e,t){return Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)}),hl);function _l(e){var t=[],n=new Map;function r(t){var r=n.get(t);if(!r){var i=e(t);n.set(t,r=i.then(bl))}return r}return Al.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 l=Promise.all(i).then((function(){return function(e){vl.delete(e)}(n)}));t.push(l)})),yl(),Promise.all(t).then((function(){}))}var Al=new Map,vl=new Set;function ml(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function yl(){var e=Al;return Al=new Map,e}function bl(e){return"string"==typeof e?e:e.text()}function Cl(e){var t=wt(),n=t[1];n.firstTemplatePass&&(function(e,t,n){var r=e.expandoInstructions,i=r.length;i>=2&&r[i-2]===t.hostBindings?r[i-1]=r[i-1]+n:r.push(t.hostBindings,n)}(n,vt,e),function(e,t,n){for(var r=0;r<n;r++)t.push(io),e.blueprint.push(io),e.data.push(null)}(n,t,e))}var wl=null;function kl(){if(!wl){var e=N.Symbol;if(e&&e.iterator)wl=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&&(wl=r)}}return wl}function El(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Sl(e,t){var n=xl(e),r=xl(t);return n&&r?function(e,t,n){for(var r=e[kl()](),i=t[kl()]();;){var o=r.next(),a=i.next();if(o.done&&a.done)return!0;if(o.done||a.done)return!1;if(!n(o.value,a.value))return!1}}(e,t,Sl):!(n||!(e&&("object"==typeof e||"function"==typeof e))||r||!(t&&("object"==typeof t||"function"==typeof t)))||El(e,t)}var Ol=function(){function e(t){_classCallCheck2(this,e),this.wrapped=t}return _createClass2(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}}])}();function xl(e){return!!Pl(e)&&(Array.isArray(e)||!(e instanceof Map)&&kl()in e)}function Pl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Tl(e,t,n){return e[t]=n}function Bl(e,t){return e[t]}function Dl(e,t,n){return!!hn(e[t],n)&&(e[t]=n,!0)}function Ml(e,t,n,r){var i=Dl(e,t,n);return Dl(e,t+1,r)||i}function Il(e,t,n,r,i){var o=Ml(e,t,n,r);return Dl(e,t+2,i)||o}function Rl(e,t,n,r,i,o){var a=Ml(e,t,n,r);return Ml(e,t+2,i,o)||a}function Fl(e,t,n){var r=en(),i=Ll(wt(),t);return i!==io&&Uo(r,e,i,n),Fl}function Ll(e,t){var n=e[7]++;return oa(e),Dl(e,n,t)?t:io}function Ul(e,t,n,r){var i=en(),o=wt(),a=Ll(o,t);return a!==io&&Go(i,e,a,o,n,r),Ul}function Nl(e,t){var n=!1,r=e[1].data,i=e[7];if(null==r[i]){for(var o=2;o<t.length;o+=2)r[i++]=t[o];i=e[7]}for(var a=1;a<t.length;a+=2)n=Dl(e,i++,t[a])||n;if(e[7]=i,oa(e,t[0],t[t.length-1]),!n)return io;for(var s=t[0],l=1;l<t.length;l+=2)s+=dn(t[l])+t[l+1];return s}function jl(e,t,n,r){var i=Dl(e,e[7]++,n);return oa(e,t,r),i?t+dn(n)+r:io}function Hl(e,t,n,r,i,o){var a=e[7],s=Ml(e,a,n,i);return e[7]+=2,oa(e,t,o)&&(e[1].data[a]=r),s?t+dn(n)+r+dn(i)+o:io}
1function Ql(e,t,n,r,i,o,a,s){var l=e[7],u=Il(e,l,n,i,a);if(e[7]+=3,oa(e,t,s)){var c=e[1].data;c[l]=r,c[l+1]=o}return u?t+dn(n)+r+dn(i)+o+dn(a)+s:io}function Vl(e,t,n,r,i,o,a,s,l,u){var c=e[7],h=Rl(e,c,n,i,a,l);if(e[7]+=4,oa(e,t,u)){var d=e[1].data;d[c]=r,d[c+1]=o,d[c+2]=s}return h?t+dn(n)+r+dn(i)+o+dn(a)+s+dn(l)+u:io}function Kl(e,t,n,r,i,o,a,s,l,u,c,h){var d=e[7],f=Rl(e,d,n,i,a,l);if(f=Dl(e,d+4,c)||f,e[7]+=5,oa(e,t,h)){var p=e[1].data;p[d]=r,p[d+1]=o,p[d+2]=s,p[d+3]=u}return f?t+dn(n)+r+dn(i)+o+dn(a)+s+dn(l)+u+dn(c)+h:io}function Wl(e,t,n,r,i,o,a,s,l,u,c,h,d,f){var p=e[7],g=Rl(e,p,n,i,a,l);if(g=Ml(e,p+4,c,d)||g,e[7]+=6,oa(e,t,f)){var _=e[1].data;_[p]=r,_[p+1]=o,_[p+2]=s,_[p+3]=u,_[p+4]=h}return g?t+dn(n)+r+dn(i)+o+dn(a)+s+dn(l)+u+dn(c)+h+dn(d)+f:io}function zl(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g){var _=e[7],A=Rl(e,_,n,i,a,l);if(A=Il(e,_+4,c,d,p)||A,e[7]+=7,oa(e,t,g)){var v=e[1].data;v[_]=r,v[_+1]=o,v[_+2]=s,v[_+3]=u,v[_+4]=h,v[_+5]=f}return A?t+dn(n)+r+dn(i)+o+dn(a)+s+dn(l)+u+dn(c)+h+dn(d)+f+dn(p)+g:io}function ql(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_,A){var v=e[7],m=Rl(e,v,n,i,a,l);if(m=Rl(e,v+4,c,d,p,_)||m,e[7]+=8,oa(e,t,A)){var y=e[1].data;y[v]=r,y[v+1]=o,y[v+2]=s,y[v+3]=u,y[v+4]=h,y[v+5]=f,y[v+6]=g}return m?t+dn(n)+r+dn(i)+o+dn(a)+s+dn(l)+u+dn(c)+h+dn(d)+f+dn(p)+g+dn(_)+A:io}function Yl(e,t,n,r,i,o){var a=en(),s=wt(),l=jl(s,t,n,r);return l!==io&&Go(a,e,l,s,i,o),Yl}function Gl(e,t,n,r,i,o,a,s){var l=en(),u=wt(),c=Hl(u,t,n,r,i,o);return c!==io&&Go(l,e,c,u,a,s),Gl}function Xl(e,t,n,r,i,o,a,s,l,u){var c=en(),h=wt(),d=Ql(h,t,n,r,i,o,a,s);return d!==io&&Go(c,e,d,h,l,u),Xl}function Jl(e,t,n,r,i,o,a,s,l,u,c,h){var d=en(),f=wt(),p=Vl(f,t,n,r,i,o,a,s,l,u);return p!==io&&Go(d,e,p,f,c,h),Jl}function Zl(e,t,n,r,i,o,a,s,l,u,c,h,d,f){var p=en(),g=wt(),_=Kl(g,t,n,r,i,o,a,s,l,u,c,h);return _!==io&&Go(p,e,_,g,d,f),Zl}function $l(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g){var _=en(),A=wt(),v=Wl(A,t,n,r,i,o,a,s,l,u,c,h,d,f);return v!==io&&Go(_,e,v,A,p,g),$l}function eu(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_,A){var v=en(),m=wt(),y=zl(m,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g);return y!==io&&Go(v,e,y,m,_,A),eu}function tu(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_,A,v,m){var y=en(),b=wt(),C=ql(b,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_,A);return C!==io&&Go(y,e,C,b,v,m),tu}function nu(e,t,n,r){var i=en(),o=wt(),a=Nl(o,t);return a!==io&&Go(i,e,a,o,n,r),nu}function ru(e){ta(Pi(e),e)}function iu(e){var t,n,r;t=$o(Pi(e))[9],r=0===t.flags,t.flags|=1,r&&t.clean==mo&&(t.clean=new Promise((function(e){return n=e})),t.scheduler((function(){if(1&t.flags&&(t.flags&=-2,ea(t)),2&t.flags){t.flags&=-3;var e=t.playerHandler;e&&e.flushPlayers()}t.clean=mo,n(null)})))}function ou(e){var t=wt(),n=uu(t,e,null,null);t[1].firstTemplatePass&&(n.tViews=[]),Ut()}function au(e,t,n,r,i,o,a,s){var l=wt(),u=l[1],c=uu(l,e,i||null,o||null);if(u.firstTemplatePass){No(u,l,c,a||null);var h=c.tViews=Mo(-1,t,n,r,u.directiveRegistry,u.pipeRegistry,null,null);null!==u.queries&&(u.queries.template(u,c),h.queries=u.queries.embeddedTView(c))}Bo(u,l,c,s),Ti(ut(c,l),l),Je(u,c),Ut()}function su(e){var t=wt(),n=t[1];Rt(dt(n.data,e),!0),t[e+19][2]=0,Ze(t,n,Qt(),void 0)}function lu(){var e=It();Lt()?Ut():Rt(e=e.parent,!1);for(var t=wt()[e.index],n=t[2];n<t.length-9;)wa(t,n)}function uu(e,t,n,r){var i=t+19,o=e[i]=e[12].createComment(""),a=ko(e[1],e[6],t,0,n,r),s=e[i]=Xo(o,e,o,a);return Ta(o,a,e),Zo(e,s),a}function cu(e,t){var n=wt(),r=n[1],i=e+19;i>=r.data.length&&(r.data[i]=null,r.blueprint[i]=null),n[i]=t}function hu(e){return dt(jt,e)}function du(e){return dt(wt(),e)}function fu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.Default;e=I(e);var n=wt();return null==n?J(e,t):pr(It(),n,e,t)}function pu(e){return fr(It(),e)}function gu(){var e,t;wt()[1].firstTemplatePass&&(e=It(),t=Pu(),yn(Bu(e),t),yn(Tu(e),t))}function _u(e){un(e)}function Au(e,t,n){vu(en(),e,t,n)}function vu(e,t,n,r){yu(e,wt()[7]++,t,function(e,t){if(e===io)return e;var n=null;return null!==e&&(n=t?dn(e)+t:e),n}(n,r),!1,Mu())}function mu(e,t){var n=wt()[7]++;yu(en(),n,e,t,!0,Mu())}function yu(e,t,n,r,i,o){var a=wt(),s=ht(e,a),l=ut(s,a),u=!1;
1if(r!==io)if(i)u=Wi(Bu(s),a,l,n,t,r,o,!1);else{var c=cn();u=zi(Tu(s),a,l,n,t,r,c,o,!1)}return u}function bu(e){var t=en(),n=wt(),r=ht(t,n),i=Tu(r),o=Pu(),a=n[7]++;!o&&Qn(r)&&e!==io&&(Eu(i,n,r,a,e,!1),e=io),ku(t,i,a,e,!1,Mu())}function Cu(e){wu(en(),e)}function wu(e,t){var n=wt(),r=ht(e,n),i=Bu(r),o=Pu(),a=n[7]++;!o&&Hn(r)&&t!==io&&(Eu(i,n,r,a,t,!0),t=io),ku(e,i,a,t,!0,Mu())}function ku(e,t,n,r,i,o){lo();var a=wt(),s=!1;if(r!==io){var l=ut(ht(e,a),a),u=a[n];s=In(u,r);var c=function(e,t,n){var r=Array.isArray(e)?e:[null];r[0]=t||null;for(var i=1;i<r.length;i+=2)Kn(r,i,null);var o,a=null,s=!1;if("string"==typeof t?t.length&&(a=t.split(/\s+/),s=!0):(a=t?Object.keys(t):null,o=t),a)for(var l=0;l<a.length;l++){var u=a[l];fo(r,n?Ln(u):u,!!s||o[u],!0)}return r}(u,r,!i);i?Wi(t,a,l,null,n,c,o,s):zi(t,a,l,null,n,c,cn(),o,s)}return s}function Eu(e,t,n,r,i,o){t[r]!==i&&((i||Bn(e))&&da(t,n.inputs[o?"class":"style"],function(e,t,n){var r,i=t;return e.length>0&&(i=n?Fn(e,((r=t)&&"string"!=typeof r&&(r=Object.keys(r).join(" ")),r||"")):Fn(e,function(e){var t="";if(e)for(var n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];t=Fn(t,"".concat(i,":").concat(e[i]),";")}return t}(t),";")),i}(jn(e),i,o)),t[r]=i)}function Su(){var e=en(),t=wt(),n=ht(e,t),r=function(e,t){return 3===e.type?t[12]:null}(n,t),i=ut(n,t),o=Pu(),a=cn();(function(e,t,n,r,i,o,a){var s=n?Dn(n):!!r&&Dn(r),l=Tn(n,o),u=Tn(r,o);Ki.length&&(l||u)&&Yi();var c=ot(i,s),h=Zi(e,i,t,n,l,c.classesBitMask,no,null),d=Zi(e,i,t,r,u,c.stylesBitMask,to,a);h&&d?(at(),s&&function(e){rt.delete(e)}(i)):s&&function(e,t){rt.set(e,t)}(i,c)})(r,t,Bu(n),Tu(n),i,o,a),un(null)}function Ou(e,t,n){for(var r=!1,i=Un(e.styles),o=Un(e.classes),a=-1,s=n;s<t.length;s++){var l=t[s];"number"==typeof l?a=l:1==a?(fo(o=o||[""],l,!0),r=!0):2==a&&(fo(i=i||[""],l,t[++s]),r=!0)}return o&&o.length>1&&(e.classes||(e.classes=o),xu(e.classes,po(o,!0))),i&&i.length>1&&(e.styles||(e.styles=i),xu(e.styles,po(i,!1))),r}function xu(e,t){Un(e)[0]=t}function Pu(){return Ot+xt}function Tu(e){return Du(e,!1)}function Bu(e){return Du(e,!0)}function Du(e,t){var n=t?e.classes:e.styles;return Nn(n)||(n=[n||[""],0,0,1,0,"--MAP--"],t?e.classes=n:e.styles=n),n}function Mu(){return Pt>0}function Iu(e,t,n,r){var i=wt(),o=i[1],a=i[e+19]=Co(t),s=i[12],l=ko(o,i[6],e,3,t,n||null);if(null!=n){var u=Gn(a,n);o.firstTemplatePass&&Ou(l,n,u)}if(pa(s,a,l),Ta(a,l,i),0===tt&&Ti(a,i),tt++,o.firstTemplatePass){No(o,i,l,r||null);var c=sa(l);c&&c.hasOwnProperty("class")&&(l.flags|=8),c&&c.hasOwnProperty("style")&&(l.flags|=16),null!==o.queries&&o.queries.elementStart(o,l)}Bo(o,i,l),To(o,l,i)}function Ru(){var e=It();Lt()?Ut():Rt(e=e.parent,!1);var t=e,n=wt(),r=n[1];Je(r,e),tt--,r.firstTemplatePass&&null!==r.queries&&We(e)&&r.queries.elementEnd(e),Hn(t)&&t.classes&&Uu(t.classes,n,t.inputs.class),Qn(t)&&t.styles&&Uu(t.styles,n,t.inputs.style)}function Fu(e,t,n,r){Iu(e,t,n,r),Ru()}function Lu(e){var t=en(),n=wt(),r=n[1],i=ht(t,n);if(3===i.type){var o=ut(i,n),a=Gn(o,e);r.firstTemplatePass&&Ou(i,e,a)&&pa(n[12],o,i)}}function Uu(e,t,n){da(t,n,jn(e)||null)}function Nu(e,t,n){var r=wt(),i=r[1],o=r[e+19]=r[12].createComment(""),a=ko(i,r[6],e,4,"ng-container",t||null);t&&i.firstTemplatePass&&Ou(a,t,0),Ta(o,a,r),i.firstTemplatePass&&(No(i,r,a,n||null),i.queries&&i.queries.elementStart(i,a)),Bo(i,r,a),Ti(o,r),To(i,a,r)}function ju(){var e=It(),t=wt()[1];Lt()?Ut():Rt(e=e.parent,!1),Je(t,e),t.firstTemplatePass&&null!==t.queries&&We(e)&&t.queries.elementEnd(e)}function Hu(e,t,n){Nu(e,t,n),ju()}function Qu(e,t,n){var r=wt(),i=It(),o=2===i.type?i.parent:i,a=r[o.index],s=function(e,t,n){for(var r=t+9;r<e.length;r++){var i=e[r][1].id;if(i===n)return e[r];if(!(i<n))break;wa(e,r-9)}return null}(a,a[2],e);if(s)Et=!0,Xt(s,s[1].node);else{s=wo(r,function(e,t,n,r){var i=wt()[1],o=r.tViews;return(e>=o.length||null==o[e])&&(o[e]=Mo(e,null,t,n,i.directiveRegistry,i.pipeRegistry,null,null)),o[e]}(e,t,n,o),null,16,null,null);var l=Lt()?i:i&&i.parent;Eo(s[1],l,e,s),Xt(s,s[1].node)}return a&&(Nt(s)&&ya(s,a,a[2]),a[2]++),Nt(s)?3:2}function Vu(){var e=wt(),t=e[6];Nt(e)&&(yo(e),e[2]&=-5),_t(e),yo(e),Zt(e[3][3],!0),Rt(t,!1)}function Ku(){return wt()}function Wu(e){return!!e&&"function"==typeof e.then}function zu(e){return!!e&&"function"==typeof e.subscribe}function qu(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;Gu(e,t,n,r)}function Yu(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;Gu(e,t,n,r,ca)}function Gu(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o=wt(),a=It(),s=o[1],l=s.firstTemplatePass&&(s.cleanup||(s.cleanup=[])),u=!0;if(3===a.type){var c=ut(a,o),h=r?r(c):ve,d=h.target||c,f=i?i(a,o):o[12],p=la(o),g=p.length,_=r?function(e){return r(st(e[a.index])).target}:a.index;if(qn(f)){var A=null;if(!r&&function(e){return e.directiveEnd>e.directiveStart}(a)&&(A=function(e,t,n){var r=e[1].cleanup;if(null!=r)for(var i=0;i<r.length-1;i+=2){var o=r[i];if(o===t&&r[i+1]===n){var a=e[8],s=r[i+2];return a.length>s?a[s]:null}"string"==typeof o&&(i+=2)}return null}(o,e,a.index)),null!==A)t.__ngNextListenerFn__=A.__ngNextListenerFn__,A.__ngNextListenerFn__=t,u=!1;else{t=Ju(a,o,t,!1);var v=f.listen(h.name||d,e,t);p.push(t,v),l&&l.push(e,_,g,g+1)}}else t=Ju(a,o,t,!0),d.addEventListener(e,t,n),p.push(t),l&&l.push(e,_,g,n)}void 0===a.outputs&&(a.outputs=Fo(a,1));var m,y=a.outputs;if(u&&y&&(m=y[e])){var b=m.length;if(b)for(var C=la(o),w=0;w<b;w+=3){var k=o[m[w]][m[w+2]].subscribe(t),E=C.length;C.push(t,k),l&&l.push(e,a.index,E,-(E+1))}}}function Xu(e,t,n){try{return!1!==t(n)}catch(r){return ha(e,r),!1}}function Ju(e,t,n,r){return function i(o){var a=1&e.flags?ft(e.index,t):t;0==(32&t[2])&&$o(a);for(var s=Xu(t,n,o),l=i.__ngNextListenerFn__;l;)s=Xu(t,l,o)&&s,l=l.__ngNextListenerFn__;return r&&!1===s&&(o.preventDefault(),o.returnValue=!1),s}}function Zu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return Jt(e)}function $u(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?Qi(e,o,!0):Vi(r,o))return i}else n=i}return n}function ec(e){var t=rr(wt())[6];if(!t.projection)for(var n=t.projection=new Array(e?e.length:1).fill(null),r=n.slice(),i=t.child;null!==i;){var o=e?$u(i,e):0;null!==o&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i),i=i.next}}var tc=!1;function nc(e){tc=e}function rc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=wt(),i=ko(r[1],r[6],e,1,null,n||null);null===i.projection&&(i.projection=t),Ut(),tc||Ma(r,i,t,rr(r))}function ic(e,t,n){return oc(e,"",t,"",n),ic}function oc(e,t,n,r,i){var o=en(),a=jl(wt(),t,n,r);return a!==io&&Uo(o,e,a,i),oc}function ac(e,t,n,r,i,o,a){var s=en(),l=Hl(wt(),t,n,r,i,o);return l!==io&&Uo(s,e,l,a),ac}function sc(e,t,n,r,i,o,a,s,l){var u=en(),c=Ql(wt(),t,n,r,i,o,a,s);return c!==io&&Uo(u,e,c,l),sc}function lc(e,t,n,r,i,o,a,s,l,u,c){var h=en(),d=Vl(wt(),t,n,r,i,o,a,s,l,u);return d!==io&&Uo(h,e,d,c),lc}function uc(e,t,n,r,i,o,a,s,l,u,c,h,d){var f=en(),p=Kl(wt(),t,n,r,i,o,a,s,l,u,c,h);return p!==io&&Uo(f,e,p,d),uc}function cc(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p){var g=en(),_=Wl(wt(),t,n,r,i,o,a,s,l,u,c,h,d,f);return _!==io&&Uo(g,e,_,p),cc}function hc(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_){var A=en(),v=zl(wt(),t,n,r,i,o,a,s,l,u,c,h,d,f,p,g);return v!==io&&Uo(A,e,v,_),hc}function dc(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_,A,v){var m=en(),y=ql(wt(),t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_,A);return y!==io&&Uo(m,e,y,v),dc}
1function fc(e,t,n){var r=en(),i=Nl(wt(),t);return i!==io&&Uo(r,e,i,n),fc}function pc(e,t){var n=wt(),r=n[e+19]=va(t,n[12]),i=ko(n[1],n[6],e,3,null,null);Ut(),Ta(r,i,n)}function gc(e){var t=wt(),n=en(),r=Ll(t,e);r!==io&&fa(t,n,dn(r))}function _c(e){return Ac("",e,""),_c}function Ac(e,t,n){var r=en(),i=wt(),o=jl(i,e,t,n);return o!==io&&fa(i,r,o),Ac}function vc(e,t,n,r,i){var o=en(),a=wt(),s=Hl(a,e,t,n,r,i);return s!==io&&fa(a,o,s),vc}function mc(e,t,n,r,i,o,a){var s=en(),l=wt(),u=Ql(l,e,t,n,r,i,o,a);return u!==io&&fa(l,s,u),mc}function yc(e,t,n,r,i,o,a,s,l){var u=en(),c=wt(),h=Vl(c,e,t,n,r,i,o,a,s,l);return h!==io&&fa(c,u,h),yc}function bc(e,t,n,r,i,o,a,s,l,u,c){var h=en(),d=wt(),f=Kl(d,e,t,n,r,i,o,a,s,l,u,c);return f!==io&&fa(d,h,f),bc}function Cc(e,t,n,r,i,o,a,s,l,u,c,h,d){var f=en(),p=wt(),g=Wl(p,e,t,n,r,i,o,a,s,l,u,c,h,d);return g!==io&&fa(p,f,g),Cc}function wc(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p){var g=en(),_=wt(),A=zl(_,e,t,n,r,i,o,a,s,l,u,c,h,d,f,p);return A!==io&&fa(_,g,A),wc}function kc(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_){var A=en(),v=wt(),m=ql(v,e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_);return m!==io&&fa(v,A,m),kc}function Ec(e){var t=en(),n=wt(),r=Nl(n,e);return r!==io&&fa(n,t,r),Ec}function Sc(e,t,n){var r=jl(wt(),e,t,n);wu(en(),r)}function Oc(e,t,n,r,i){var o=Hl(wt(),e,t,n,r,i);wu(en(),o)}function xc(e,t,n,r,i,o,a){var s=Ql(wt(),e,t,n,r,i,o,a);wu(en(),s)}function Pc(e,t,n,r,i,o,a,s,l){var u=Vl(wt(),e,t,n,r,i,o,a,s,l);wu(en(),u)}function Tc(e,t,n,r,i,o,a,s,l,u,c){var h=Kl(wt(),e,t,n,r,i,o,a,s,l,u,c);wu(en(),h)}function Bc(e,t,n,r,i,o,a,s,l,u,c,h,d){var f=Wl(wt(),e,t,n,r,i,o,a,s,l,u,c,h,d);wu(en(),f)}function Dc(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p){var g=zl(wt(),e,t,n,r,i,o,a,s,l,u,c,h,d,f,p);wu(en(),g)}function Mc(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_){var A=ql(wt(),e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_);wu(en(),A)}function Ic(e){var t=Nl(wt(),e);wu(en(),t)}function Rc(e,t,n,r,i){var o=jl(wt(),t,n,r);return vu(en(),e,o,i),Rc}function Fc(e,t,n,r,i,o,a){var s=Hl(wt(),t,n,r,i,o);return vu(en(),e,s,a),Fc}function Lc(e,t,n,r,i,o,a,s,l){var u=Ql(wt(),t,n,r,i,o,a,s);return vu(en(),e,u,l),Lc}function Uc(e,t,n,r,i,o,a,s,l,u,c){var h=Vl(wt(),t,n,r,i,o,a,s,l,u);return vu(en(),e,h,c),Uc}function Nc(e,t,n,r,i,o,a,s,l,u,c,h,d){var f=Kl(wt(),t,n,r,i,o,a,s,l,u,c,h);return vu(en(),e,f,d),Nc}function jc(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p){var g=Wl(wt(),t,n,r,i,o,a,s,l,u,c,h,d,f);return vu(en(),e,g,p),jc}function Hc(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_){var A=zl(wt(),t,n,r,i,o,a,s,l,u,c,h,d,f,p,g);return vu(en(),e,A,_),Hc}function Qc(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_,A,v){var m=ql(wt(),t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_,A);return vu(en(),e,m,v),Qc}function Vc(e,t,n){var r=Nl(wt(),t);return vu(en(),e,r,n),Vc}function Kc(e,t,n){var r=en(),i=Ll(wt(),t);return i!==io&&Uo(r,e,i,n,!0),Kc}function Wc(e,t,n){var r=en(),i=Ll(wt(),t);return i!==io&&Uo(r,e,i,n,!0,ca),Wc}function zc(e){var t=eh(e);return void 0===t.component&&(t.component=function(e,t){var n=t[1].data[e];return 1&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component}function qc(e){return eh(e).lView[9]}function Yc(e){for(var t,n=Zc(e).lView;null===n[0]&&(t=nr(n));)n=t;return 512&n[2]?null:n[9]}function Gc(e){return _toConsumableArray2(ir(e).components)}function Xc(e){var t=Zc(e);return new br(t.lView[1].data[t.nodeIndex],t.lView)}function Jc(e){var t=Zc(e);return void 0===t.directives&&(t.directives=Ii(t.nodeIndex,t.lView,!1)),t.directives||[]}function Zc(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Oi(e);if(!n&&t)throw new Error("Invalid ng target");return n}function $c(e){return Oi(e).native}function eh(e){if(!(e instanceof Node))throw new Error("Expecting instance of DOM Node");return Zc(e)}function th(e){return"boolean"==typeof e.useCapture}function nh(e){var t=eh(e).lView,n=t[8],r=t[1].cleanup,i=[];if(r&&n)for(var o=0;o<r.length;){var a=r[o++],s=r[o++];if("string"==typeof a){var l=a,u=st(t[s]),c=n[r[o++]],h=r[o++],d="boolean"==typeof h?h:!(h>=0)&&null;e==u&&i.push({element:e,name:l,callback:c,useCapture:d})}}return i.sort(rh),i}function rh(e,t){return e.name==t.name?0:e.name<t.name?-1:1}var ih=!1;
1function oh(){ih||(ih=!0,ah("getComponent",zc),ah("getContext",qc),ah("getListeners",nh),ah("getViewComponent",Yc),ah("getHostElement",$c),ah("getInjector",Xc),ah("getRootComponents",Gc),ah("getDirectives",Jc),ah("markDirty",iu))}function ah(e,t){if(N){var n=N.ng;n||(n=N.ng={}),n[e]=t}}function sh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Tt(null);var n=t.rendererFactory||Yn,r=t.sanitizer||null,i=Ue(e);i.type!=e&&(i.type=e);var o,a=Io(n,t.host||i.selectors[0][0]),s=i.onPush?576:528,l=ch(t.scheduler,t.playerHandler),u=n.createRenderer(a,i),c=wo(null,Mo(-1,null,1,0,null,null,null,null),l,s,null,null,n,u,void 0,t.injector||null),h=Xt(c,null),d=!1;try{n.begin&&n.begin();var f=lh(a,i,c,n,u,r);o=uh(f,i,c,l,t.hostFeatures||null),Zo(c,f),yo(c),c[2]&=-5,_t(c),yo(c),d=!0}finally{Zt(h,d),n.end&&n.end()}return o}function lh(e,t,n,r,i,o){Et=!1,kt=null,tt=0,At=!0,un(null),at(),rt.clear();var a=n[1];n[19]=e;var s=ko(a,null,0,3,null,null),l=wo(n,Do(t),null,t.onPush?64:16,n[19],s,r,i,o);return a.firstTemplatePass&&(dr(lr(s,n),a,t.type),s.flags=1,zo(s,n.length,1),Ko(s)),n[19]=l}function uh(e,t,n,r,i){var o=n[1],a=function(e,t,n){var r=It();e.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),Ho(e,r,1),qo(e,t,n,n.factory));var i=vr(e.data,t,t.length-1,r);return Vo(t,r,i),i}(o,n,t);r.components.push(a),e[9]=a,i&&i.forEach((function(e){return e(a,t)})),t.contentQueries&&t.contentQueries(1,a,n.length-1);var s=It();return o.firstTemplatePass&&t.hostBindings&&(Tt(s.index-19),jo(t,o.expandoInstructions,a,s,o.firstTemplatePass),Tt(null)),a}function ch(e,t){return{components:[],scheduler:e||pn,clean:aa,playerHandler:t||null,flags:0}}function hh(e,t){var n=gt(e)[1],r=n.data.length-1;Xe(r,t,n,-1,-1,-1),Je(n,{directiveStart:r,directiveEnd:r+1})}function dh(e){return ir(e).clean}var fh=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}),[{key:"isFirstChange",value:function(){return this.firstChange}}])}();function ph(){return gh.ngInherit=!0,gh}function gh(e){e.type.prototype.ngOnChanges&&(e.setInput=_h,e.onChanges=function(){var e=Ah(this),t=e&&e.current;if(t){var n=e.previous;if(n===ve)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}})}function _h(e,t,n,r){var i=Ah(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ve,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],l=a[s];o[s]=new fh(l&&l.currentValue,t,a===ve),e[r]=t}function Ah(e){return e.__ngSimpleChanges__||null}function vh(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor;t;){var n=void 0;if(qe(e))n=t.ngComponentDef||t.ngDirectiveDef;else{if(t.ngComponentDef)throw new Error("Directives cannot inherit Components");n=t.ngDirectiveDef}var r=t.ngBaseDef;if(r||n){var i=e;i.inputs=mh(e.inputs),i.declaredInputs=mh(e.declaredInputs),i.outputs=mh(e.outputs)}if(r){var o=r.viewQuery,a=r.contentQueries,s=r.hostBindings;s&&Ch(e,s),o&&yh(e,o),a&&bh(e,a),w(e.inputs,r.inputs),w(e.declaredInputs,r.declaredInputs),w(e.outputs,r.outputs)}if(n){var l=n.hostBindings;l&&Ch(e,l);var u=n.viewQuery,c=n.contentQueries;u&&yh(e,u),c&&bh(e,c),w(e.inputs,n.inputs),w(e.declaredInputs,n.declaredInputs),w(e.outputs,n.outputs),e.afterContentChecked=e.afterContentChecked||n.afterContentChecked,e.afterContentInit=e.afterContentInit||n.afterContentInit,e.afterViewChecked=e.afterViewChecked||n.afterViewChecked,e.afterViewInit=e.afterViewInit||n.afterViewInit,e.doCheck=e.doCheck||n.doCheck,e.onDestroy=e.onDestroy||n.onDestroy,e.onInit=e.onInit||n.onInit;var h=n.features;if(h){var d,f=_createForOfIteratorHelper2(h);try{for(f.s();!(d=f.n()).done;){var p=d.value;p&&p.ngInherit&&p(e)}}catch(_){f.e(_)}finally{f.f()}}}else{var g=t.prototype;g&&(e.afterContentChecked=e.afterContentChecked||g.ngAfterContentChecked,e.afterContentInit=e.afterContentInit||g.ngAfterContentInit,e.afterViewChecked=e.afterViewChecked||g.ngAfterViewChecked,e.afterViewInit=e.afterViewInit||g.ngAfterViewInit,e.doCheck=e.doCheck||g.ngDoCheck,e.onDestroy=e.onDestroy||g.ngOnDestroy,e.onInit=e.onInit||g.ngOnInit,g.ngOnChanges&&ph()(e))}t=Object.getPrototypeOf(t)}}function mh(e){return e===ve?{}:e===me?[]:e}function yh(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function bh(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function Ch(e,t){var n=e.hostBindings;t!==n&&(e.hostBindings=n?function(e,r,i){Dt(1);try{t(e,r,i)}finally{Dt(-1)}n(e,r,i)}:t)}function wh(e,t,n,r,i){if(e=I(e),Array.isArray(e))for(var o=0;o<e.length;o++)wh(e[o],t,n,r,i);else{var a=wt(),s=a[1],l=Ms(e)?e:I(e.provide),u=Ts(e),c=It(),h=65535&c.providerIndexes,d=c.directiveStart,f=c.providerIndexes>>16;if(e.useClass||Ms(e)){var p=(e.useClass||e).prototype.ngOnDestroy;p&&(s.destroyHooks||(s.destroyHooks=[])).push(t.length,p)}if(Ms(e)||!e.multi){var g=new Ge(u,i,fu),_=Eh(l,t,i?h:h+f,d);-1==_?(dr(lr(c,a),s,l),t.push(l),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(g),a.push(g)):(n[_]=g,a[_]=g)}else{var A=Eh(l,t,h+f,d),v=Eh(l,t,h,h+f),m=A>=0&&n[A],y=v>=0&&n[v];if(i&&!y||!i&&!m){dr(lr(c,a),s,l);var b=function(e,t,n,r,i){var o=new Ge(e,n,fu);return o.multi=[],o.index=t,o.componentProviders=0,kh(o,i,r&&!n),o}(i?Oh:Sh,n.length,i,r,u);!i&&y&&(n[v].providerFactory=b),t.push(l),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(b),a.push(b)}else kh(n[i?v:A],u,!i&&r);!i&&r&&y&&n[v].componentProviders++}}}
1function kh(e,t,n){e.multi.push(t),n&&e.componentProviders++}function Eh(e,t,n,r){for(var i=n;i<r;i++)if(t[i]===e)return i;return-1}function Sh(e,t,n,r){return xh(this.multi,[])}function Oh(e,t,n,r){var i,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=vr(t,n,this.providerFactory.index,r);xh(o,i=s.slice(0,a));for(var l=a;l<s.length;l++)i.push(s[l])}else xh(o,i=[]);return i}function xh(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function Ph(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=wt()[1];if(r.firstTemplatePass){var i=qe(e);wh(n,r.data,r.blueprint,i,!0),wh(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}}var Th=_createClass2((function e(){_classCallCheck2(this,e)})),Bh=_createClass2((function e(){_classCallCheck2(this,e)}));function Dh(e){var t=Error("No component factory found for ".concat(B(e),". Did you add it to @NgModule.entryComponents?"));return t[Mh]=e,t}var Mh="ngComponent",Ih=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"resolveComponentFactory",value:function(e){throw Dh(e)}}])}(),Rh=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e.NULL=new Ih,e}(),Fh=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._parent=n,this._ngModule=r,this._factories=new Map;for(var i=0;i<t.length;i++){var o=t[i];this._factories.set(o.componentType,o)}}),[{key:"resolveComponentFactory",value:function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Dh(e);return new Lh(t,this._ngModule)}}])}(),Lh=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t)).factory=e,r.ngModule=n,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return _inherits2(t,e),_createClass2(t,[{key:"create",value:function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}])}(Bh);function Uh(){}var Nh=function(){var e=_createClass2((function e(t){_classCallCheck2(this,e),this.nativeElement=t}));return e.__NG_ELEMENT_ID__=function(){return Hh(e)},e}(),jh=function(e){return Va(e,It(),wt())},Hh=Uh,Qh=_createClass2((function e(t,n,r,i,o,a){_classCallCheck2(this,e),this.id=t,this.templateUrl=n,this.slotCount=r,this.encapsulation=i,this.styles=o,this.animations=a})),Vh=_createClass2((function e(){_classCallCheck2(this,e)})),Kh=_createClass2((function e(){_classCallCheck2(this,e)})),Wh=_createClass2((function e(){_classCallCheck2(this,e)})),zh=_createClass2((function e(){_classCallCheck2(this,e)})),qh=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Yh=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e.__NG_ELEMENT_ID__=function(){return Xh()},e}(),Gh=function(){var e=wt(),t=ft(It().index,e);return function(e){var t=e[12];if(qn(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ve(t)?t:e)},Xh=Uh,Jh=_createClass2((function e(t){_classCallCheck2(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")})),Zh=new Jh("8.2.14"),$h=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"supports",value:function(e){return xl(e)}},{key:"create",value:function(e){return new td(e)}}])}(),ed=function(e,t){return t},td=function(){return _createClass2((function e(t){_classCallCheck2(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||ed}),[{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<od(n,r,i)?t:n,a=od(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 l=a-r,u=s-r;if(l!=u){for(var c=0;c<l;c++){var h=c<i.length?i[c]:i[c]=0,d=h+c;u<=d&&d<l&&(i[c]=h+1)}i[o.previousIndex]=u-l}}a!==s&&e(o,a,s)}}}
vendor: 6,638 bytes, line 1
1,{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=[]),!xl(e))throw new Error("Error trying to diff '".concat(B(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&&El(o.trackById,i)?(a&&(o=this._verifyReinsertion(o,r,i,s)),El(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[kl()]();!(r=i.next()).done;)t(r.value)}(e,(function(e){i=t._trackByFn(n,e),null!==o&&El(o.trackById,i)?(a&&(o=t._verifyReinsertion(o,e,i,n)),El(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:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{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))?(El(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(El(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new nd(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 id),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 id),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}}])}(),nd=_createClass2((function e(t,n){_classCallCheck2(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})),rd=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._head=null,this._tail=null}),[{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)&&El(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}}])}(),id=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.map=new Map}),[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new rd,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:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}])}();
vendor: 6,703 bytes, line 1
1function od(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 ad=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"supports",value:function(e){return e instanceof Map||Pl(e)}},{key:"create",value:function(){return new sd}}])}(),sd=function(){return _createClass2((function e(){_classCallCheck2(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}),[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{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||Pl(e)))throw new Error("Error trying to diff '".concat(B(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 ld(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){El(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)}))}}])}(),ld=_createClass2((function e(t){_classCallCheck2(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})),ud=function(){var e=function(){function e(t){_classCallCheck2(this,e),this.factories=t}return _createClass2(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 v,new _]]}}}])}();return e.ngInjectableDef=k({token:e,providedIn:"root",factory:function(){return new e([new $h])}}),e}(),cd=function(){var e=function(){function e(t){_classCallCheck2(this,e),this.factories=t}return _createClass2(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 v,new _]]}}}])}();return e.ngInjectableDef=k({token:e,providedIn:"root",factory:function(){return new e([new ad])}}),e}(),hd=[new ad],dd=new ud([new $h]),fd=new cd(hd),pd=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e.__NG_ELEMENT_ID__=function(){return _d(e,Nh)},e}(),gd=function(e,t){return Ka(e,t,It(),wt())},_d=Uh,Ad=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e.__NG_ELEMENT_ID__=function(){return md(e,Nh)},e}(),vd=function(e,t){return Wa(e,t,It(),wt())},md=Uh;function yd(e,t,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '".concat(t,"'. Current value: '").concat(n,"'.");return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return bd(n,t),n}(i,e)}function bd(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Cd(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function wd(e,t,n){var r=e.state,i=1792&r;return i===t?(e.state=-1793&r|n,e.initIndex=-1,!0):i===n}function kd(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}
vendor: 5,871 bytes, line 1
1function Ed(e,t){return e.nodes[t]}function Sd(e,t){return e.nodes[t]}function Od(e,t){return e.nodes[t]}function xd(e,t){return e.nodes[t]}function Pd(e,t){return e.nodes[t]}var Td=_createClass2((function e(){_classCallCheck2(this,e)})),Bd={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Dd=function(){},Md=new Map;function Id(e){var t=Md.get(e);return t||(t=B(e)+"_"+Md.size,Md.set(e,t)),t}function Rd(e,t,n,r){if(Ol.isWrapped(r)){r=Ol.unwrap(r);var i=e.def.nodes[t].bindingIndex+n,o=Ol.unwrap(e.oldValues[i]);e.oldValues[i]=new Ol(o)}return r}function Fd(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Ld=0;function Ud(e,t,n,r){return!(!(2&e.state)&&El(e.oldValues[t.bindingIndex+n],r))}function Nd(e,t,n,r){return!!Ud(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function jd(e,t,n,r){var i=e.oldValues[t.bindingIndex+n];if(1&e.state||!Sl(i,r)){var o=t.bindings[n].name;throw yd(Bd.createDebugContext(e,t.nodeIndex),"".concat(o,": ").concat(i),"".concat(o,": ").concat(r),0!=(1&e.state))}}function Hd(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Qd(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Vd(e,t,n,r){try{return Hd(33554432&e.def.nodes[t].flags?Sd(e,t).componentView:e),Bd.handleEvent(e,t,n,r)}catch(i){e.root.errorHandler.handleError(i)}}function Kd(e){return e.parent?Sd(e.parent,e.parentNodeDef.nodeIndex):null}function Wd(e){return e.parent?e.parentNodeDef.parent:null}function zd(e,t){switch(201347067&t.flags){case 1:return Sd(e,t.nodeIndex).renderElement;case 2:return Ed(e,t.nodeIndex).renderText}}function qd(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Yd(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Gd(e){return 1<<e%32}function Xd(e){var t={},n=0,r={};return e&&e.forEach((function(e){var i=_slicedToArray2(e,2),o=i[0],a=i[1];"number"==typeof o?(t[o]=a,n|=Gd(o)):r[o]=a})),{matchedQueries:t,references:r,matchedQueryIds:n}}function Jd(e,t){return e.map((function(e){var n,r,i;return Array.isArray(e)?(i=(n=_slicedToArray2(e,2))[0],r=n[1]):(i=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,"__source",{value:t,configurable:!0}),{flags:i,token:r,tokenKey:Id(r)}}))}function Zd(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===_e.Native?Sd(e,n.renderParent.nodeIndex).renderElement:void 0:t}var $d=new WeakMap;function ef(e){var t=$d.get(e);return t||((t=e((function(){return Dd}))).factory=e,$d.set(e,t)),t}function tf(e,t,n,r,i){3===t&&(n=e.renderer.parentNode(zd(e,e.def.lastRenderRootNode))),nf(e,t,0,e.def.nodes.length-1,n,r,i)}function nf(e,t,n,r,i,o,a){for(var s=n;s<=r;s++){var l=e.def.nodes[s];11&l.flags&&of(e,l,t,i,o,a),s+=l.childCount}}function rf(e,t,n,r,i,o){for(var a=e;a&&!qd(a);)a=a.parent;for(var s=a.parent,l=Wd(a),u=l.nodeIndex+l.childCount,c=l.nodeIndex+1;c<=u;c++){var h=s.def.nodes[c];h.ngContentIndex===t&&of(s,h,n,r,i,o),c+=h.childCount}if(!s.parent){var d=e.root.projectableNodes[t];if(d)for(var f=0;f<d.length;f++)af(e,d[f],n,r,i,o)}}function of(e,t,n,r,i,o){if(8&t.flags)rf(e,t.ngContent.index,n,r,i,o);else{var a=zd(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&af(e,a,n,r,i,o),32&t.bindingFlags&&af(Sd(e,t.nodeIndex).componentView,a,n,r,i,o)):af(e,a,n,r,i,o),16777216&t.flags)for(var s=Sd(e,t.nodeIndex).viewContainer._embeddedViews,l=0;l<s.length;l++)tf(s[l],n,r,i,o);1&t.flags&&!t.element.name&&nf(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,i,o)}}function af(e,t,n,r,i,o){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,i);break;case 3:a.removeChild(r,t);break;case 0:o.push(t)}}var sf=/^:([^:]+):(.+)$/;function lf(e){if(":"===e[0]){var t=e.match(sf);return[t[1],t[2]]}return["",e]}function uf(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function cf(e,t){for(var n="",r=0;r<2*e;r+=2)n=n+t[r]+df(t[r+1]);return n+t[2*e]}function hf(e,t,n,r,i,o,a,s,l,u,c,h,d,f,p,g,_,A,v,m){switch(e){case 1:return t+df(n)+r;case 2:return t+df(n)+r+df(i)+o;case 3:return t+df(n)+r+df(i)+o+df(a)+s;case 4:return t+df(n)+r+df(i)+o+df(a)+s+df(l)+u;case 5:return t+df(n)+r+df(i)+o+df(a)+s+df(l)+u+df(c)+h;case 6:return t+df(n)+r+df(i)+o+df(a)+s+df(l)+u+df(c)+h+df(d)+f;case 7:return t+df(n)+r+df(i)+o+df(a)+s+df(l)+u+df(c)+h+df(d)+f+df(p)+g;case 8:return t+df(n)+r+df(i)+o+df(a)+s+df(l)+u+df(c)+h+df(d)+f+df(p)+g+df(_)+A;case 9:return t+df(n)+r+df(i)+o+df(a)+s+df(l)+u+df(c)+h+df(d)+f+df(p)+g+df(_)+A+df(v)+m;default:throw new Error("Does not support more than 9 expressions")}}function df(e){return null!=e?e.toString():""}var ff=[],pf={},gf=new Object,_f=Id(Fs),Af=Id(V),vf=Id(oe);function mf(e,t,n,r){return n=I(n),{index:-1,deps:Jd(r,B(t)),flags:e,token:t,value:n}}function yf(e){for(var t={},n=[],r=!1,i=0;i<e.length;i++){var o=e[i];o.token===bs&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=i,t[Id(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}function bf(e,t){var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Fs.THROW_IF_NOT_FOUND,o=Y(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(i=null),1&t.flags)return e._parent.get(t.token,i);var a=t.tokenKey;switch(a){case _f:case Af:case vf:return e}var s,l=e._def.providersByKey[a];if(l){var u=e._providers[l.index];return void 0===u&&(u=e._providers[l.index]=Cf(e,l)),u===gf?void 0:u}
1if((s=O(t.token))&&(n=e,null!=(r=s).providedIn&&(function(e,t){return e._def.modules.indexOf(t)>-1}(n,r.providedIn)||"root"===r.providedIn&&n._def.isRoot))){var c=e._providers.length;return e._def.providers[c]=e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:c,token:t.token},e._providers[c]=gf,e._providers[c]=Cf(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?i:e._parent.get(t.token,i)}finally{Y(o)}}function Cf(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(bf(e,n[0]));case 2:return new t(bf(e,n[0]),bf(e,n[1]));case 3:return new t(bf(e,n[0]),bf(e,n[1]),bf(e,n[2]));default:for(var i=new Array(r),o=0;o<r;o++)i[o]=bf(e,n[o]);return _construct(t,i)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(bf(e,n[0]));case 2:return t(bf(e,n[0]),bf(e,n[1]));case 3:return t(bf(e,n[0]),bf(e,n[1]),bf(e,n[2]));default:for(var i=Array(r),o=0;o<r;o++)i[o]=bf(e,n[o]);return t.apply(void 0,i)}}(e,t.value,t.deps);break;case 2048:n=bf(e,t.deps[0]);break;case 256:n=t.value}return n===gf||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?gf:n}function wf(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,he(n,t),Bd.dirtyParentQueries(r),Ef(r),r}function kf(e,t,n){var r=t?zd(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);tf(n,2,i,o,void 0)}function Ef(e){tf(e,3,null,null,void 0)}var Sf=new Object;function Of(e,t,n,r,i,o){return new Pf(e,t,n,r,i,o)}function xf(e){return e.viewDefFactory}var Pf=function(e){function t(e,n,r,i,o,a){var s;return _classCallCheck2(this,t),(s=_callSuper(this,t)).selector=e,s.componentType=n,s._inputs=i,s._outputs=o,s.ngContentSelectors=a,s.viewDefFactory=r,s}return _inherits2(t,e),_createClass2(t,[{key:"inputs",get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e}},{key:"outputs",get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}},{key:"create",value:function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var i=ef(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=Bd.createRootView(e,t||[],n,i,r,Sf),s=Od(a,o).instance;return n&&a.renderer.setAttribute(Sd(a,0).renderElement,"ng-version",Zh.full),new Tf(a,new If(a),s)}}])}(Bh),Tf=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t))._view=e,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return _inherits2(t,e),_createClass2(t,[{key:"location",get:function(){return new Nh(Sd(this._view,this._elDef.nodeIndex).renderElement)}},{key:"injector",get:function(){return new Uf(this._view,this._elDef)}},{key:"componentType",get:function(){return this._component.constructor}},{key:"destroy",value:function(){this._viewRef.destroy()}},{key:"onDestroy",value:function(e){this._viewRef.onDestroy(e)}}])}(Th);function Bf(e,t,n){return new Df(e,t,n)}var Df=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._view=t,this._elDef=n,this._data=r,this._embeddedViews=[]}),[{key:"element",get:function(){return new Nh(this._data.renderElement)}},{key:"injector",get:function(){return new Uf(this._view,this._elDef)}},{key:"parentInjector",get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Wd(e),e=e.parent;return e?new Uf(e,t):new Uf(this._view,null)}},{key:"clear",value:function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=wf(this._data,e);Bd.destroyView(t)}}},{key:"get",value:function(e){var t=this._embeddedViews[e];if(t){var n=new If(t);return n.attachToViewContainerRef(this),n}return null}},{key:"length",get:function(){return this._embeddedViews.length}},{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;i||e instanceof Lh||(i=o.get(oe));var a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a}},{key:"insert",value:function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,a,s=e;return n=this._view,r=this._data,i=t,o=s._view,a=r.viewContainer._embeddedViews,null==i&&(i=a.length),o.viewContainerParent=n,ce(a,i,o),function(e,t){var n=Kd(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}(t.parent.def,t.parentNodeDef)}}(r,o),Bd.dirtyParentQueries(o),kf(r,i>0?a[i-1]:null,o),s.attachToViewContainerRef(this),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,a,s=this._embeddedViews.indexOf(e._view);return n=this._data,r=s,i=t,o=n.viewContainer._embeddedViews,a=o[r],he(o,r),null==i&&(i=o.length),ce(o,i,a),Bd.dirtyParentQueries(a),Ef(a),kf(n,i>0?o[i-1]:null,a),e}},{key:"indexOf",value:function(e){return this._embeddedViews.indexOf(e._view)}},{key:"remove",value:function(e){var t=wf(this._data,e);t&&Bd.destroyView(t)}},{key:"detach",value:function(e){var t=wf(this._data,e);return t?new If(t):null}}])}();function Mf(e){return new If(e)}var If=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._view=t,this._viewContainerRef
1=null,this._appRef=null}),[{key:"rootNodes",get:function(){return tf(this._view,0,void 0,void 0,e=[]),e;var e}},{key:"context",get:function(){return this._view.context}},{key:"destroyed",get:function(){return 0!=(128&this._view.state)}},{key:"markForCheck",value:function(){Hd(this._view)}},{key:"detach",value:function(){this._view.state&=-5}},{key:"detectChanges",value:function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Bd.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}},{key:"checkNoChanges",value:function(){Bd.checkNoChangesView(this._view)}},{key:"reattach",value:function(){this._view.state|=4}},{key:"onDestroy",value:function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}},{key:"destroy",value:function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Bd.destroyView(this._view)}},{key:"detachFromAppRef",value:function(){this._appRef=null,Ef(this._view),Bd.dirtyParentQueries(this._view)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}])}();function Rf(e,t){return new Ff(e,t)}var Ff=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t))._parentView=e,r._def=n,r}return _inherits2(t,e),_createClass2(t,[{key:"createEmbeddedView",value:function(e){return new If(Bd.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}},{key:"elementRef",get:function(){return new Nh(Sd(this._parentView,this._def.nodeIndex).renderElement)}}])}(pd);function Lf(e,t){return new Uf(e,t)}var Uf=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.view=t,this.elDef=n}),[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fs.THROW_IF_NOT_FOUND;return Bd.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Id(e)},t)}}])}();function Nf(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Sd(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Ed(e,n.nodeIndex).renderText;if(20240&n.flags)return Od(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function jf(e){return new Hf(e.renderer)}var Hf=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.delegate=t}),[{key:"selectRootElement",value:function(e){return this.delegate.selectRootElement(e)}},{key:"createElement",value:function(e,t){var n=_slicedToArray2(lf(t),2),r=n[0],i=n[1],o=this.delegate.createElement(i,r);return e&&this.delegate.appendChild(e,o),o}},{key:"createViewRoot",value:function(e){return e}},{key:"createTemplateAnchor",value:function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}},{key:"createText",value:function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}},{key:"projectNodes",value:function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])}},{key:"attachViewAfter",value:function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),i=0;i<t.length;i++)this.delegate.insertBefore(n,t[i],r)}},{key:"detachView",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}},{key:"destroyView",value:function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"listenGlobal",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"setElementProperty",value:function(e,t,n){this.delegate.setProperty(e,t,n)}},{key:"setElementAttribute",value:function(e,t,n){var r=_slicedToArray2(lf(t),2),i=r[0],o=r[1];null!=n?this.delegate.setAttribute(e,o,n,i):this.delegate.removeAttribute(e,o,i)}},{key:"setBindingDebugInfo",value:function(e,t,n){}},{key:"setElementClass",value:function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}},{key:"setElementStyle",value:function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}},{key:"invokeElementMethod",value:function(e,t,n){e[t].apply(e,n)}},{key:"setText",value:function(e,t){this.delegate.setValue(e,t)}},{key:"animate",value:function(){throw new Error("Renderer.animate is no longer supported!")}}])}();function Qf(e,t,n,r){return new Vf(e,t,n,r)}var Vf=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this._moduleType=t,this._parent=n,this._bootstrapComponents=r,this._def=i,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var i=t.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=Cf(e,i))}}(this)}),[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fs.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b.Default,r=0;return n&b.SkipSelf?r|=1:n&b.Self&&(r|=4),bf(this,{token:e,tokenKey:Id(e),flags:r},t)}},{key:"instance",get:function(){return this.get(this._moduleType)}},{key:"componentFactoryResolver",get:function(){return this.get(Rh)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The ng module ".concat(B(this.instance.constructor)," has already been destroyed."));this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){var o=e._providers[i];if(o&&o!==gf){var a=o.ngOnDestroy;
vendor: 5,157 bytes, line 1
1"function"!=typeof a||r.has(o)||(a.apply(o),r.add(o))}}}(this),this._destroyListeners.forEach((function(e){return e()}))}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}}])}(),Kf=Id(Kh),Wf=Id(Yh),zf=Id(Nh),qf=Id(Ad),Yf=Id(pd),Gf=Id(qa),Xf=Id(Fs),Jf=Id(V);function Zf(e,t,n,r,i,o,a,s){var l=[];if(a)for(var u in a){var c=_slicedToArray2(a[u],2),h=c[0],d=c[1];l[h]={flags:8,name:u,nonMinifiedName:d,ns:null,securityContext:null,suffix:null}}var f=[];if(s)for(var p in s)f.push({type:1,propName:p,target:null,eventName:s[p]});return tp(e,t|=16384,n,r,i,i,o,l,f)}function $f(e,t,n){return tp(-1,e|=16,null,0,t,t,n)}function ep(e,t,n,r,i){return tp(-1,e,t,0,n,r,i)}function tp(e,t,n,r,i,o,a,s,l){var u=Xd(n),c=u.matchedQueries,h=u.references,d=u.matchedQueryIds;l||(l=[]),s||(s=[]),o=I(o);var f=Jd(a,B(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:h,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:uf(s),outputs:l,element:null,provider:{token:i,value:o,deps:f},text:null,query:null,ngContent:null}}function np(e,t){return ap(e,t)}function rp(e,t){for(var n=e;n.parent&&!qd(n);)n=n.parent;return sp(n.parent,Wd(n),!0,t.provider.value,t.provider.deps)}function ip(e,t){var n=sp(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var i=t.outputs[r],o=n[i.propName];if(!zu(o))throw new Error("@Output ".concat(i.propName," not initialized in '").concat(n.constructor.name,"'."));var a=o.subscribe(op(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+r]=a.unsubscribe.bind(a)}return n}function op(e,t,n){return function(r){return Vd(e,t,n,r)}}function ap(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return sp(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(up(e,t,n,i[0]));case 2:return r(up(e,t,n,i[0]),up(e,t,n,i[1]));case 3:return r(up(e,t,n,i[0]),up(e,t,n,i[1]),up(e,t,n,i[2]));default:for(var a=Array(o),s=0;s<o;s++)a[s]=up(e,t,n,i[s]);return r.apply(void 0,a)}}(e,t.parent,n,r.value,r.deps);case 2048:return up(e,t.parent,n,r.deps[0]);case 256:return r.value}}function sp(e,t,n,r,i){var o=i.length;switch(o){case 0:return new r;case 1:return new r(up(e,t,n,i[0]));case 2:return new r(up(e,t,n,i[0]),up(e,t,n,i[1]));case 3:return new r(up(e,t,n,i[0]),up(e,t,n,i[1]),up(e,t,n,i[2]));default:for(var a=new Array(o),s=0;s<o;s++)a[s]=up(e,t,n,i[s]);return _construct(r,a)}}var lp={};function up(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Fs.THROW_IF_NOT_FOUND;if(8&r.flags)return r.token;var o=e;2&r.flags&&(i=null);var a=r.tokenKey;a===Gf&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(a){case Kf:return jf(cp(s,t,n));case Wf:return cp(s,t,n).renderer;case zf:return new Nh(Sd(s,t.nodeIndex).renderElement);case qf:return Sd(s,t.nodeIndex).viewContainer;case Yf:if(t.element.template)return Sd(s,t.nodeIndex).template;break;case Gf:return Mf(cp(s,t,n));case Xf:case Jf:return Lf(s,t);default:var l=(n?t.element.allProviders:t.element.publicProviders)[a];if(l){var u=Od(s,l.nodeIndex);return u||(u={instance:ap(s,l)},s.nodes[l.nodeIndex]=u),u.instance}}n=qd(s),t=Wd(s),s=s.parent,4&r.flags&&(s=null)}var c=o.root.injector.get(r.token,lp);return c!==lp||i===lp?c:o.root.ngModule.injector.get(r.token,i)}function cp(e,t,n){var r;if(n)r=Sd(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!qd(r);)r=r.parent;return r}function hp(e,t,n,r,i,o){if(32768&n.flags){var a=Sd(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[r].name]=i,524288&n.flags){o=o||{};var s=Ol.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new fh(s,i,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=i,o}function dp(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,i=0;i<n.length;i++){var o=n[i],a=o.parent;for(!a&&o.flags&t&&pp(e,i,o.flags&t,r++),0==(o.childFlags&t)&&(i+=o.childCount);a&&1&a.flags&&i===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=fp(e,a,t,r)),a=a.parent}}function fp(e,t,n,r){for(var i=t.nodeIndex+1;i<=t.nodeIndex+t.childCount;i++){var o=e.def.nodes[i];o.flags&n&&pp(e,i,o.flags&n,r++),i+=o.childCount}return r}function pp(e,t,n,r){var i=Od(e,t);if(i){var o=i.instance;o&&(Bd.setCurrentNode(e,t),1048576&n&&kd(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&kd(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}function gp(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var _p=new Q("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return pn}}),Ap=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t)).componentDef=e,r.ngModule=n,r.componentType=e.type,r.selector=e.selectors[0][0]||"div",r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!n,r}
1return _inherits2(t,e),_createClass2(t,[{key:"inputs",get:function(){return gp(this.componentDef.inputs)}},{key:"outputs",get:function(){return gp(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,r){var i=(r=r||this.ngModule)?function(e,t){return{get:function(n,r,i){var o=e.get(n,lp,i);return o!==lp||r===lp?o:t.get(n,r,i)}}}(e,r.injector):e,o=i.get(zh,Yn),a=i.get(di,null);ln();var s=n?Io(o,n):Co(this.selector,o.createRenderer(null,this.componentDef)),l=this.componentDef.onPush?576:528,u="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),c=ch(),h=o.createRenderer(s,this.componentDef);n&&s&&(qn(h)?h.setAttribute(s,"ng-version",Zh.full):s.setAttribute("ng-version",Zh.full));var d,f,p=wo(null,Mo(-1,null,1,0,null,null,null,null),c,l,null,null,o,h,a,i),g=Xt(p,null),_=!1;try{var A=lh(s,this.componentDef,p,o,h);f=ht(0,p),t&&(f.projection=t.map((function(e){return Array.from(e)}))),d=uh(A,this.componentDef,p,c,[hh]),Zo(p,A),yo(p),_=!0}finally{Zt(g,_)}var v=new vp(this.componentType,d,Va(Nh,f,p),p,f);return n&&!u||(v.hostView._tViewNode.child=f),v}}])}(Bh),vp=function(e){function t(e,n,r,i,o){var a;return _classCallCheck2(this,t),(a=_callSuper(this,t)).location=r,a._rootLView=i,a._tNode=o,a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new Qa(i),a.hostView._tViewNode=Eo(i[1],null,-1,i),a.componentType=e,a}return _inherits2(t,e),_createClass2(t,[{key:"injector",get:function(){return new br(this._tNode,this._rootLView)}},{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)}}])}(Th),mp={},yp=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,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};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.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),bp=void 0,Cp=["en",[["a","p"],["AM","PM"],bp],[["AM","PM"],bp,bp],[["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"]],bp,[["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"]],bp,[["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}",bp,"{1} 'at' {0}",bp],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];function wp(e){return kp(e)[yp.PluralCase]}function kp(e){var t=e.toLowerCase().replace(/_/g,"-"),n=mp[t];if(n)return n;var r=t.split("-")[0];if(n=mp[r])return n;if("en"===r)return Cp;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}var Ep="en-US",Sp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Op=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,xp=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,Pp=/\ufffd(\d+):?\d*\ufffd/gi,Tp=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Bp=/\[(\ufffd.+?\ufffd?)\]/,Dp=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,Mp=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Ip=/{([A-Z0-9_]+)}/g,Rp=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Fp=/\/\*/,Lp=/\d+\:(\d+)/;function Up(e){if(!e)return[];var t,n=0,r=[],i=[],o=/[{}]/g;for(o.lastIndex=0;t=o.exec(e);){var a=t.index;if("}"==t[0]){if(r.pop(),0==r.length){var s=e.substring(n,a);Sp.test(s)?i.push(Np(s)):i.push(s),n=a+1}}else{if(0==r.length){var l=e.substring(n,a);i.push(l),n=a+1}r.push("{")}}var u=e.substring(n);return i.push(u),i}function Np(e){for(var t=[],n=[],r=1,i=0,o=Up(e=e.replace(Sp,(function(e,t,n){return r="select"===n?0:1,i=parseInt(t.substr(1),10),""}))),a=0;a<o.length;){var s=o[a++].trim();1===r&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&t.push(s);var l=Up(o[a++]);t.length>n.length&&n.push(l)}return t.indexOf("other")<=-1&&de('Missing key "other" in ICU statement.'),{type:r,mainBinding:i,cases:t,values:n}}function jp(e){for(var t,n,r="",i=0,o=!1;null!==(t=Op.exec(e));)o?t[0]==="\ufffd/*".concat(n,"\ufffd")&&(i=t.index,o=!1):(r+=e.substring(i,t.index+t[0].length),n=t[1],o=!0);return r+=e.substr(i)}function Hp(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=[null,null],o=e.split(Pp),a=0,s=0;s<o.length;s++){var l=o[s];if(1&s){var u=parseInt(l,10);i.push(-1-u),a|=Wp(u)}else""!==l&&i.push(l)}return i.push(t<<2|(n?1:0)),n&&i.push(n,r),i[0]=a,i[1]=i.length-2,i}function Qp(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n|=Wp(e.mainBinding);for(var r=0;r<e.values.length;r++)for(var i=e.values[r],o=0;o<i.length;o++){var a=i[o];if("string"==typeof a)for(;t=Pp.exec(a);)n|=Wp(parseInt(t[1],10));else n=Qp(a,n)}return n}var Vp=[],Kp=-1;function Wp(e){return 1<<Math.min(e,31)}var zp,qp=[];function Yp(e,t,n){var r=wt()[1];Vp[++Kp]=e,nc(!0),r.firstTemplatePass&&null===r.data[e+19]&&function(e,t,n,r){var i=wt(),o=e.blueprint.length-19;zp=0;var a=It(),s=Lt()?It():a&&a.parent,l=s&&s!==i[6]?s.index-19:t,u=0;qp[u]=l;var c=[];t>0&&a!==s&&c.push(a.index<<3|0);for(var h,d=[],f=[],p=(h=function(e,t){if("number"!=typeof t)return jp(e);var n=e.indexOf(":".concat(t,"\ufffd"))+2+t.toString().length,r=e.search(new RegExp("\ufffd\\/\\*\\d+:".concat(t,"\ufffd")));return jp(e.substring(n,r))}(n,r),h.replace(hg," ")).split(xp),g=0;g<p.length;g++){var _=p[g];if(1&g)if("/"===_.charAt(0)){if("#"===_.charAt(1)){var A=parseInt(_.substr(2),10);l=qp[--u],c.push(A<<3|5)}}else{var v=parseInt(_.substr(1),10);c.push(v<<3|0,l<<17|1),"#"===_.charAt(0)&&(qp[++u]=l=v)}else for(var m=Up(_),y=0;y<m.length;y++)if(1&y){var b=o+zp++;c.push(ao,"",b,l<<17|1);var C=m[y],w=Qp(C);lg(f,C,b,b);var k=f.length-1;d.push(Wp(C.mainBinding),3,-1-C.mainBinding,b<<2|2,k,w,2,b<<2|3,k)}else if(""!==m[y]){var E=m[y],S=E.match(Pp),O=o+zp++;c.push(S?"":E,O,l<<17|1),S&&se(Hp(E,O),d)}}zp>0&&function(e,t){if(t>0){var n=e[1];if(n.firstTemplatePass){for(var r=0;r<t;r++)n.blueprint.push(null),n.data.push(null),e.push(null);n.expandoInstructions?n.expandoInstructions.push(t):n.expandoStartIndex+=t}}}(i,zp),e.data[t+19]={vars:zp,create:c,update:d,icus:f.length?f:null}}(r,e,t,n)}function Gp(e,t,n,r){var i=e.next;n||(n=t),n===t&&e!==t.child?(e.next=t.child,t.child=e):n!==t&&e!==n.next?(e.next=n.next,n.next=e):e.next=null,t!==r[6]&&(e.parent=t);for(var o=e.next;o;)o.next===e&&(o.next=i),o=o.next;if(1===e.type)return Ma(r,e,e.projection,rr(r)),e;Ta(ut(e,r),e,r);var a=r[e.index];return 0!==e.type&&Ke(a)&&Ta(a[7],e,r),e}function Xp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;if(Bp.test(e)){var r={},i=[0];n=n.replace(Dp,(function(e,t,n){var o=t||n,a=r[o]||[];if(a.length||(o.split("|").forEach((function(e){var t=e.match(Lp),n=t?parseInt(t[1],10):0,r=Fp.test(e);a.push([n,r,e])})),r[o]=a),!a.length)throw new Error("i18n postprocess: unmatched placeholder - "+o);for(var s=i[i.length-1],l=0,u=0;u<a.length;u++)if(a[u][0]===s){l=u;break}var c=_slicedToArray2(a[l],3),h=c[0],d=c[1],f=c[2];return d?i.pop():s!==h&&i.push(h),a.splice(l,1),f}))}return Object.keys(t).length?n=(n=(n=n.replace(Mp,(function(e,n,r,i,o,a){return t.hasOwnProperty(r)?"".concat(n).concat(t[r]).concat(a):e}))).replace(Ip,(function(e,n){return t.hasOwnProperty(n)?t[n]:e}))).replace(Rp,(function(e,n){if(t.hasOwnProperty(n)){var r=t[n];if(!r.length)throw new Error("i18n postprocess: unmatched ICU - ".concat(e," with key: ").concat(n));return r.shift()}return e})):n}function Jp(){!function(e){for(var t=wt(),n=Vp[Kp--],r=e.data[n+19],i=It(),o=$p(n,r.create,0,t),a=n+1;a<=i.index-19;a++)-1===o.indexOf(a)&&eg(a,t)}(wt()[1]),nc(!1)}function Zp(e,t,n,r,i){var o=It();e[t+19]=r;var a=ko(e[1],e[6],t,n,i,null);return o.next===a&&(o.next=null),a}function $p(e,t,n,r){for(var i=wt()[12],o=null,a=null,s=[],l=0;l<t.length;l++){var u=t[l];if("string"==typeof u){var c=va(u,i),h=t[++l];a=o,o=Zp(r,h,3,c,null),s.push(h),Ut()}else if("number"==typeof u)switch(7&u){case 1:var d=u>>>17;a=Gp(o,d===e?r[6]:ht(d,r),a,r);break;case 0:var f=u>>>3;s.push(f),a=o,(o=ht(f,r))&&Rt(o,3===o.type);break;case 5:a=o=ht(u>>>3,r),Rt(o,!1);break;case 4:Go(u>>>3,t[++l],t[++l],r);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(u,'"'))}else switch(u){case ao:var p=t[++l],g=t[++l],_=i.createComment(p);a=o,o=Zp(r,g,5,_,null),s.push(g),Ti(_,r),o.activeCaseIndex=null,Ut();break;case oo:var A=t[++l],v=t[++l];a=o,o=Zp(r,v,3,i.createElement(A),A),s.push(v);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(u,'"'))}}return Ut(),s}function eg(e,t){var n=ht(e,t),r=lt(e,t);r&&Da(t[12],r);var i=du(e);if(Ke(i)){var o=i;
10!==n.type&&Da(t[12],o[7])}n.flags|=32}function tg(e,t,n){Yp(e,t,n),Jp()}function ng(e,t){!function(e,t,n){for(var r=It().index-19,i=[],o=0;o<n.length;o+=2)for(var a=n[o],s=n[o+1].split(Tp),l=0;l<s.length;l++){var u=s[l];if(1&l)throw new Error("ICU expressions are not yet supported in attributes");if(""!==u)if(u.match(Pp))e.firstTemplatePass&&null===e.data[t+19]&&se(Hp(u,r,a),i);else{var c=wt();Go(r,a,u,c);var h=ht(r,c),d=h.inputs&&h.inputs[a];d&&da(c,d,u)}}e.firstTemplatePass&&null===e.data[t+19]&&(e.data[t+19]=i)}(wt()[1],e,t)}var rg=0,ig=0;function og(e){return Ll(wt(),e)!==io&&(rg|=1<<ig),ig++,og}function ag(e){if(ig){var t,n=wt(),r=n[1].data[e+19],i=null;Array.isArray(r)?t=r:(t=r.update,i=r.icus),function e(t,n,r,i,o){for(var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=!1,l=0;l<t.length;l++){var u=t[l],c=t[++l];if(a||u&i)for(var h="",d=l+1;d<=l+c;d++){var f=t[d];if("string"==typeof f)h+=f;else if("number"==typeof f)if(f<0)h+=dn(o[r-f]);else{var p=f>>>2,g=void 0,_=void 0;switch(3&f){case 1:Uo(p,t[++d],h,t[++d]);break;case 0:fa(o,p,h);break;case 2:if(g=n[t[++d]],null!==(_=ht(p,o)).activeCaseIndex)for(var A=g.remove[_.activeCaseIndex],v=0;v<A.length;v++){var m=A[v];switch(7&m){case 3:eg(m>>>3,o);break;case 6:var y=ht(A[v+1]>>>3,o).activeCaseIndex;null!==y&&se(n[m>>>3].remove[y],A)}}var b=sg(g,h);_.activeCaseIndex=-1!==b?b:null,$p(-1,g.create[b],0,o),s=!0;break;case 3:g=n[t[++d]],_=ht(p,o),e(g.update[_.activeCaseIndex],n,r,i,o,s)}}}l+=c}}(t,i,n[7]-ig-1,rg,n),rg=0,ig=0}}function sg(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var r=function(e,t){switch(wp(t)(e)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(t,_g);-1===(n=e.cases.indexOf(r))&&"other"!==r&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function lg(e,t,n,r){for(var i=[],o=[],a=[],s=[],l=[],u=0;u<t.values.length;u++){for(var c=t.values[u],h=[],d=0;d<c.length;d++){var f=c[d];if("string"!=typeof f){var p=h.push(f)-1;c[d]="\x3c!--\ufffd".concat(p,"\ufffd--\x3e")}}var g=ug(c.join(""),n,h,e,r);i.push(g.create),o.push(g.remove),a.push(g.update),s.push(g.vars),l.push(g.childIcus)}e.push({type:t.type,vars:s,childIcus:l,cases:t.cases,create:i,remove:o,update:a}),zp+=Math.max.apply(Math,s)}function ug(e,t,n,r,i){var o=new Qr(document).getInertBodyElement(e);if(!o)throw new Error("Unable to generate inert body element");var a={vars:0,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,r,i,o,a){if(t){for(var s=[];t;){var l=t.nextSibling,u=a+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:var c=t,h=c.tagName.toLowerCase();if(ei.hasOwnProperty(h)){n.create.push(oo,h,u,r<<17|1);for(var d=c.attributes,f=0;f<d.length;f++){var p=d.item(f),g=p.name.toLowerCase();p.value.match(Pp)?ri.hasOwnProperty(g)&&se(ti[g]?Hp(p.value,u,p.name,Wr):ni[g]?Hp(p.value,u,p.name,zr):Hp(p.value,u,p.name),n.update):n.create.push(u<<3|4,p.name,p.value)}e(t.firstChild,n,u,i,o,a),n.remove.push(u<<3|3)}else n.vars--;break;case Node.TEXT_NODE:var _=t.textContent||"",A=_.match(Pp);n.create.push(A?"":_,u,r<<17|1),n.remove.push(u<<3|3),A&&se(Hp(_,u),n.update);break;case Node.COMMENT_NODE:var v=cg.exec(t.textContent||"");if(v){var m=parseInt(v[1],10);n.create.push(ao,"",u,r<<17|1),s.push([i[m],u])}else n.vars--;break;default:n.vars--}t=l}for(var y=0;y<s.length;y++){var b=s[y][0],C=s[y][1];lg(o,b,C,a+n.vars);var w=o.length-1;n.vars+=Math.max.apply(Math,_toConsumableArray2(o[w].vars)),n.childIcus.push(w);var k=Qp(b);n.update.push(Wp(b.mainBinding),3,-1-b.mainBinding,C<<2|2,w,k,2,C<<2|3,w),n.remove.push(w<<3|6,C<<3|3)}}}((ci(o)||o).firstChild,a,t,n,r,i),a}var cg=/\ufffd(\d+)\ufffd/,hg=/\uE500/g,dg={};function fg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{translations:{}};dg=e.translations}var pg=/\{\$(.*?)\}/g;function gg(e,t){return void 0!==dg[e]&&(e=dg[e]),void 0!==t&&Object.keys(t).length?e.replace(pg,(function(e,n){return t[n]||""})):e}var _g=Ep;function Ag(e){null==e&&de("Expected localeId to be defined"),"string"==typeof e&&(_g=e.toLowerCase().replace(/_/g,"-"))}var vg=new Map;function mg(e,t){var n=vg.get(e);yg(e,n&&n.moduleType,t.moduleType),vg.set(e,t)}function yg(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(B(t)," vs ").concat(B(t.name)))}function bg(e){if(null!==e.ngModuleDef.id){var t=e.ngModuleDef.id;yg(t,vg.get(t),e),vg.set(t,e)}var n=e.ngModuleDef.imports;
1n instanceof Function&&(n=n()),n&&n.forEach((function(e){return bg(e)}))}function Cg(e){return vg.get(e)}var wg={provide:Rh,useClass:function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t)).ngModule=e,n}return _inherits2(t,e),_createClass2(t,[{key:"resolveComponentFactory",value:function(e){var t=Ue(e);return new Ap(t,this.ngModule)}}])}(Rh),deps:[oe]},kg=function(e){function t(e,n){var r;_classCallCheck2(this,t),(r=_callSuper(this,t))._parent=n,r._bootstrapComponents=[],r.injector=_assertThisInitialized2(r),r.destroyCbs=[];var i=Qe(e),o=e[ke]||null;return o&&Ag(o),r._bootstrapComponents=mn(i.bootstrap),r._r3Injector=Os(e,n,[{provide:oe,useValue:r},wg],B(e)),r.instance=r.get(e),r}return _inherits2(t,e),_createClass2(t,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fs.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b.Default;return e===Fs||e===oe||e===V?this:this._r3Injector.get(e,t,n)}},{key:"componentFactoryResolver",get:function(){return this.get(Rh)}},{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)}}])}(oe),Eg=function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t)).moduleType=e,null!==Qe(e)&&bg(e),n}return _inherits2(t,e),_createClass2(t,[{key:"create",value:function(e){return new kg(this.moduleType,e)}}])}(ae);function Sg(e,t,n,r){return Ae((function(){var i,o=e,a=o.prototype?Object.getPrototypeOf(o.prototype):null,s=a&&a.constructor;null!==t&&(void 0===o.decorators||s&&s.decorators===o.decorators?o.decorators=t:(i=o.decorators).push.apply(i,_toConsumableArray2(t))),null!==n&&(o.ctorParameters=n),null!==r&&(o.propDecorators=void 0===o.propDecorators||s&&s.propDecorators===o.propDecorators?r:Object.assign({},o.propDecorators,r))}))}function Og(e,t,n){var r=Wt()+e,i=wt();return Nt()?Tl(i,r,n?t.call(n):t()):Bl(i,r)}function xg(e,t,n,r){var i=wt(),o=Wt()+e;return Dl(i,o,n)?Tl(i,o+1,r?t.call(r,n):t(n)):Bl(i,o+1)}function Pg(e,t,n,r,i){var o=Wt()+e,a=wt();return Ml(a,o,n,r)?Tl(a,o+2,i?t.call(i,n,r):t(n,r)):Bl(a,o+2)}function Tg(e,t,n,r,i,o){var a=Wt()+e,s=wt();return Il(s,a,n,r,i)?Tl(s,a+3,o?t.call(o,n,r,i):t(n,r,i)):Bl(s,a+3)}function Bg(e,t,n,r,i,o,a){var s=Wt()+e,l=wt();return Rl(l,s,n,r,i,o)?Tl(l,s+4,a?t.call(a,n,r,i,o):t(n,r,i,o)):Bl(l,s+4)}function Dg(e,t,n,r,i,o,a,s){var l=Wt()+e,u=wt(),c=Rl(u,l,n,r,i,o);return Dl(u,l+4,a)||c?Tl(u,l+5,s?t.call(s,n,r,i,o,a):t(n,r,i,o,a)):Bl(u,l+5)}function Mg(e,t,n,r,i,o,a,s,l){var u=Wt()+e,c=wt(),h=Rl(c,u,n,r,i,o);return Ml(c,u+4,a,s)||h?Tl(c,u+6,l?t.call(l,n,r,i,o,a,s):t(n,r,i,o,a,s)):Bl(c,u+6)}function Ig(e,t,n,r,i,o,a,s,l,u){var c=Wt()+e,h=wt(),d=Rl(h,c,n,r,i,o);return Il(h,c+4,a,s,l)||d?Tl(h,c+7,u?t.call(u,n,r,i,o,a,s,l):t(n,r,i,o,a,s,l)):Bl(h,c+7)}function Rg(e,t,n,r,i,o,a,s,l,u,c){var h=Wt()+e,d=wt(),f=Rl(d,h,n,r,i,o);return Rl(d,h+4,a,s,l,u)||f?Tl(d,h+8,c?t.call(c,n,r,i,o,a,s,l,u):t(n,r,i,o,a,s,l,u)):Bl(d,h+8)}function Fg(e,t,n,r){for(var i=Wt()+e,o=!1,a=wt(),s=0;s<n.length;s++)Dl(a,i++,n[s])&&(o=!0);return o?Tl(a,i,t.apply(r,n)):Bl(a,i)}function Lg(e,t){var n,r=wt()[1],i=e+19;r.firstTemplatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if(e===r.name)return r}throw new Error("The pipe '".concat(e,"' could not be found!"))}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory();return cu(e,o),o}function Ug(e,t,n){var r=du(e);return Kg(Vg(e)?xg(t,r.transform,n,r):r.transform(n))}function Ng(e,t,n,r){var i=du(e);return Kg(Vg(e)?Pg(t,i.transform,n,r,i):i.transform(n,r))}function jg(e,t,n,r,i){var o=du(e);return Kg(Vg(e)?Tg(t,o.transform,n,r,i,o):o.transform(n,r,i))}function Hg(e,t,n,r,i,o){var a=du(e);return Kg(Vg(e)?Bg(t,a.transform,n,r,i,o,a):a.transform(n,r,i,o))}function Qg(e,t,n){var r=du(e);return Kg(Vg(e)?Fg(t,r.transform,n,r):r.transform.apply(r,n))}function Vg(e){return wt()[1].data[e+19].pure}function Kg(e){if(Ol.isWrapped(e)){e=Ol.unwrap(e);var t=wt();t[t[7]]=io}return e}var Wg=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck2(this,t),(e=_callSuper(this,t)).__isAsync=n,e}
1return _inherits2(t,e),_createClass2(t,[{key:"emit",value:function(e){_superPropGet(t,"next",this,3)([e])}},{key:"subscribe",value:function(e,n,r){var o,a=function(e){return null},s=function(){return null};e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(a=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(o=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},n&&(a=this.__isAsync?function(e){setTimeout((function(){return n(e)}))}:function(e){n(e)}),r&&(s=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var l=_superPropGet(t,"subscribe",this,3)([o,a,s]);return e instanceof i.a&&e.add(l),l}}])}(r.a);function zg(){return this._results[kl()]()}var qg=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.dirty=!0,this._results=[],this.changes=new Wg,this.length=0;var t=kl(),n=e.prototype;n[t]||(n[t]=zg)}),[{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=le(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()}}])}(),Yg=function(){function e(t){_classCallCheck2(this,e),this.queryList=t,this.matches=null}return _createClass2(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}])}(),Gg=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck2(this,e),this.queries=t}return _createClass2(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=new Array(r),o=0;o<r;o++){var a=n.getByIndex(o);i[o]=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!==p_(e,t).matches&&this.queries[t].setDirty()}}])}(),Xg=_createClass2((function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck2(this,e),this.predicate=t,this.descendants=n,this.isStatic=r,this.read=i})),Jg=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck2(this,e),this.queries=t}return _createClass2(e,[{key:"elementStart",value:function(e,t){var n,r=_createForOfIteratorHelper2(this.queries);try{for(r.s();!(n=r.n()).done;){n.value.elementStart(e,t)}}catch(i){r.e(i)}finally{r.f()}}},{key:"elementEnd",value:function(e){var t,n=_createForOfIteratorHelper2(this.queries);try{for(n.s();!(t=n.n()).done;){t.value.elementEnd(e)}}catch(r){n.e(r)}finally{n.f()}}},{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){var n,r=_createForOfIteratorHelper2(this.queries);try{for(r.s();!(n=r.n()).done;){n.value.template(e,t)}}catch(i){r.e(i)}finally{r.f()}}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(e){this.queries.push(e)}}])}(),Zg=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck2(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass2(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){return this._appliesToNextNode&&!1===this.metadata.descendants?this._declarationNodeIndex===(e.parent?e.parent.index:-1):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,$g(t,n[r]));else{var i=this.metadata.predicate;i===pd?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Ar(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===Nh||r===Ad||r===pd&&0===t.type)this.addMatch(t.index,-2);else{var i=Ar(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)}}])}();function $g(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 e_(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?Va(Nh,e,t):0===e.type?Ka(pd,Nh,e,t):null}(t,e):-2===n?function(e,t,n){return n===Nh?Va(Nh,t,e):n===pd?Ka(pd,Nh,t,e):n===Ad?Wa(Ad,Nh,t,e):void 0}(e,t,r):vr(e[1].data,e,n,t)}function t_(e,t,n){var r=e[5].queries[n];if(null===r.matches){for(var i=e[1].data,o=t.matches,a=new Array(o.length/2),s=0;s<o.length;s+=2){var l=o[s];a[s/2]=l<0?null:e_(e,i[l],o[s+1],t.metadata.read)}r.matches=a}return r.matches}function n_(e){var t=wt(),n=Yt();Gt(n+1);var r=p_(t[1],n);if(e.dirty&&Nt()===r.metadata.isStatic){if(null===r.matches)e.reset([]);else{var i=r.crossesNgTemplate?function e(t,n,r){var i=t[1].queries.getByIndex(n),o=i.matches;if(null!==o)for(var a=t_(t,i,n),s=0;s<o.length;s+=2){var l=o[s];if(l>0)r.push(a[s/2]);else{for(var u=o[s+1],c=t[-l],h=9;h<c.length;h++){var d=c[h];d[17]===d[3]&&e(d,u,r)}if(null!==c[5]){var f,p=_createForOfIteratorHelper2(c[5]);try{for(p.s();!(f=p.n()).done;){e(f.value,u,r)}}catch(g){p.e(g)}finally{p.f()}}}}return r}(t,n,[]):t_(t,r,n);e.reset(i),e.notifyOnChanges()}return!0}return!1}function r_(e,t,n){o_(wt(),e,t,n,!0)}function i_(e,t,n){o_(wt(),e,t,n,!1)}function o_(e,t,n,r,i){var o=e[1];o.firstTemplatePass&&(f_(o,new Xg(t,n,i,r),-1),i&&(o.staticViewQueries=!0)),d_(e)}function a_(){return h_(wt(),Yt())}function s_(e,t,n,r){u_(wt(),t,n,r,!1,It(),e)}function l_(e,t,n,r){u_(wt(),t,n,r,!0,It(),e)}function u_(e,t,n,r,i,o,a){var s=e[1];s.firstTemplatePass&&(f_(s,new Xg(t,n,i,r),o.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,a),i&&(s.staticContentQueries=!0)),d_(e)}function c_(){return h_(wt(),Yt())}function h_(e,t){return e[5].queries[t].queryList}function d_(e){var t=new qg;!function(e,t,n){var r=la(e);r.push(t),e[1].firstTemplatePass&&ua(e).push(n,r.length-1)}(e,t,t.destroy),null===e[5]&&(e[5]=new Gg),e[5].queries.push(new Yg(t))}function f_(e,t,n){null===e.queries&&(e.queries=new Jg),e.queries.track(new Zg(t,n))}function p_(e,t){return e.queries.getByIndex(t)}function g_(e,t){return Ka(pd,Nh,e,t)}function __(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.Default,t=za(!0);if(null!=t||e&b.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}var A_={"\u0275\u0275attribute":Ul,"\u0275\u0275attributeInterpolate1":Yl,"\u0275\u0275attributeInterpolate2":Gl,"\u0275\u0275attributeInterpolate3":Xl,"\u0275\u0275attributeInterpolate4":Jl,"\u0275\u0275attributeInterpolate5":Zl,"\u0275\u0275attributeInterpolate6":$l,"\u0275\u0275attributeInterpolate7":eu,"\u0275\u0275attributeInterpolate8":tu,"\u0275\u0275attributeInterpolateV":nu,"\u0275\u0275defineBase":Re,"\u0275\u0275defineComponent":xe,"\u0275\u0275defineDirective":Fe,"\u0275\u0275defineInjectable":k,"\u0275\u0275defineInjector":S,"\u0275\u0275defineNgModule":De,"\u0275\u0275definePipe":Le,"\u0275\u0275directiveInject":fu,"\u0275\u0275getFactoryOf":Cr,"\u0275\u0275getIn
1heritedFactory":wr,"\u0275\u0275inject":J,"\u0275\u0275injectAttribute":pu,"\u0275\u0275injectPipeChangeDetectorRef":__,"\u0275\u0275templateRefExtractor":g_,"\u0275\u0275NgOnChangesFeature":ph,"\u0275\u0275ProvidersFeature":Ph,"\u0275\u0275InheritDefinitionFeature":vh,"\u0275\u0275container":ou,"\u0275\u0275nextContext":Zu,"\u0275\u0275containerRefreshStart":su,"\u0275\u0275containerRefreshEnd":lu,"\u0275\u0275namespaceHTML":sn,"\u0275\u0275namespaceMathML":an,"\u0275\u0275namespaceSVG":on,"\u0275\u0275enableBindings":bt,"\u0275\u0275disableBindings":Ct,"\u0275\u0275allocHostVars":Cl,"\u0275\u0275elementStart":Iu,"\u0275\u0275elementEnd":Ru,"\u0275\u0275element":Fu,"\u0275\u0275elementContainerStart":Nu,"\u0275\u0275elementContainerEnd":ju,"\u0275\u0275elementContainer":Hu,"\u0275\u0275pureFunction0":Og,"\u0275\u0275pureFunction1":xg,"\u0275\u0275pureFunction2":Pg,"\u0275\u0275pureFunction3":Tg,"\u0275\u0275pureFunction4":Bg,"\u0275\u0275pureFunction5":Dg,"\u0275\u0275pureFunction6":Mg,"\u0275\u0275pureFunction7":Ig,"\u0275\u0275pureFunction8":Rg,"\u0275\u0275pureFunctionV":Fg,"\u0275\u0275getCurrentView":Ku,"\u0275\u0275restoreView":Mt,"\u0275\u0275listener":qu,"\u0275\u0275load":du,"\u0275\u0275projection":rc,"\u0275\u0275updateSyntheticHostBinding":Wc,"\u0275\u0275componentHostSyntheticListener":Yu,"\u0275\u0275pipeBind1":Ug,"\u0275\u0275pipeBind2":Ng,"\u0275\u0275pipeBind3":jg,"\u0275\u0275pipeBind4":Hg,"\u0275\u0275pipeBindV":Qg,"\u0275\u0275projectionDef":ec,"\u0275\u0275hostProperty":Kc,"\u0275\u0275property":Fl,"\u0275\u0275propertyInterpolate":ic,"\u0275\u0275propertyInterpolate1":oc,"\u0275\u0275propertyInterpolate2":ac,"\u0275\u0275propertyInterpolate3":sc,"\u0275\u0275propertyInterpolate4":lc,"\u0275\u0275propertyInterpolate5":uc,"\u0275\u0275propertyInterpolate6":cc,"\u0275\u0275propertyInterpolate7":hc,"\u0275\u0275propertyInterpolate8":dc,"\u0275\u0275propertyInterpolateV":fc,"\u0275\u0275pipe":Lg,"\u0275\u0275queryRefresh":n_,"\u0275\u0275viewQuery":i_,"\u0275\u0275staticViewQuery":r_,"\u0275\u0275staticContentQuery":l_,"\u0275\u0275loadViewQuery":a_,"\u0275\u0275contentQuery":s_,"\u0275\u0275loadContentQuery":c_,"\u0275\u0275reference":hu,"\u0275\u0275elementHostAttrs":Lu,"\u0275\u0275classMap":Cu,"\u0275\u0275classMapInterpolate1":Sc,"\u0275\u0275classMapInterpolate2":Oc,"\u0275\u0275classMapInterpolate3":xc,"\u0275\u0275classMapInterpolate4":Pc,"\u0275\u0275classMapInterpolate5":Tc,"\u0275\u0275classMapInterpolate6":Bc,"\u0275\u0275classMapInterpolate7":Dc,"\u0275\u0275classMapInterpolate8":Mc,"\u0275\u0275classMapInterpolateV":Ic,"\u0275\u0275styling":gu,"\u0275\u0275styleMap":bu,"\u0275\u0275styleProp":Au,"\u0275\u0275stylePropInterpolate1":Rc,"\u0275\u0275stylePropInterpolate2":Fc,"\u0275\u0275stylePropInterpolate3":Lc,"\u0275\u0275stylePropInterpolate4":Uc,"\u0275\u0275stylePropInterpolate5":Nc,"\u0275\u0275stylePropInterpolate6":jc,"\u0275\u0275stylePropInterpolate7":Hc,"\u0275\u0275stylePropInterpolate8":Qc,"\u0275\u0275stylePropInterpolateV":Vc,"\u0275\u0275styleSanitizer":_u,"\u0275\u0275stylingApply":Su,"\u0275\u0275classProp":mu,"\u0275\u0275select":Ao,"\u0275\u0275template":au,"\u0275\u0275text":pc,"\u0275\u0275textBinding":gc,"\u0275\u0275textInterpolate":_c,"\u0275\u0275textInterpolate1":Ac,"\u0275\u0275textInterpolate2":vc,"\u0275\u0275textInterpolate3":mc,"\u0275\u0275textInterpolate4":yc,"\u0275\u0275textInterpolate5":bc,"\u0275\u0275textInterpolate6":Cc,"\u0275\u0275textInterpolate7":wc,"\u0275\u0275textInterpolate8":kc,"\u0275\u0275textInterpolateV":Ec,"\u0275\u0275embeddedViewStart":Qu,"\u0275\u0275embeddedViewEnd":Vu,"\u0275\u0275i18n":tg,"\u0275\u0275i18nAttributes":ng,"\u0275\u0275i18nExp":og,"\u0275\u0275i18nStart":Yp,"\u0275\u0275i18nEnd":Jp,"\u0275\u0275i18nApply":ag,"\u0275\u0275i18nPostprocess":Xp,"\u0275\u0275i18nLocalize":gg,"\u0275\u0275resolveWindow":gn,"\u0275\u0275resolveDocument":_n,"\u0275\u0275resolveBody":An,"\u0275\u0275setComponentScope":Pe,"\u0275\u0275setNgModuleScope":Me,"\u0275\u0275sanitizeHtml":_i,"\u0275\u0275sanitizeStyle":Ai,"\u0275\u0275defaultStyleSanitizer"
1:wi,"\u0275\u0275sanitizeResourceUrl":mi,"\u0275\u0275sanitizeScript":yi,"\u0275\u0275sanitizeUrl":vi,"\u0275\u0275sanitizeUrlOrResourceUrl":Ci},v_=[],m_=[],y_=!1;function b_(){if(!y_){y_=!0;try{for(var e=m_.length-1;e>=0;e--){var t=m_[e],n=t.moduleType,r=t.ngModule;r.declarations&&r.declarations.every(C_)&&(m_.splice(e,1),S_(n,r))}}finally{y_=!1}}}function C_(e){return Array.isArray(e)?e.every(C_):!!I(e)}function w_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};k_(e,t),function(e,t){m_.push({moduleType:e,ngModule:t})}(e,t)}function k_(e,t){arguments.length>2&&void 0!==arguments[2]&&arguments[2];var n=le(t.declarations||v_),r=null;Object.defineProperty(e,we,{configurable:!0,get:function(){return null===r&&(r=j().compileNgModule(A_,"ng:///".concat(e.name,"/ngModuleDef.js"),{type:e,bootstrap:le(t.bootstrap||v_).map(I),declarations:n.map(I),imports:le(t.imports||v_).map(I).map(P_),exports:le(t.exports||v_).map(I).map(P_),emitInline:!0,schemas:t.schemas?le(t.schemas):null,id:t.id||null})),r}});var i=null;Object.defineProperty(e,T,{get:function(){if(null===i){var n={name:e.name,type:e,deps:ss(e),providers:t.providers||v_,imports:[(t.imports||v_).map(I),(t.exports||v_).map(I)]};i=j().compileInjector(A_,"ng:///".concat(e.name,"/ngInjectorDef.js"),n)}return i},configurable:!1})}new Map,new Map;function E_(){new Map,new Map,m_.length=0}function S_(e,t){var n=le(t.declarations||v_),r=x_(e);n.forEach((function(t){t.hasOwnProperty(ye)?O_(Ue(t),r):t.hasOwnProperty(be)||t.hasOwnProperty(Ce)||(t.ngSelectorScope=e)}))}function O_(e,t){e.directiveDefs=function(){return Array.from(t.compilation.directives).map((function(e){return e.hasOwnProperty(ye)?Ue(e):Ne(e)})).filter((function(e){return!!e}))},e.pipeDefs=function(){return Array.from(t.compilation.pipes).map((function(e){return je(e)}))},e.schemas=t.schemas,e.tView=null}function x_(e,t){if(!T_(e))throw new Error(e.name+" does not have an ngModuleDef");var n=Qe(e);if(null!==n.transitiveCompileScopes)return n.transitiveCompileScopes;var r={schemas:n.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return mn(n.declarations).forEach((function(e){je(e)?r.compilation.pipes.add(e):r.compilation.directives.add(e)})),mn(n.imports).forEach((function(e){var n=e;if(!T_(n))throw new Error("Importing ".concat(n.name," which does not have an ngModuleDef"));t&&t(n);var i=x_(n,t);i.exported.directives.forEach((function(e){return r.compilation.directives.add(e)})),i.exported.pipes.forEach((function(e){return r.compilation.pipes.add(e)}))})),mn(n.exports).forEach((function(e){var n=e;if(T_(n)){var i=x_(n,t);i.exported.directives.forEach((function(e){r.compilation.directives.add(e),r.exported.directives.add(e)})),i.exported.pipes.forEach((function(e){r.compilation.pipes.add(e),r.exported.pipes.add(e)}))}else je(n)?r.exported.pipes.add(n):r.exported.directives.add(n)})),n.transitiveCompileScopes=r,r}function P_(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function T_(e){return!!Qe(e)}function B_(e,t){var n=null;!function(e,t){ml(t)&&(Al.set(e,t),vl.add(e))}(e,t),Object.defineProperty(e,ye,{get:function(){var r=j();if(null===n){if(ml(t)){var i=["Component '".concat(e.name,"' is not resolved:")];throw t.templateUrl&&i.push(" - templateUrl: "+t.templateUrl),t.styleUrls&&t.styleUrls.length&&i.push(" - styleUrls: "+JSON.stringify(t.styleUrls)),i.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(i.join("\n"))}var o=t.templateUrl||"ng:///".concat(e.name,"/template.html"),a=Object.assign({},I_(e,t),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,o),template:t.template||"",preserveWhitespaces:t.preserveWhitespaces||!1,styles:t.styles||me,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:t.encapsulation||_e.Emulated,interpolation:t.interpolation,viewProviders:t.viewProviders||null});if(a.usesInheritance&&R_(e),n=r.compileComponent(A_,o,a),b_(),void 0!==e.ngSelectorScope){var s=x_(e.ngSelectorScope);O_(n,s)}}return n},configurable:!1}),us(e)}function D_(e,t){var n=null;Object.defineProperty(e,be,{get:function(){if(null===n){var r=e&&e.name,i="ng:///".concat(r,"/ngDirectiveDef.js"),o=j(),a=I_(e,t);a.typeSourceSpan=o.createParseSourceSpan("Directive",r,i),a.usesInheritance&&R_(e),n=o.compileDirective(A_,i,a)}return n},configurable:!1}),us(e)}function M_(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function I_(e,t){var n,r=as().ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:ss(e),host:t.host||ve,propMetadata:r,inputs:t.inputs||me,outputs:t.outputs||me,queries:U_(e,r,N_),lifecycle:{usesOnChanges:e.prototype.hasOwnProperty("ngOnChanges")}
1,typeSourceSpan:null,usesInheritance:!M_(e),exportAs:(n=t.exportAs,void 0===n?null:n.split(",").map((function(e){return e.trim()}))),providers:t.providers||null,viewQueries:U_(e,r,j_)}}function R_(e){for(var t=Object.prototype,n=Object.getPrototypeOf(e);n&&n!==t;){if(!Ne(n)&&!Ue(n)&&!He(n)){var r=L_(n);r&&F_(n,r)}n=Object.getPrototypeOf(n)}}function F_(e,t){var n=null;Object.defineProperty(e,Ee,{get:function(){if(null===n){var r="ng://".concat(e&&e.name,"/ngBaseDef.js"),i=j();n=i.compileBase(A_,r,t)}return n},configurable:!1})}function L_(e){var t,n,r=as().ownPropMetadata(e),i=U_(e,r,j_),o=U_(e,r,N_),a=!1,s=function(e){r[e].forEach((function(r){var i=r.ngMetadataName;"Input"===i?(t=t||{})[e]=r.bindingPropertyName?[r.bindingPropertyName,e]:e:"Output"===i?(n=n||{})[e]=r.bindingPropertyName||e:"HostBinding"!==i&&"HostListener"!==i||(a=!0)}))};for(var l in r)s(l);return t||n||i.length||o.length||a?{name:e.name,type:e,inputs:t,outputs:n,viewQueries:i,queries:o,propMetadata:r}:null}function U_(e,t,n){var r=[],i=function(i){if(t.hasOwnProperty(i)){var o=t[i];o.forEach((function(t){if(n(t)){if(!t.selector)throw new Error("Can't construct a query for the property \"".concat(i,'" of "').concat(fn(e),"\" since the query selector wasn't defined."));if(o.some(H_))throw new Error("Cannot combine @Input decorators with query decorators");r.push(function(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?n.split(",").map((function(e){return e.trim()})):I(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static};var n}(i,t))}}))}};for(var o in t)i(o);return r}function N_(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function j_(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function H_(e){return"Input"===e.ngMetadataName}function Q_(e,t){var n=null;Object.defineProperty(e,Ce,{get:function(){if(null===n){var r=e.name;n=j().compilePipe(A_,"ng:///".concat(r,"/ngPipeDef.js"),{type:e,typeArgumentCount:0,name:r,deps:ss(e),pipeName:t.name,pure:void 0===t.pure||t.pure})}return n},configurable:!1})}var V_=h("Directive",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}),void 0,void 0,(function(e,t){return eA(e,t)})),K_=h("Component",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({changeDetection:fe.Default},e)}),V_,void 0,(function(e,t){return $_(e,t)})),W_=h("Pipe",(function(e){return Object.assign({pure:!0},e)}),void 0,void 0,(function(e,t){return tA(e,t)})),z_=p("Input",(function(e){return{bindingPropertyName:e}})),q_=p("Output",(function(e){return{bindingPropertyName:e}})),Y_=p("HostBinding",(function(e){return{hostPropertyName:e}})),G_=p("HostListener",(function(e,t){return{eventName:e,args:t}})),X_=B_,J_=D_,Z_=Q_,$_=Uh,eA=Uh,tA=Uh,nA=h("NgModule",(function(e){return e}),void 0,void 0,(function(e,t){return iA(e,t)})),rA=w_,iA=function(e,t){var n=t&&t.imports||[];t&&t.exports&&(n=[].concat(_toConsumableArray2(n),[t.exports])),e.ngInjectorDef=S({factory:As(e,{useClass:e}),providers:t&&t.providers,imports:n})},oA=new Q("Application Initializer"),aA=function(){return _createClass2((function e(t){var n=this;_classCallCheck2(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}),[{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]();Wu(i)&&t.push(i)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}}}])}(),sA=new Q("AppId");function lA(){return"".concat(cA()).concat(cA()).concat(cA())}var uA={provide:sA,useFactory:lA,deps:[]};function cA(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var hA=new Q("Platform Initializer"),dA=new Q("Platform ID"),fA=new Q("appBootstrapListener"),pA=new Q("Application Packages Root URL"),gA=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}])}(),_A=new Q("LocaleId"),AA=new Q("Translations"),vA=new Q("TranslationsFormat"),mA=function(){var e={Error:0,Warning:1,Ignore:2};return e[e.Error]="Error",e[e.Warning]="Warning",e[e.Ignore]="Ignore",e}(),yA=!0,bA=!1,CA=_createClass2((function e(t,n){_classCallCheck2(this,e),this.ngModuleFactory=t,this.componentFactories=n}));function wA(){throw new Error("Runtime compiler is not loaded")}var kA,EA,SA=function(e){return new Eg(e)},OA=wA,xA=function(e){return Promise.resolve(SA(e))},PA=wA,TA=function(e){var t=SA(e),n=mn(Qe(e).declarations).reduce((function(e,t){var n=Ue(t);return n&&e.push(new Ap(n)),e}),[]);return new CA(t,n)},BA=wA,DA=function(e){return Promise.resolve(TA(e))},MA=wA,IA=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.compileModuleSync=OA,this.compileModuleAsync=PA,this.compileModuleAndAllComponentsSync=BA,this.compileModuleAndAllComponentsAsync=MA}),[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}])}(),RA=new Q("compilerOptions"),FA=_createClass2((function e(){_classCallCheck2(this,e)}));function LA(){var e=N.wtf;return!(!e||(kA=e.trace,!kA)||(EA=kA.events,0))}function UA(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return EA.createScope(e,t)}function NA(e,t){return kA.leaveScope(e,t),t}function jA(e,t){return kA.beginTimeRange(e,t)}function HA(e){kA.endTimeRange(e)}var QA=LA();function VA(e,t){return null}var KA=QA?UA:function(e,t){return VA},WA=QA?NA:function(e,t){return t},zA=QA?jA:function(e,t){return null},qA=QA?HA:function(e){return null},YA=Promise.resolve(0);function GA(e){"undefined"==typeof Zone?YA.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var XA=function(){function e(t){var n,r=t.enableLongStackTrace,i=void 0!==r&&r;if(_classCallCheck2(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Wg(!1),this.onMicrotaskEmpty=new Wg(!1),this.onStable=new Wg(!1),this.onError=ne
vendor: 6,109 bytes, line 1
1w Wg(!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)),i&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(n=this)._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,t,r,i,o,a){try{return ev(n),e.invokeTask(r,i,o,a)}finally{tv(n)}},onInvoke:function(e,t,r,i,o,a,s){try{return ev(n),e.invoke(r,i,o,a,s)}finally{tv(n)}},onHasTask:function(e,t,r,i){e.hasTask(r,i),t===r&&("microTask"==i.change?(n.hasPendingMicrotasks=i.microTask,$A(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 _createClass2(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,ZA,JA,JA);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!")}}])}();function JA(){}var ZA={};function $A(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 ev(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function tv(e){e._nesting--,$A(e)}var nv=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Wg,this.onMicrotaskEmpty=new Wg,this.onStable=new Wg,this.onError=new Wg}),[{key:"run",value:function(e){return e()}},{key:"runGuarded",value:function(e){return e()}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e){return e()}}])}(),rv=function(){return _createClass2((function e(t){var n=this;_classCallCheck2(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")}))}),[{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(){XA.assertNotInAngularZone(),GA((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())GA((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[]}}])}(),iv=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._applications=new Map,sv.addToWindow(this)}),[{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 sv.findTestabilityInTree(this,e,t)}}])}();function ov(e){sv=e}var av,sv=new(function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}])}());function lv(e,t,n){var r=new Eg(n);if(0===Al.size)return Promise.resolve(r);var i,o,a=(i=e.get(RA,[]).concat(t).map((function(e){return e.providers}
1)),o=[],i.forEach((function(e){return e&&o.push.apply(o,_toConsumableArray2(e))})),o);if(0===a.length)return Promise.resolve(r);var s=j(),l=Fs.create({providers:a}).get(s.ResourceLoader);return _l((function(e){return Promise.resolve(l.get(e))})).then((function(){return r}))}function uv(e){return e.isBoundToModule}var cv=new Q("AllowMultipleToken"),hv=_createClass2((function e(t,n){_classCallCheck2(this,e),this.name=t,this.token=n}));function dv(e){if(av&&!av.destroyed&&!av.injector.get(cv,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");av=e.get(Av);var t=e.get(hA,null);return t&&t.forEach((function(e){return e()})),av}function fv(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+t,i=new Q(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=_v();if(!o||o.injector.get(cv,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var a=n.concat(t).concat({provide:i,useValue:!0});dv(Fs.create({providers:a,name:r}))}return pv(i)}}function pv(e){var t=_v();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}function gv(){av&&!av.destroyed&&av.destroy()}function _v(){return av&&!av.destroyed?av:null}var Av=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}),[{key:"bootstrapModuleFactory",value:function(e,t){var n,r=this,i="noop"===(n=t?t.ngZone:void 0)?new nv:("zone.js"===n?void 0:n)||new XA({enableLongStackTrace:jr()}),o=[{provide:XA,useValue:i}];return i.run((function(){var t=Fs.create({providers:o,parent:r.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(Or,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return bA&&Ag(n.injector.get(_A,Ep)||Ep),n.onDestroy((function(){return yv(r._modules,n)})),i.runOutsideAngular((function(){return i.onError.subscribe({next:function(e){a.handleError(e)}})})),function(e,t,i){try{var o=((a=n.injector.get(aA)).runInitializers(),a.donePromise.then((function(){return r._moduleDoBootstrap(n),n})));return Wu(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}(a,i)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=vv({},n);return function(e,t,n){return e.get(FA).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then((function(e){return t.bootstrapModuleFactory(e,r)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(mv);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(B(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:"injector",get:function(){return this._injector}},{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:"destroyed",get:function(){return this._destroyed}}])}();function vv(e,t){return Array.isArray(t)?t.reduce(vv,e):Object.assign({},e,t)}var mv=function(){var e=function(){function e(t,n,r,i,l,u){var c=this;_classCallCheck2(this,e),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=l,this._initStatus=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=jr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){c._zone.run((function(){c.tick()}))}});var h=new o.a((function(e){c._stable=c._zone.isStable&&!c._zone.hasPendingMacrotasks&&!c._zone.hasPendingMicrotasks,c._zone.runOutsideAngular((function(){e.next(c._stable),e.complete()}
1))})),d=new o.a((function(e){var t;c._zone.runOutsideAngular((function(){t=c._zone.onStable.subscribe((function(){XA.assertNotInAngularZone(),GA((function(){c._stable||c._zone.hasPendingMacrotasks||c._zone.hasPendingMicrotasks||(c._stable=!0,e.next(!0))}))}))}));var n=c._zone.onUnstable.subscribe((function(){XA.assertInAngularZone(),c._stable&&(c._stable=!1,c._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(a.a)(h,d.pipe(Object(s.a)()))}return _createClass2(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 Bh?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n instanceof Lh?null:this._injector.get(oe),o=n.create(Fs.NULL,[],t||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(rv,null);return a&&o.injector.get(iv).registerApplication(o.location.nativeElement,a),this._loadComponent(o),jr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0;var r,i=_createForOfIteratorHelper2(this._views);try{for(i.s();!(r=i.n()).done;){r.value.detectChanges()}}catch(s){i.e(s)}finally{i.f()}if(this._enforceNoNewChanges){var o,a=_createForOfIteratorHelper2(this._views);try{for(a.s();!(o=a.n()).done;){o.value.checkNoChanges()}}catch(s){a.e(s)}finally{a.f()}}}catch(l){this._zone.runOutsideAngular((function(){return t._exceptionHandler.handleError(l)}))}finally{this._runningTick=!1,WA(n)}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;yv(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(fA,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),yv(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}])}();return e._tickScope=KA("ApplicationRef#tick()"),e}();function yv(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var bv=_createClass2((function e(){_classCallCheck2(this,e)}));function Cv(e){var t=Cg(e);if(!t)throw Ev(e);return t}function wv(e){var t=Cg(e);if(!t)throw Ev(e);return new Eg(t)}var kv=Cv;function Ev(e){return new Error("No module with ID ".concat(e," loaded"))}var Sv=_createClass2((function e(){_classCallCheck2(this,e)})),Ov={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},xv=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._compiler=t,this._config=n||Ov}),[{key:"load",value:function(e){return!bA&&this._compiler instanceof IA?this.loadFactory(e):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 Pv(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 Pv(e,r,i)}))}}])}();function Pv(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Tv=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t)}(qa),Bv=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}
1return _inherits2(t,e),_createClass2(t)}(Tv),Dv=_createClass2((function e(t,n){_classCallCheck2(this,e),this.name=t,this.callback=n})),Mv=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.listeners=[],this.parent=null,this._debugContext=r,this.nativeNode=t,n&&n instanceof Iv&&n.addChild(this)}),[{key:"injector",get:function(){return this._debugContext.injector}},{key:"componentInstance",get:function(){return this._debugContext.component}},{key:"context",get:function(){return this._debugContext.context}},{key:"references",get:function(){return this._debugContext.references}},{key:"providerTokens",get:function(){return this._debugContext.providerTokens}}])}(),Iv=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[e,n,r])).properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return _inherits2(t,e),_createClass2(t,[{key:"addChild",value:function(e){e&&(this.childNodes.push(e),e.parent=this)}},{key:"removeChild",value:function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}},{key:"insertChildrenAfter",value:function(e,t){var n,r=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,[i+1,0].concat(_toConsumableArray2(t))),t.forEach((function(t){t.parent&&t.parent.removeChild(t),e.parent=r})))}},{key:"insertBefore",value:function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}},{key:"query",value:function(e){return this.queryAll(e)[0]||null}},{key:"queryAll",value:function(e){var n=[];return function e(n,r,i){n.childNodes.forEach((function(n){n instanceof t&&(r(n)&&i.push(n),e(n,r,i))}))}(this,e,n),n}},{key:"queryAllNodes",value:function(e){var n=[];return function e(n,r,i){n instanceof t&&n.childNodes.forEach((function(n){r(n)&&i.push(n),n instanceof t&&e(n,r,i)}))}(this,e,n),n}},{key:"children",get:function(){return this.childNodes.filter((function(e){return e instanceof t}))}},{key:"triggerEventHandler",value:function(e,t){this.listeners.forEach((function(n){n.name==e&&n.callback(t)}))}}])}(Mv);function Rv(e){return e.map((function(e){return e.nativeElement}))}var Fv=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.nativeNode=t}),[{key:"parent",get:function(){var e=this.nativeNode.parentNode;return e?new Lv(e):null}},{key:"injector",get:function(){return Xc(this.nativeNode)}},{key:"componentInstance",get:function(){var e=this.nativeNode;return e&&(zc(e)||Yc(e))}},{key:"context",get:function(){return zc(this.nativeNode)||qc(this.nativeNode)}},{key:"listeners",get:function(){return nh(this.nativeNode).filter(th)}},{key:"references",get:function(){return e=this.nativeNode,void 0===(t=Zc(e)).localRefs&&(t.localRefs=function(e,t){var n=e[1].data[t];if(n&&n.localNames){for(var r={},i=n.index+1,o=0;o<n.localNames.length;o+=2)r[n.localNames[o]]=e[i],i++;return r}return null}(t.lView,t.nodeIndex)),t.localRefs||{};var e,t}},{key:"providerTokens",get:function(){return function(e){var t=Zc(e,!1);if(!t)return[];for(var n,r=t.lView[1],i=r.data[t.nodeIndex],o=[],a=i.directiveEnd,s=65535&i.providerIndexes;s<a;s++){var l=r.data[s];void 0!==(n=l).type&&void 0!==n.template&&void 0!==n.declaredInputs&&(l=l.type),o.push(l)}return o}(this.nativeNode)}}])}(),Lv=function(e){function t(e){return _classCallCheck2(this,t),_callSuper(this,t,[e])}return _inherits2(t,e),_createClass2(t,[{key:"nativeElement",get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}},{key:"name",get:function(){return this.nativeElement.nodeName}},{key:"properties",get:function(){var e=Zc(this.nativeNode),t=e.lView,n=t[1].data,r=n[e.nodeIndex],i=function(e,t,n){for(var r={},i=function(e,t){for(var n=e-1,r=t[n];"string"==typeof r&&!vn(r);)r=t[--n];return n+1}(e.propertyMetadataStartIndex,n);i<e.propertyMetadataEndIndex;){for(var o=void 0,a=n[i];!vn(a);)o=(o||"")+dn(t[i])+n[i],a=n[++i];o=void 0===o?t[i]:o+=t[i];var s=a.split("\ufffd"),l=s[0];l&&(r[l]=s[1]&&s[2]?s[1]+o+s[2]:o),i++}return r}(r,t,n),o=function(e,t,n){for(var r={},i=e.directiveEnd,o=n[i];"string"==typeof o;)r[o.split("\ufffd")[0]]=t[i],o=n[++i];return r}(r,t,n),a=function(e){for(var t=e.classes,n="",r=0,i=Object.keys(t);r<i.length;r++){var o=i[r];
1t[o]&&(n=n?n+" "+o:o)}return n}(this),s=Object.assign({},i,o);return a&&(s.className=s.className?s.className+" "+a:a),s}},{key:"attributes",get:function(){var e={},t=this.nativeElement;if(!t)return e;var n=Zc(t),r=n.lView[1].data[n.nodeIndex].attrs,i=[];if(r)for(var o=0;o<r.length;){var a=r[o];if("string"!=typeof a)break;e[a]=r[o+1],i.push(a.toLowerCase()),o+=2}for(var s=t.attributes,l=0;l<s.length;l++){var u=s[l];-1===i.indexOf(u.name)&&(e[u.name]=u.value)}return e}},{key:"styles",get:function(){return Uv(this.nativeElement,!1)}},{key:"classes",get:function(){return Uv(this.nativeElement,!0)}},{key:"childNodes",get:function(){for(var e=this.nativeNode.childNodes,t=[],n=0;n<e.length;n++)t.push(Kv(e[n]));return t}},{key:"children",get:function(){var e=this.nativeElement;if(!e)return[];for(var t=e.children,n=[],r=0;r<t.length;r++)n.push(Kv(t[r]));return n}},{key:"query",value:function(e){return this.queryAll(e)[0]||null}},{key:"queryAll",value:function(e){var t=[];return Nv(this,e,t,!0),t}},{key:"queryAllNodes",value:function(e){var t=[];return Nv(this,e,t,!1),t}},{key:"triggerEventHandler",value:function(e,t){this.listeners.forEach((function(n){n.name===e&&n.callback(t)}))}}])}(Fv);function Uv(e,t){if(e){var n=eh(e),r=n.lView,i=r[1].data[n.nodeIndex];return t?Nn(i.classes)?new _o(i.classes,r,!0).values:go(i.classes):Nn(i.styles)?new _o(i.styles,r,!1).values:go(i.styles)}return{}}function Nv(e,t,n,r){var i=Zc(e.nativeNode);jv(i.lView[1].data[i.nodeIndex],i.lView,t,n,r,e.nativeNode)}function jv(e,t,n,r,i,o){var a=ct(e,t);if(3===e.type||4===e.type){if(Qv(a,n,r,i,o),ze(e)){var s=ft(e.index,t);s&&s[1].firstChild&&jv(s[1].firstChild,s,n,r,i,o)}else e.child&&jv(e.child,t,n,r,i,o),a&&function e(t,n,r,i){for(var o=t.childNodes,a=o.length,s=0;s<a;s++){var l=o[s],u=Wv(l);u&&((i&&u instanceof Lv&&n(u)&&-1===r.indexOf(u)||!i&&n(u)&&-1===r.indexOf(u))&&r.push(u),e(l,n,r,i))}}(a,n,r,i);var l=t[e.index];Ke(l)&&Hv(l,n,r,i,o)}else if(0===e.type){var u=t[e.index];Qv(u[7],n,r,i,o),Hv(u,n,r,i,o)}else if(1===e.type){var c=rr(t),h=c[6].projection[e.projection];if(Array.isArray(h)){var d,f=_createForOfIteratorHelper2(h);try{for(f.s();!(d=f.n()).done;){Qv(d.value,n,r,i,o)}}catch(_){f.e(_)}finally{f.f()}}else if(h){var p=c[3];jv(p[1].data[h.index],p,n,r,i,o)}}else e.child&&jv(e.child,t,n,r,i,o);if(o!==a){var g=2&e.flags?e.projectionNext:e.next;g&&jv(g,t,n,r,i,o)}}function Hv(e,t,n,r,i){for(var o=9;o<e.length;o++){var a=e[o];jv(a[1].node,a,t,n,r,i)}}function Qv(e,t,n,r,i){if(i!==e){var o=Wv(e);if(!o)return;(r&&o instanceof Lv&&t(o)&&-1===n.indexOf(o)||!r&&t(o)&&-1===n.indexOf(o))&&n.push(o)}}var Vv=new Map;function Kv(e){return e instanceof Node?(e.hasOwnProperty("__ng_debug__")||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new Lv(e):new Fv(e)),e.__ng_debug__):null}var Wv=function(e){return Vv.get(e)||null};function zv(e){Vv.set(e.nativeNode,e)}var qv=Mv,Yv=Iv,Gv=fv(null,"core",[{provide:dA,useValue:"unknown"},{provide:Av,deps:[Fs]},{provide:iv,deps:[]},{provide:gA,deps:[]}]);function Xv(){return dd}function Jv(){return fd}function Zv(e){return e?(bA&&Ag(e),e):Ep}var $v=[{provide:mv,useClass:mv,deps:[XA,gA,Fs,Or,Rh,aA]},{provide:_p,deps:[XA],useFactory:em},{provide:aA,useClass:aA,deps:[[new _,oA]]},{provide:IA,useClass:IA,deps:[]},uA,{provide:ud,useFactory:Xv,deps:[]},{provide:cd,useFactory:Jv,deps:[]},{provide:_A,useFactory:Zv,deps:[[new g(_A),new _,new v]]}];function em(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}var tm=_createClass2((function e(t){_classCallCheck2(this,e)}));function nm(e,t,n,r,i,o){e|=1;var a=Xd(t),s=a.matchedQueries,l=a.references;return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:a.matchedQueryIds,references:l,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?ef(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Dd},provider:null,text:null,query:null,ngContent:null}}function rm(e,t,n,r,i,o){var a,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],l=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,h=arguments.length>10?arguments[10]:void 0,d=arguments.length>11?arguments[11]:void 0;c||(c=Dd);var f=Xd(n),p=f.matchedQueries,g=f.references,_=f.matchedQueryIds,A=null,v=null;o&&(A=(a=_slicedToArray2(lf(o),2))[0],v=a[1]),l=l||[];for(var m=new Array(l.length),y=0;y<l.length;y++){var b=_slicedToArray2(l[y],3),C=b[0],w=b[1],k=b[2],E=lf(w),S=_slicedToArray2(E,2),O=S[0],x=S[1],P=void 0,T=void 0;switch(15&C){case 4:T=k;break;case 1:case 8:P=k}m[y]={flags:C,ns:O,name:x,nonMinifiedName:x,securityContext:P,suffix:T}}u=u||[];for(var B=new Array(u.length),D=0;D<u.length;D++){var M=_slicedToArray2(u[D],2),I=M[0],R=M[1];B[D]={type:0,target:I,eventName:R,propName:null}}var F=(s=s||[]).map((function(e){var t=_slicedToArray2(e,2),n=t[0],r=t[1],i=_slicedToArray2(lf(n),2);return[i[0],i[1],r]}));return d=function(e){if(e&&"$$undefined"===e.id){var t=null!=e.encapsulation&&e.encapsulation!==_e.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Ld++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}(d),h&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,
vendor: 20,593 bytes, line 1
1checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:p,matchedQueryIds:_,references:g,ngContentIndex:r,childCount:i,bindings:m,bindingFlags:uf(m),outputs:B,element:{ns:A,name:v,attrs:F,template:null,componentProvider:null,componentView:h||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||Dd},provider:null,text:null,query:null,ngContent:null}}function im(e,t,n){var r,i=n.element,o=e.root.selectorOrNode,a=e.renderer;if(e.parent||!o){r=i.name?a.createElement(i.name,i.ns):a.createComment("");var s=Zd(e,t,n);s&&a.appendChild(s,r)}else r=a.selectRootElement(o,!!i.componentRendererType&&i.componentRendererType.encapsulation===_e.ShadowDom);if(i.attrs)for(var l=0;l<i.attrs.length;l++){var u=_slicedToArray2(i.attrs[l],3),c=u[0],h=u[1],d=u[2];a.setAttribute(r,h,d,c)}return r}function om(e,t,n,r){for(var i=0;i<n.outputs.length;i++){var o=n.outputs[i],a=am(e,n.nodeIndex,(h=o.eventName,(c=o.target)?"".concat(c,":").concat(h):h)),s=o.target,l=e;"component"===o.target&&(s=null,l=t);var u=l.renderer.listen(s||r,o.eventName,a);e.disposables[n.outputIndex+i]=u}var c,h}function am(e,t,n){return function(r){return Vd(e,t,n,r)}}function sm(e,t,n,r){if(!Nd(e,t,n,r))return!1;var i=t.bindings[n],o=Sd(e,t.nodeIndex),a=o.renderElement,s=i.name;switch(15&i.flags){case 1:!function(e,t,n,r,i,o){var a=t.securityContext,s=a?e.root.sanitizer.sanitize(a,o):o;s=null!=s?s.toString():null;var l=e.renderer;null!=o?l.setAttribute(n,i,s,r):l.removeAttribute(n,i,r)}(e,i,a,i.ns,s,r);break;case 2:!function(e,t,n,r){var i=e.renderer;r?i.addClass(t,n):i.removeClass(t,n)}(e,a,s,r);break;case 4:!function(e,t,n,r,i){var o=e.root.sanitizer.sanitize(hi.STYLE,i);if(null!=o){o=o.toString();var a=t.suffix;null!=a&&(o+=a)}else o=null;var s=e.renderer;null!=o?s.setStyle(n,r,o):s.removeStyle(n,r)}(e,i,a,s,r);break;case 8:!function(e,t,n,r,i){var o=t.securityContext,a=o?e.root.sanitizer.sanitize(o,i):i;e.renderer.setProperty(n,r,a)}(33554432&t.flags&&32&i.flags?o.componentView:e,i,a,s,r)}return!0}function lm(e,t,n){var r=[];for(var i in n)r.push({propName:i,bindingType:n[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:Gd(t),bindings:r},ngContent:null}}function um(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Yd(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,i=0;i<=r;i++){var o=e.def.nodes[i];67108864&o.flags&&536870912&o.flags&&(o.query.filterId&t)===o.query.filterId&&Pd(e,i).setDirty(),!(1&o.flags&&i+o.childCount<n.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(i+=o.childCount)}}if(134217728&e.def.nodeFlags)for(var a=0;a<e.def.nodes.length;a++){var s=e.def.nodes[a];134217728&s.flags&&536870912&s.flags&&Pd(e,a).setDirty(),a+=s.childCount}}function cm(e,t){var n=Pd(e,t.nodeIndex);if(n.dirty){var r,i=void 0;if(67108864&t.flags){var o=t.parent.parent;i=hm(e,o.nodeIndex,o.nodeIndex+o.childCount,t.query,[]),r=Od(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(i=hm(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(i);for(var a=t.query.bindings,s=!1,l=0;l<a.length;l++){var u=a[l],c=void 0;switch(u.bindingType){case 0:c=n.first;break;case 1:c=n,s=!0}r[u.propName]=c}s&&n.notifyOnChanges()}}function hm(e,t,n,r,i){for(var o=t;o<=n;o++){var a=e.def.nodes[o],s=a.matchedQueries[r.id];if(null!=s&&i.push(dm(e,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var l=Sd(e,o);if((a.childMatchedQueries&r.filterId)===r.filterId&&(hm(e,o+1,o+a.childCount,r,i),o+=a.childCount),16777216&a.flags)for(var u=l.viewContainer._embeddedViews,c=0;c<u.length;c++){var h=u[c],d=Kd(h);d&&d===l&&hm(h,0,h.def.nodes.length-1,r,i)}var f=l.template._projectedViews;if(f)for(var p=0;p<f.length;p++){var g=f[p];hm(g,0,g.def.nodes.length-1,r,i)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(o+=a.childCount)}return i}function dm(e,t,n){if(null!=n)switch(n){case 1:return Sd(e,t.nodeIndex).renderElement;case 0:return new Nh(Sd(e,t.nodeIndex).renderElement);case 2:return Sd(e,t.nodeIndex).template;case 3:return Sd(e,t.nodeIndex).viewContainer;case 4:return Od(e,t.nodeIndex).instance}}function fm(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function pm(e,t,n){var r=Zd(e,t,n);r&&rf(e,n.ngContent.index,1,r,null,void 0)}function gm(e,t){return vm(128,e,new Array(t+1))}function _m(e,t){return vm(32,e,new Array(t))}function Am(e,t){for(var n=Object.keys(t),r=n.length,i=new Array(r),o=0;o<r;o++){var a=n[o];i[t[a]]=a}return vm(64,e,i)}function vm(e,t,n){for(var r=new Array(n.length),i=0;i<n.length;i++){var o=n[i];r[i]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:uf(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function mm(e,t,n){for(var r=new Array(n.length-1),i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ym(e,t,n){var r,i=e.renderer;r=i.createText(n.text.prefix);var o=Zd(e,t,n);return o&&i.appendChild(o,r),{renderText:r}}function bm(e,t){return(null!=e?e.toString():"")+t.suffix}function Cm(e,t,n,r){for(var i=0,o=0,a=0,s=0,l=0,u=null,c=null,h=!1,d=!1,f=null,p=0;p<t.length;p++){var g=t[p];if(g.nodeIndex=p,g.parent=u,g.bindingIndex=i,g.outputIndex=o,g.renderParent=c,a|=g.flags,l|=g.matchedQueryIds,g.element){var _=g.element;_.publicProviders=u?u.element.publicProviders:Object.create(null),_.allProviders=_.publicProviders,h=!1,d=!1,g.element.template&&(l|=g.element.template.nodeMatchedQueries)}if(km(u,g,t.length),i+=g.bindings.length,o+=g.outputs.length,!c&&3&g.flags&&(f=g),20224&g.flags){h||(h=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);var A=0!=(32768&g.flags);0==(8192&g.flags)||A?u.element.publicProviders[Id(g.provider.token)]=g:(d||(d=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[Id(g.provider.token)]=g),A&&(u.element.componentProvider=g)}if(u?(u.childFlags|=g.flags,u.directChildFlags|=g.flags,u.childMatchedQueries|=g.matchedQueryIds,g.element&&g.element.template&&(u.childMatchedQueries|=g.element.template.nodeMatchedQueries)):s|=g.flags,g.childCount>0)u=g,wm(g)||(c=g);else for(;u&&p===u.nodeIndex+u.childCount;){var v=u.parent;v&&(v.childFlags|=u.childFlags,v.childMatchedQueries|=u.childMatchedQueries),c=(u=v)&&wm(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Dd,updateRenderer:r||Dd,handleEvent:function(e,n,r,i){return t[n].element.handleEvent(e,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function wm(e){return 0!=(1&e.flags)&&null===e.element.name}function km(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index ".concat(t.nodeIndex,"!"))}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ".concat(t.nodeIndex,"!"));if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index ".concat(t.nodeIndex,"!"));if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index ".concat(t.nodeIndex,"!"))}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index ".concat(t.nodeIndex,"!"))}}function Em(e,t,n,r){var i=xm(e.root,e.renderer,e,t,n);return Pm(i,e.component,r),Tm(i),i}function Sm(e,t,n){var r=xm(e,e.renderer,null,null,t);return Pm(r,n,n),Tm(r),r}function Om(e,t,n,r){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,xm(e.root,i,e,t.element.componentProvider,n)}function xm(e,t,n,r,i){var o=new Array(i.nodes.length),a=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:a,initIndex:-1}}function Pm(e,t,n){e.component=t,e.context=n}function Tm(e){var t;qd(e)&&(t=Sd(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,i=0;i<n.nodes.length;i++){var o=n.nodes[i],a=void 0;switch(Bd.setCurrentNode(e,i),201347067&o.flags){case 1:var s=im(e,t,o),l=void 0;if(33554432&o.flags){var u=ef(o.element.componentView);l=Bd.createComponentView(e,o,u,s)}om(e,l,o,s),a={renderElement:s,componentView:l,viewContainer:null,template:o.element.template?Rf(e,o):void 0},16777216&o.flags&&(a.viewContainer=Bf(e,o,a));break;case 2:a=ym(e,t,o);break;case 512:case 1024:case 2048:case 256:(a=r[i])||4096&o.flags||(a={instance:np(e,o)});break;case 16:a={instance:rp(e,o)};break;case 16384:(a=r[i])||(a={instance:ip(e,o)}),32768&o.flags&&Pm(Sd(e,o.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new qg;break;case 8:pm(e,t,o),a=void 0}r[i]=a}Nm(e,Um.CreateViewNodes),Vm(e,201326592,268435456,0)}function Bm(e){Im(e),Bd.updateDirectives(e,1),jm(e,Um.CheckNoChanges),Bd.updateRenderer(e,1),Nm(e,Um.CheckNoChanges),e.state&=-97}function Dm(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,wd(e,0,256),Im(e),Bd.updateDirectives(e,0),jm(e,Um.CheckAndUpdate),Vm(e,67108864,536870912,0);var t=wd(e,256,512);dp(e,2097152|(t?1048576:0)),Bd.updateRenderer(e,0),Nm(e,Um.CheckAndUpdate),Vm(e,134217728,536870912,0),dp(e,8388608|((t=wd(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,wd(e,768,1024)}function Mm(e,t,n,r,i,o,a,s,l,u,c,h,d){return 0===n?function(e,t,n,r,i,o,a,s,l,u,c,h){switch(201347067&t.flags){case 1:return function(e,t,n,r,i,o,a,s,l,u,c,h){var d=t.bindings.length,f=!1;return d>0&&sm(e,t,0,n)&&(f=!0),d>1&&sm(e,t,1,r)&&(f=!0),d>2&&sm(e,t,2,i)&&(f=!0),d>3&&sm(e,t,3,o)&&(f=!0),d>4&&sm(e,t,4,a)&&(f=!0),d>5&&sm(e,t,5,s)&&(f=!0),d>6&&sm(e,t,6,l)&&(f=!0),d>7&&sm(e,t,7,u)&&(f=!0),d>8&&sm(e,t,8,c)&&(f=!0),d>9&&sm(e,t,9,h)&&(f=!0),f}(e,t,n,r,i,o,a,s,l,u,c,h);case 2:return function(e,t,n,r,i,o,a,s,l,u,c,h){var d=!1,f=t.bindings,p=f.length;if(p>0&&Nd(e,t,0,n)&&(d=!0),p>1&&Nd(e,t,1,r)&&(d=!0),p>2&&Nd(e,t,2,i)&&(d=!0),p>3&&Nd(e,t,3,o)&&(d=!0),p>4&&Nd(e,t,4,a)&&(d=!0),p>5&&Nd(e,t,5,s)&&(d=!0),p>6&&Nd(e,t,6,l)&&(d=!0),p>7&&Nd(e,t,7,u)&&(d=!0),p>8&&Nd(e,t,8,c)&&(d=!0),p>9&&Nd(e,t,9,h)&&(d=!0),d){var g=t.text.prefix;p>0&&(g+=bm(n,f[0])),p>1&&(g+=bm(r,f[1])),p>2&&(g+=bm(i,f[2])),p>3&&(g+=bm(o,f[3])),p>4&&(g+=bm(a,f[4])),p>5&&(g+=bm(s,f[5])),p>6&&(g+=bm(l,f[6])),p>7&&(g+=bm(u,f[7])),p>8&&(g+=bm(c,f[8])),p>9&&(g+=bm(h,f[9]));var _=Ed(e,t.nodeIndex).renderText;e.renderer.setValue(_,g)}return d}(e,t,n,r,i,o,a,s,l,u,c,h);case 16384:return function(e,t,n,r,i,o,a,s,l,u,c,h){var d=Od(e,t.nodeIndex),f=d.instance,p=!1,g=void 0,_=t.bindings.length;return _>0&&Ud(e,t,0,n)&&(p=!0,g=hp(e,d,t,0,n,g)),_>1&&Ud(e,t,1,r)&&(p=!0,g=hp(e,d,t,1,r,g)),_>2&&Ud(e,t,2,i)&&(p=!0,g=hp(e,d,t,2,i,g)),_>3&&Ud(e,t,3,o)&&(p=!0,g=hp(e,d,t,3,o,g)),_>4&&Ud(e,t,4,a)&&(p=!0,g=hp(e,d,t,4,a,g)),_>5&&Ud(e,t,5,s)&&(p=!0,g=hp(e,d,t,5,s,g)),_>6&&Ud(e,t,6,l)&&(p=!0,g=hp(e,d,t,6,l,g)),_>7&&Ud(e,t,7,u)&&(p=!0,g=hp(e,d,t,7,u,g)),_>8&&Ud(e,t,8,c)&&(p=!0,g=hp(e,d,t,8,c,g)),_>9&&Ud(e,t,9,h)&&(p=!0,g=hp(e,d,t,9,h,g)),g&&f.ngOnChanges(g),65536&t.flags&&kd(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,i,o,a,s,l,u,c,h);case 32:case 64:case 128:return function(e,t,n,r,i,o,a,s,l,u,c,h){var d=t.bindings,f=!1,p=d.length;if(p>0&&Nd(e,t,0,n)&&(f=!0),p>1&&Nd(e,t,1,r)&&(f=!0),p>2&&Nd(e,t,2,i)&&(f=!0),p>3&&Nd(e,t,3,o)&&(f=!0),p>4&&Nd(e,t,4,a)&&(f=!0),p>5&&Nd(e,t,5,s)&&(f=!0),p>6&&Nd(e,t,6,l)&&(f=!0),p>7&&Nd(e,t,7,u)&&(f=!0),p>8&&Nd(e,t,8,c)&&(f=!0),p>9&&Nd(e,t,9,h)&&(f=!0),f){var g,_=xd(e,t.nodeIndex);switch(201347067&t.flags){case 32:g=new Array(d.length),p>0&&(g[0]=n),p>1&&(g[1]=r),p>2&&(g[2]=i),p>3&&(g[3]=o),p>4&&(g[4]=a),p>5&&(g[5]=s),p>6&&(g[6]=l),p>7&&(g[7]=u),p>8&&(g[8]=c),p>9&&(g[9]=h);break;case 64:g={},p>0&&(g[d[0].name]=n),p>1&&(g[d[1].name]=r),p>2&&(g[d[2].name]=i),p>3&&(g[d[3].name]=o),p>4&&(g[d[4].name]=a),p>5&&(g[d[5].name]=s),p>6&&(g[d[6].name]=l),p>7&&(g[d[7].name]=u),p>8&&(g[d[8].name]=c),p>9&&(g[d[9].name]=h);break;case 128:var A=n;switch(p){case 1:g=A.transform(n);break;case 2:g=A.transform(r);break;case 3:g=A.transform(r,i);break;case 4:g=A.transform(r,i,o);break;case 5:g=A.transform(r,i,o,a);break;case 6:g=A.transform(r,i,o,a,s);break;case 7:g=A.transform(r,i,o,a,s,l);break;case 8:g=A.transform(r,i,o,a,s,l,u);break;case 9:g=A.transform(r,i,o,a,s,l,u,c);break;case 10:g=A.transform(r,i,o,a,s,l,u,c,h)}}_.value=g}return f}(e,t,n,r,i,o,a,s,l,u,c,h);default:throw"unreachable"}}(e,t,r,i,o,a,s,l,u,c,h,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,i=0;i<n.length;i++)sm(e,t,i,n[i])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,i=!1,o=0;o<n.length;o++)Nd(e,t,o,n[o])&&(i=!0);if(i){for(var a="",s=0;s<n.length;s++)a+=bm(n[s],r[s]);a=t.text.prefix+a;var l=Ed(e,t.nodeIndex).renderText;e.renderer.setValue(l,a)}return i}(e,t,n);case 16384:return function(e,t,n){for(var r=Od(e,t.nodeIndex),i=r.instance,o=!1,a=void 0,s=0;s<n.length;s++)Ud(e,t,s,n[s])&&(o=!0,a=hp(e,r,t,s,n[s],a));return a&&i.ngOnChanges(a),65536&t.flags&&kd(e,256,t.nodeIndex)&&i.ngOnInit(),262144&t.flags&&i.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,i=!1,o=0;o<n.length;o++)Nd(e,t,o,n[o])&&(i=!0);if(i){var a,s=xd(e,t.nodeIndex);switch(201347067&t.flags){case 32:a=n;break;case 64:a={};for(var l=0;l<n.length;l++)a[r[l].name]=n[l];break;case 128:var u=n[0],c=n.slice(1);a=u.transform.apply(u,_toConsumableArray2(c))}s.value=a}return i}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Im(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var i=Sd(e,n).template._projectedViews;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.state|=32,Qd(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Rm(e,t,n,r,i,o,a,s,l,u,c,h,d){return 0===n?function(e,t,n,r,i,o,a,s,l,u,c,h){var d=t.bindings.length;d>0&&jd(e,t,0,n),d>1&&jd(e,t,1,r),d>2&&jd(e,t,2,i),d>3&&jd(e,t,3,o),d>4&&jd(e,t,4,a),d>5&&jd(e,t,5,s),d>6&&jd(e,t,6,l),d>7&&jd(e,t,7,u),d>8&&jd(e,t,8,c),d>9&&jd(e,t,9,h)}(e,t,r,i,o,a,s,l,u,c,h,d):function(e,t,n){for(var r=0;r<n.length;r++)jd(e,t,r,n[r])}(e,t,r),!1}function Fm(e,t){if(Pd(e,t.nodeIndex).dirty)throw yd(Bd.createDebugContext(e,t.nodeIndex),"Query ".concat(t.query.id," not dirty"),"Query ".concat(t.query.id," dirty"),0!=(1&e.state))}function Lm(e){if(!(128&e.state)){if(jm(e,Um.Destroy),Nm(e,Um.Destroy),dp(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Kd(e);if(t){var n=t.template._projectedViews;n&&(he(n,n.indexOf(e)),Bd.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(Sd(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Ed(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Pd(e,n).destroy()}}(e),qd(e)&&e.renderer.destroy(),e.state|=128}}var Um=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function Nm(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];33554432&i.flags?Hm(Sd(e,r).componentView,t):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function jm(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];if(16777216&i.flags)for(var o=Sd(e,r).viewContainer._embeddedViews,a=0;a<o.length;a++)Hm(o[a],t);else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function Hm(e,t){var n=e.state;switch(t){case Um.CheckNoChanges:0==(128&n)&&(12==(12&n)?Bm(e):64&n&&Qm(e,Um.CheckNoChangesProjectedViews));break;case Um.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Bm(e):64&n&&Qm(e,t));break;case Um.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Dm(e):64&n&&Qm(e,Um.CheckAndUpdateProjectedViews));break;case Um.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Dm(e):64&n&&Qm(e,t));break;case Um.Destroy:Lm(e);break;case Um.CreateViewNodes:Tm(e)}}function Qm(e,t){jm(e,t),Nm(e,t)}function Vm(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var i=e.def.nodes.length,o=0;o<i;o++){var a=e.def.nodes[o];if(a.flags&t&&a.flags&n)switch(Bd.setCurrentNode(e,a.nodeIndex),r){case 0:cm(e,a);break;case 1:Fm(e,a)}a.childFlags&t&&a.childFlags&n||(o+=a.childCount)}}var Km=!1;function Wm(){if(!Km){Km=!0;var e=jr()?{setCurrentNode:py,createRootView:qm,createEmbeddedView:Gm,createComponentView:Xm,createNgModuleRef:Jm,overrideProvider:ty,overrideComponentView:ny,clearOverrides:ry,checkAndUpdateView:sy,checkNoChangesView:ly,destroyView:uy,createDebugContext:function(e,t){return new Cy(e,t)},handleEvent:gy,updateDirectives:_y,updateRenderer:Ay}:{setCurrentNode:function(){},createRootView:zm,createEmbeddedView:Em,createComponentView:Om,createNgModuleRef:Qf,overrideProvider:Dd,overrideComponentView:Dd,clearOverrides:Dd,checkAndUpdateView:Dm,checkNoChangesView:Bm,destroyView:Lm,createDebugContext:function(e,t){return new Cy(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?oy:ay,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?oy:ay,e)}};Bd.setCurrentNode=e.setCurrentNode,Bd.createRootView=e.createRootView,Bd.createEmbeddedView=e.createEmbeddedView,Bd.createComponentView=e.createComponentView,Bd.createNgModuleRef=e.createNgModuleRef,Bd.overrideProvider=e.overrideProvider,Bd.overrideComponentView=e.overrideComponentView,Bd.clearOverrides=e.clearOverrides,Bd.checkAndUpdateView=e.checkAndUpdateView,Bd.checkNoChangesView=e.checkNoChangesView,Bd.destroyView=e.destroyView,Bd.resolveDep=up,Bd.createDebugContext=e.createDebugContext,Bd.handleEvent=e.handleEvent,Bd.updateDirectives=e.updateDirectives,Bd.updateRenderer=e.updateRenderer,Bd.dirtyParentQueries=um}}function zm(e,t,n,r,i,o){var a=i.injector.get(zh);return Sm(Ym(e,i,a,t,n),r,o)}function qm(e,t,n,r,i,o){var a=i.injector.get(zh),s=Ym(e,i,new Sy(a),t,n),l=iy(r);return ky(fy.create,Sm,null,[s,l,o])}function Ym(e,t,n,r,i){var o=t.injector.get(di),a=t.injector.get(Or),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:s,errorHandler:a}}function Gm(e,t,n,r){var i=iy(n);return ky(fy.create,Em,null,[e,t,i,r])}function Xm(e,t,n,r){return n=ey.get(t.element.componentProvider.provider.token)||iy(n),ky(fy.create,Om,null,[e,t,n,r])}function Jm(e,t,n,r){return Qf(e,t,n,function(e){var t=function(e){var t=!1,n=!1;
1return 0===Zm.size||(e.providers.forEach((function(e){var r=Zm.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)})),e.modules.forEach((function(e){$m.forEach((function(r,i){O(i).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)}))}))),{hasOverrides:t,hasDeprecatedOverrides:n}}(e),n=t.hasOverrides,r=t.hasDeprecatedOverrides;return n?(function(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var i=Zm.get(n.token);i&&(n.flags=-3841&n.flags|i.flags,n.deps=Jd(i.deps),n.value=i.value)}if($m.size>0){var o=new Set(e.modules);$m.forEach((function(t,n){if(o.has(O(n).providedIn)){var i={token:n,flags:t.flags|(r?4096:0),deps:Jd(t.deps),value:t.value,index:e.providers.length};e.providers.push(i),e.providersByKey[Id(n)]=i}}))}}(e=e.factory((function(){return Dd}))),e):e}(r))}var Zm=new Map,$m=new Map,ey=new Map;function ty(e){var t;Zm.set(e.token,e),"function"==typeof e.token&&(t=O(e.token))&&"function"==typeof t.providedIn&&$m.set(e.token,e)}function ny(e,t){var n=ef(xf(t)),r=ef(n.nodes[0].element.componentView);ey.set(e,r)}function ry(){Zm.clear(),$m.clear(),ey.clear()}function iy(e){if(0===Zm.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var i=e.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&Zm.has(i.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory((function(){return Dd}));for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var i=r.provider,o=Zm.get(i.token);o&&(r.flags=-3841&r.flags|o.flags,i.deps=Jd(o.deps),i.value=o.value)}}}}function oy(e,t,n,r,i,o,a,s,l,u,c,h,d){var f=e.def.nodes[t];return Mm(e,f,n,r,i,o,a,s,l,u,c,h,d),224&f.flags?xd(e,t).value:void 0}function ay(e,t,n,r,i,o,a,s,l,u,c,h,d){var f=e.def.nodes[t];return Rm(e,f,n,r,i,o,a,s,l,u,c,h,d),224&f.flags?xd(e,t).value:void 0}function sy(e){return ky(fy.detectChanges,Dm,null,[e])}function ly(e){return ky(fy.checkNoChanges,Bm,null,[e])}function uy(e){return ky(fy.destroy,Lm,null,[e])}var cy,hy,dy,fy=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();function py(e,t){hy=e,dy=t}function gy(e,t,n,r){return py(e,t),ky(fy.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function _y(e,t){if(128&e.state)throw Cd(fy[cy]);return py(e,yy(e,0)),e.def.updateDirectives((function(e,n,r){for(var i=e.def.nodes[n],o=arguments.length,a=new Array(o>3?o-3:0),s=3;s<o;s++)a[s-3]=arguments[s];return 0===t?vy(e,i,r,a):my(e,i,r,a),16384&i.flags&&py(e,yy(e,n)),224&i.flags?xd(e,i.nodeIndex).value:void 0}),e)}function Ay(e,t){if(128&e.state)throw Cd(fy[cy]);return py(e,by(e,0)),e.def.updateRenderer((function(e,n,r){for(var i=e.def.nodes[n],o=arguments.length,a=new Array(o>3?o-3:0),s=3;s<o;s++)a[s-3]=arguments[s];return 0===t?vy(e,i,r,a):my(e,i,r,a),3&i.flags&&py(e,by(e,n)),224&i.flags?xd(e,i.nodeIndex).value:void 0}),e)}function vy(e,t,n,r){if(Mm.apply(void 0,[e,t,n].concat(_toConsumableArray2(r)))){var i=1===n?r[0]:r;if(16384&t.flags){for(var o={},a=0;a<t.bindings.length;a++){var s=t.bindings[a],l=i[a];8&s.flags&&(o[(f=s.nonMinifiedName,"ng-reflect-"+f.replace(/[$@]/g,"_").replace(Ei,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"-"+t[1].toLowerCase()})))]=Si(l))}var u=t.parent,c=Sd(e,u.nodeIndex).renderElement;if(u.element.name)for(var h in o){var d=o[h];null!=d?e.renderer.setAttribute(c,h,d):e.renderer.removeAttribute(c,h)}else e.renderer.setValue(c,"bindings="+JSON.stringify(o,null,2))}}var f}function my(e,t,n,r){Rm.apply(void 0,[e,t,n].concat(_toConsumableArray2(r)))}function yy(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function by(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Cy=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.view=t,this.nodeIndex=n,null==n&&(this.nodeIndex=n=0),this.nodeDef=t.def.nodes[n];for(var r=this.nodeDef,i=t;r&&0==(1&r.flags);)r=r.parent;if(!r)for(;!r&&i;)r=Wd(i),i=i.parent;this.elDef=r,this.elView=i}),[{key:"elOrCompView",get:function(){return Sd(this.elView,this.elDef.nodeIndex).componentView||this.view}},{key:"injector",get:function(){return Lf(this.elView,this.elDef)}},{key:"component",get:function(){return this.elOrCompView.component}},{key:"context",get:function(){return this.elOrCompView.context}},{key:"providerTokens",get:function(){var e=[];
1if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}},{key:"references",get:function(){var e={};if(this.elDef){wy(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&wy(this.elView,n,e),t+=n.childCount}}return e}},{key:"componentRenderElement",get:function(){var e=function(e){for(;e&&!qd(e);)e=e.parent;return e.parent?Sd(e.parent,Wd(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}},{key:"renderNode",get:function(){return 2&this.nodeDef.flags?zd(this.view,this.nodeDef):zd(this.elView,this.elDef)}},{key:"logError",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];var i,o;2&this.nodeDef.flags?(i=this.view.def,o=this.nodeDef.nodeIndex):(i=this.elView.def,o=this.elDef.nodeIndex);var a=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(i,o),s=-1;i.factory((function(){var t;return++s===a?(t=e.error).bind.apply(t,[e].concat(n)):Dd})),s<a&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,n))}}])}();function wy(e,t,n){for(var r in t.references)n[r]=dm(e,t,t.references[r])}function ky(e,t,n,r){var i,o,a=cy,s=hy,l=dy;try{cy=e;var u=t.apply(n,r);return hy=s,dy=l,cy=a,u}catch(c){if(kr(c)||!hy)throw c;throw i=c,o=Ey(),i instanceof Error||(i=new Error(i.toString())),bd(i,o),i}}function Ey(){return hy?new Cy(hy,dy):null}var Sy=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.delegate=t}),[{key:"createRenderer",value:function(e,t){return new Oy(this.delegate.createRenderer(e,t))}},{key:"begin",value:function(){this.delegate.begin&&this.delegate.begin()}},{key:"end",value:function(){this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}])}(),Oy=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.delegate=t,this.debugContextFactory=Ey,this.data=this.delegate.data}),[{key:"createDebugContext",value:function(e){return this.debugContextFactory(e)}},{key:"destroyNode",value:function(e){var t=Wv(e);!function(e){Vv.delete(e.nativeNode)}(t),t instanceof Mv&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}},{key:"destroy",value:function(){this.delegate.destroy()}},{key:"createElement",value:function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var i=new Iv(n,null,r);i.name=e,zv(i)}return n}},{key:"createComment",value:function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&zv(new Mv(t,null,n)),t}},{key:"createText",value:function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&zv(new Mv(t,null,n)),t}},{key:"appendChild",value:function(e,t){var n=Wv(e),r=Wv(t);n&&r&&n instanceof Iv&&n.addChild(r),this.delegate.appendChild(e,t)}},{key:"insertBefore",value:function(e,t,n){var r=Wv(e),i=Wv(t),o=Wv(n);r&&i&&r instanceof Iv&&r.insertBefore(o,i),this.delegate.insertBefore(e,t,n)}},{key:"removeChild",value:function(e,t){var n=Wv(e),r=Wv(t);n&&r&&n instanceof Iv&&n.removeChild(r),this.delegate.removeChild(e,t)}},{key:"selectRootElement",value:function(e,t){var n=this.delegate.selectRootElement(e,t),r=Ey();return r&&zv(new Iv(n,null,r)),n}},{key:"setAttribute",value:function(e,t,n,r){var i=Wv(e);i&&i instanceof Iv&&(i.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}},{key:"removeAttribute",value:function(e,t,n){var r=Wv(e);r&&r instanceof Iv&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){var n=Wv(e);n&&n instanceof Iv&&(n.classes[t]=!0),this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){var n=Wv(e);n&&n instanceof Iv&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,r){var i=Wv(e);i&&i instanceof Iv&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)}},{key:"removeStyle",value:function(e,t,n){var r=Wv(e);r&&r instanceof Iv&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){var r=Wv(e);r&&r instanceof Iv&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){if("string"!=typeof e){var r=Wv(e);r&&r.listeners.push(new Dv(t,n))}
1return this.delegate.listen(e,t,n)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setValue",value:function(e,t){return this.delegate.setValue(e,t)}}])}();function xy(e){return Wm(),Bd.overrideProvider(e)}function Py(e,t){return Wm(),Bd.overrideComponentView(e,t)}function Ty(){return Wm(),Bd.clearOverrides()}function By(e,t,n){return new Dy(e,t,n)}var Dy=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t)).moduleType=e,i._bootstrapComponents=n,i._ngModuleDefFactory=r,i}return _inherits2(t,e),_createClass2(t,[{key:"create",value:function(e){Wm();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(ef(this._ngModuleDefFactory));return Bd.createNgModuleRef(this.moduleType,e||Fs.NULL,this._bootstrapComponents,t)}}])}(ae)},"8bJo":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return u}));var r=n("HDdC"),i=n("LRne"),o=n("XNiG");n("8Y7J");var a=_createClass2((function e(){_classCallCheck2(this,e)}));function s(e){return e&&"function"==typeof e.connect}var l=function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t))._data=e,n}return _inherits2(t,e),_createClass2(t,[{key:"connect",value:function(){return this._data instanceof r.a?this._data:Object(i.a)(this._data)}},{key:"disconnect",value:function(){}}])}(a),u=function(){return _createClass2((function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_classCallCheck2(this,e),this._multiple=n,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new o.a,this.onChange=this.changed,r&&r.length&&(n?r.forEach((function(e){return t._markSelected(e)})):this._markSelected(r[0]),this._selectedToEmit.length=0)}),[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this._verifyValueAssignment(n),n.forEach((function(t){return e._markSelected(t)})),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this._verifyValueAssignment(n),n.forEach((function(t){return e._unmarkSelected(t)})),this._emitChangeEvent()}},{key:"toggle",value:function(e){this.isSelected(e)?this.deselect(e):this.select(e)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(e){return this._selection.has(e)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(e){this._multiple&&this.selected&&this._selected.sort(e)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}},{key:"_unmarkSelected",value:function(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}},{key:"_unmarkAll",value:function(){var e=this;this.isEmpty()||this._selection.forEach((function(t){return e._unmarkSelected(t)}))}},{key:"_verifyValueAssignment",value:function(e){if(e.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}])}()},"8rEH":function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return f})),n("zQui");var r=n("8bJo"),i=n("KCVW"),o=n("2Vo4"),a=n("XNiG"),s=n("quSY"),l=n("VRyK"),u=n("LRne"),c=n("itXk"),h=n("lJxs"),d=_createClass2((function e(){_classCallCheck2(this,e)})),f=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return _classCallCheck2(this,t),(e=_callSuper(this,t))._renderData=new o.a([]),e._filter=new o.a(""),e._internalPageChanges=new a.a,e._renderChangesSubscription=s.a.EMPTY,e.
1sortingDataAccessor=function(e,t){var n=e[t];if(Object(i.a)(n)){var r=Number(n);return r<9007199254740991?r:n}return n},e.sortData=function(t,n){var r=n.active,i=n.direction;return r&&""!=i?t.sort((function(t,n){var o=e.sortingDataAccessor(t,r),a=e.sortingDataAccessor(n,r),s=0;return null!=o&&null!=a?o>a?s=1:o<a&&(s=-1):null!=o?s=1:null!=a&&(s=-1),s*("asc"==i?1:-1)})):t},e.filterPredicate=function(e,t){var n=Object.keys(e).reduce((function(t,n){return t+e[n]+"\u25ec"}),"").toLowerCase(),r=t.trim().toLowerCase();return-1!=n.indexOf(r)},e._data=new o.a(n),e._updateChangeSubscription(),e}return _inherits2(t,e),_createClass2(t,[{key:"data",get:function(){return this._data.value},set:function(e){this._data.next(e)}},{key:"filter",get:function(){return this._filter.value},set:function(e){this._filter.next(e)}},{key:"sort",get:function(){return this._sort},set:function(e){this._sort=e,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(e){this._paginator=e,this._updateChangeSubscription()}},{key:"_updateChangeSubscription",value:function(){var e=this,t=this._sort?Object(l.a)(this._sort.sortChange,this._sort.initialized):Object(u.a)(null),n=this._paginator?Object(l.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(u.a)(null),r=this._data,i=Object(c.a)([r,this._filter]).pipe(Object(h.a)((function(t){var n=_slicedToArray2(t,1)[0];return e._filterData(n)}))),o=Object(c.a)([i,t]).pipe(Object(h.a)((function(t){var n=_slicedToArray2(t,1)[0];return e._orderData(n)}))),a=Object(c.a)([o,n]).pipe(Object(h.a)((function(t){var n=_slicedToArray2(t,1)[0];return e._pageData(n)})));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=a.subscribe((function(t){return e._renderData.next(t)}))}},{key:"_filterData",value:function(e){var t=this;return this.filteredData=this.filter?e.filter((function(e){return t.filterPredicate(e,t.filter)})):e,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}},{key:"_orderData",value:function(e){return this.sort?this.sortData(e.slice(),this.sort):e}},{key:"_pageData",value:function(e){if(!this.paginator)return e;var t=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(t,t+this.paginator.pageSize)}},{key:"_updatePaginator",value:function(e){var t=this;Promise.resolve().then((function(){var n=t.paginator;if(n&&(n.length=e,n.pageIndex>0)){var r=Math.ceil(n.length/n.pageSize)-1||0,i=Math.min(n.pageIndex,r);i!==n.pageIndex&&(n.pageIndex=i,t._internalPageChanges.next())}}))}},{key:"connect",value:function(){return this._renderData}},{key:"disconnect",value:function(){}}])}(r.b)},"9/Zf":function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"i",(function(){return a})),n.d(t,"h",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return h})),n.d(t,"f",(function(){return d})),n.d(t,"g",(function(){return f}));var r=n("+A1k"),i=(n("+924"),{});function o(){return Object(r.b)()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function a(){var e=o(),t=e.crypto||e.msCrypto;if(void 0!==t&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function s(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);return t?{host:t[4],path:t[5],protocol:t[2],relative:t[5]+(t[6]||"")+(t[8]||"")}:{}}function l(e){if(e.message)return e.message;if(e.exception&&e.exception.values&&e.exception.values[0]){var t=e.exception.values[0];return t.type&&t.value?t.type+": "+t.value:t.type||t.value||e.event_id||"<unknown>"}return e.event_id||"<unknown>"}function u(e){var t=o();if(!("console"in t))return e();var n=t.console,r={};["debug","info","warn","error","log","assert"].forEach((function(e){e in t.console&&n[e].__sentry_original__&&(r[e]=n[e],n[e]=n[e].__sentry_original__)}));var i=e();return Object.keys(r).forEach((function(e){n[e]=r[e]})),i}
1function c(e,t,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].value=e.exception.values[0].value||t||"",e.exception.values[0].type=e.exception.values[0].type||n||"Error"}function h(e,t){void 0===t&&(t={});try{e.exception.values[0].mechanism=e.exception.values[0].mechanism||{},Object.keys(t).forEach((function(n){e.exception.values[0].mechanism[n]=t[n]}))}catch(n){}}function d(){try{return document.location.href}catch(e){return""}}function f(e,t){if(!t)return 6e4;var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?6e4:r-e}},"978R":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return l})),n("8Y7J");var r=n("hpHm"),i=(n("mrSG"),n("z/SZ")),o=n("2uy1");n("PqYM");var a=_createClass2((function e(){_classCallCheck2(this,e),this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0})),s=function(){return _createClass2((function e(t){_classCallCheck2(this,e),Object.assign(this,t)}),[{key:"isBs3",get:function(){return Object(r.d)()}},{key:"ngAfterViewInit",value:function(){this.classMap={in:!1,fade:!1},this.classMap[this.placement]=!0,this.classMap["tooltip-"+this.placement]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}}])}(),l=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[a,i.a,o.a]}}}])}()},"9AQC":function(e,t,n){"use strict";function r(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return g(e,Error)}}function i(e){return"[object ErrorEvent]"===Object.prototype.toString.call(e)}function o(e){return"[object DOMError]"===Object.prototype.toString.call(e)}function a(e){return"[object DOMException]"===Object.prototype.toString.call(e)}function s(e){return"[object String]"===Object.prototype.toString.call(e)}function l(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}function c(e){return"undefined"!=typeof Event&&g(e,Event)}function h(e){return"undefined"!=typeof Element&&g(e,Element)}function d(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function f(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function p(e){return u(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function g(e,t){try{return e instanceof t}catch(n){return!1}}n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"k",(function(){return s})),n.d(t,"i",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return h})),n.d(t,"j",(function(){return d})),n.d(t,"m",(function(){return f})),n.d(t,"l",(function(){return p})),n.d(t,"g",(function(){return g}))},"9pFA":function pFA(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"h",(function(){return INITIAL_OPTIONS})),__webpack_require__.d(__webpack_exports__,"g",(function(){return STORE_DEVTOOLS_CONFIG})),__webpack_require__.d(__webpack_exports__,"i",(function(){return createConfig})),__webpack_require__.d(__webpack_exports__,"l",(function(){return DevtoolsDispatcher})),__webpack_require__.d(__webpack_exports__,"k",(function(){return DevtoolsExtension})),__webpack_require__.d(__webpack_exports__,"j",(function(){return REDUX_DEVTOOLS_EXTENSION})),__webpack_require__.d(__webpack_exports__,"c",(function(){return IS_EXTENSION_OR_MONITOR_PRESENT})),__webpack_require__.d(__webpack_exports__,"d",(function(){return createIsExtensionOrMonitorPresent})),__webpack_require__.d(__webpack_exports__,"e",(function(){return createReduxDevtoolsExtension})),__webpack_require__.d(__webpack_exports__,"f",(function(){return createStateObservable})),__webpack_require__.d(__webpack_exports__,"b",(function(){return StoreDevtoolsModule})),__webpack_require__.d(__webpack_exports__,"a",(function(){return StoreDevtools}));var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8Y7J"),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("DQLy"),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("EY2u"),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("HDdC"),rxjs__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("LRne"),rxjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("VRyK"),rxjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("qgXg"),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("jtHE"),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("w1tV"),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("pLZG"),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("lJxs"),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("bOdf"),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("tS1D"),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("Kj3r"),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("JIr8"),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("IzEk"),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("1G5W"),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("eIep"),rxjs_operators__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("zP0r"),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("pxpQ"),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("zp1y"),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("Kqap"),StoreDevtoolsConfig=_createClass2((function e(){_classCallCheck2(this,e)})),STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("@ngrx/devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("@ngrx/devtools Initial Config");function noMonitor(){return null}var DEFAULT_NAME="NgRx Store DevTools";function createConfig(e){var t={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}},n="function"==typeof e?e():e,r=Object.assign({},t,{features:n.features||!!n.logOnly&&{pause:!0,export:!0,test:!0}||t.features},n);if(r.maxAge&&r.maxAge<2)throw new Error("Devtools 'maxAge' cannot be less than 2, got "+r.maxAge);return r}var PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING",PerformAction=_createClass2((function e(t,n){if(_classCallCheck2(this,e),this.action=t,this.timestamp=n,this.type=PERFORM_ACTION,void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}
1)),Refresh=_createClass2((function e(){_classCallCheck2(this,e),this.type=REFRESH})),Reset=_createClass2((function e(t){_classCallCheck2(this,e),this.timestamp=t,this.type=RESET})),Rollback=_createClass2((function e(t){_classCallCheck2(this,e),this.timestamp=t,this.type=ROLLBACK})),Commit=_createClass2((function e(t){_classCallCheck2(this,e),this.timestamp=t,this.type=COMMIT})),Sweep=_createClass2((function e(){_classCallCheck2(this,e),this.type=SWEEP})),ToggleAction=_createClass2((function e(t){_classCallCheck2(this,e),this.id=t,this.type=TOGGLE_ACTION})),JumpToState=_createClass2((function e(t){_classCallCheck2(this,e),this.index=t,this.type=JUMP_TO_STATE})),JumpToAction=_createClass2((function e(t){_classCallCheck2(this,e),this.actionId=t,this.type=JUMP_TO_ACTION})),ImportState=_createClass2((function e(t){_classCallCheck2(this,e),this.nextLiftedState=t,this.type=IMPORT_STATE})),LockChanges=_createClass2((function e(t){_classCallCheck2(this,e),this.status=t,this.type=LOCK_CHANGES})),PauseRecording=_createClass2((function e(t){_classCallCheck2(this,e),this.status=t,this.type=PAUSE_RECORDING})),DevtoolsDispatcher=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t)}(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.a);function difference(e,t){return e.filter((function(e){return t.indexOf(e)<0}))}function unliftState(e){var t=e.computedStates,n=e.currentStateIndex;return n>=t.length?t[t.length-1].state:t[n].state}function liftAction(e){return new PerformAction(e,+Date.now())}function sanitizeActions(e,t){return Object.keys(t).reduce((function(n,r){var i=Number(r);return n[i]=sanitizeAction(e,t[i],i),n}),{})}function sanitizeAction(e,t,n){return Object.assign({},t,{action:e(t.action,n)})}function sanitizeStates(e,t){return t.map((function(t,n){return{state:sanitizeState(e,t.state,n),error:t.error}}))}function sanitizeState(e,t,n){return e(t,n)}function shouldFilterActions(e){return e.predicate||e.actionsSafelist||e.actionsBlocklist}function filterLiftedState(e,t,n,r){var i=[],o={},a=[];return e.stagedActionIds.forEach((function(s,l){var u=e.actionsById[s];u&&(l&&isActionFiltered(e.computedStates[l],u,t,n,r)||(o[s]=u,i.push(s),a.push(e.computedStates[l])))})),Object.assign({},e,{stagedActionIds:i,actionsById:o,computedStates:a})}function isActionFiltered(e,t,n,r,i){var o=n&&!n(e,t.action),a=r&&!t.action.type.match(r.map((function(e){return escapeRegExp(e)})).join("|")),s=i&&t.action.type.match(i.map((function(e){return escapeRegExp(e)})).join("|"));return o||a||s}function escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("Redux Devtools Extension"),DevtoolsExtension=function(){function DevtoolsExtension(e,t,n){_classCallCheck2(this,DevtoolsExtension),this.config=t,this.dispatcher=n,this.devtoolsExtension=e,this.createActionStreams()}return _createClass2(DevtoolsExtension,[{key:"notify",value:function(e,t){var n=this;if(this.devtoolsExtension)if(e.type===PERFORM_ACTION){if(t.isLocked||t.isPaused)return;var r=unliftState(t);if(shouldFilterActions(this.config)&&isActionFiltered(r,e,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;var i=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,r,t.currentStateIndex):r,o=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,e,t.nextActionId):e;this.sendToReduxDevtools((function(){return n.extensionConnection.send(o,i)}))}else{var a=Object.assign({},t,{stagedActionIds:t.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,t.actionsById):t.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,t.computedStates):t.computedStates});this.sendToReduxDevtools((function(){return n.devtoolsExtension.send(null,a,n.getExtensionConfig(n.config))}))}}},{key:"createChangesObservable",value:function(){var e=this;return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.a((function(t){var n=e.devtoolsExtension.connect(e.getExtensionConfig(e.config));return e.extensionConnection=n,n.init(),n.subscribe((function(e){return t.next(e)})),n.unsubscribe})):Object(rxjs__WEBPACK_IMPORTED_MODULE_2__.b)()}}
1,{key:"createActionStreams",value:function(){var e=this,t=this.createChangesObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.a)()),n=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)((function(e){return e.type===ExtensionActionTypes.START}))),r=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)((function(e){return e.type===ExtensionActionTypes.STOP}))),i=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)((function(e){return e.type===ExtensionActionTypes.DISPATCH})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)((function(t){return e.unwrapAction(t.payload)})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)((function(t){return t.type===IMPORT_STATE?e.dispatcher.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)((function(e){return e.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.r})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.a)(1e3),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.a)(1e3),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)((function(){return t})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.a)((function(){return Object(rxjs__WEBPACK_IMPORTED_MODULE_4__.a)(t)})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.a)(1)):Object(rxjs__WEBPACK_IMPORTED_MODULE_4__.a)(t)}))),o=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)((function(e){return e.type===ExtensionActionTypes.ACTION})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)((function(t){return e.unwrapAction(t.payload)}))).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(r)),a=i.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(r));this.start$=n.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(r)),this.actions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)((function(){return o}))),this.liftedActions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)((function(){return a})))}},{key:"unwrapAction",value:function unwrapAction(action){return"string"==typeof action?eval("(".concat(action,")")):action}},{key:"getExtensionConfig",value:function(e){var t={name:e.name,features:e.features,serialize:e.serialize};return!1!==e.maxAge&&(t.maxAge=e.maxAge),t}},{key:"sendToReduxDevtools",value:function(e){try{e()}catch(t){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",t)}}}])}(),INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.c},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(e,t,n,r,i){if(r)return{state:n,error:"Interrupted by an error up the chain"};var o,a=n;try{a=e(n,t)}catch(s){o=s.toString(),i.handleError(s.stack||s)}return{state:a,error:o}}function recomputeStates(e,t,n,r,i,o,a,s,l){if(t>=e.length&&e.length===o.length)return e;for(var u=e.slice(0,t),c=o.length-(l?1:0),h=t;h<c;h++){var d=o[h],f=i[d].action,p=u[h-1],g=p?p.state:r,_=p?p.error:void 0,A=a.indexOf(d)>-1?p:computeNextEntry(n,f,g,_,s);u.push(A)}return l&&u.push(e[e.length-1]),u}function liftInitialState(e,t){return{monitorState:t(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:e,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return function(o){return function(a,s){var l=a||t,u=l.monitorState,c=l.actionsById,h=l.nextActionId,d=l.stagedActionIds,f=l.skippedActionIds,p=l.committedState,g=l.currentStateIndex,_=l.computedStates,A=l.isLocked,v=l.isPaused;function m(e){for(var t=e,n=d.slice(1,t+1),r=0;r<n.length;r++){if(_[r+1].error){t=r,n=d.slice(1,t+1);break}delete c[n[r]]}f=f.filter((function(e){return-1===n.indexOf(e)})),d=[0].concat(_toConsumableArray2(d.slice(t+1))),p=_[t].state,_=_.slice(t),g=g>t?g-t:0}function y(){c={0:liftAction(INIT_ACTION)},h=1,d=[0],f=[],p=_[g].state,g=0,_=[]}a||(c=Object.create(c));var b=0;switch(s.type){case LOCK_CHANGES:A=s.status,b=1/0;break;case PAUSE_RECORDING:(v=s.status)?(d=[].concat(_toConsumableArray2(d),[h]),c[h]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),h++,b=d.length-1,_=_.concat(_[_.length-1]),g===d.length-2&&g++,b=1/0):y();break;case RESET:c={0:liftAction(INIT_ACTION)},h=1,d=[0],f=[],p=e,g=0,_=[];break;case COMMIT:y();break;case ROLLBACK:c={0:liftAction(INIT_ACTION)},h=1,d=[0],f=[],g=0,_=[];break;case TOGGLE_ACTION:var C=s.id,w=f.indexOf(C);f=-1===w?[C].concat(_toConsumableArray2(f)):f.filter((function(e){return e!==C})),b=d.indexOf(C);break;case SET_ACTIONS_ACTIVE:for(var k=s.start,E=s.end,S=s.active,O=[],x=k;x<E;x++)O.push(x);f=S?difference(f,O):[].concat(_toConsumableArray2(f),O),b=d.indexOf(k);break;case JUMP_TO_STATE:g=s.index,b=1/0;break;case JUMP_TO_ACTION:var P=d.indexOf(s.actionId);-1!==P&&(g=P),b=1/0;break;case SWEEP:d=difference(d,f),f=[],g=Math.min(g,d.length-1);break;case PERFORM_ACTION:if(A)return a||t;if(v||a&&isActionFiltered(a.computedStates[g],s,i.predicate,i.actionsSafelist,i.actionsBlocklist)){var T=_[_.length-1];_=[].concat(_toConsumableArray2(_.slice(0,-1)),[computeNextEntry(o,s.action,T.state,T.error,n)]),b=1/0;break}i.maxAge&&d.length===i.maxAge&&m(1),g===d.length-1&&g++;var B=h++;c[B]=s,b=(d=[].concat(_toConsumableArray2(d),[B])).length-1;break;case IMPORT_STATE:var D=s.nextLiftedState;u=D.monitorState,c=D.actionsById,h=D.nextActionId,d=D.stagedActionIds,f=D.skippedActionIds,p=D.committedState,g=D.currentStateIndex,_=D.computedStates,A=D.isLocked,v=D.isPaused;break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.c:b=0,i.maxAge&&d.length>i.maxAge&&(_=recomputeStates(_,b,o,p,c,d,f,n,v),m(d.length-i.maxAge),b=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.r:if(_.filter((function(e){return e.error})).length>0)b=0,i.maxAge&&d.length>i.maxAge&&(_=recomputeStates(_,b,o,p,c,d,f,n,v),m(d.length-i.maxAge),b=1/0);else{if(!v&&!A){g===d.length-1&&g++;var M=h++;c[M]=new PerformAction(s,+Date.now()),b=(d=[].concat(_toConsumableArray2(d),[M])).length-1,_=recomputeStates(_,b,o,p,c,d,f,n,v)}_=_.map((function(e){return Object.assign({},e,{state:o(e.state,RECOMPUTE_ACTION)})})),g=d.length-1,i.maxAge&&d.length>i.maxAge&&m(d.length-i.maxAge),b=1/0}break;default:b=1/0}return _=recomputeStates(_,b,o,p,c,d,f,n,v),{monitorState:u=r(u,s),actionsById:c,nextActionId:h,stagedActionIds:d,skippedActionIds:f,committedState:p,currentStateIndex:g,computedStates:_,isLocked:A,isPaused:v}}}}var StoreDevtools=function(){return _createClass2((function e(t,n,r,i,o,a,s,l){var u=this;_classCallCheck2(this,e);var c=liftInitialState(s,l.monitor),h=liftReducerWith(s,c,a,l.monitor,l),d=Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(n.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)(1)),i.actions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(liftAction)),t,i.liftedActions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.b)(rxjs__WEBPACK_IMPORTED_MODULE_6__.a)),f=r.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(h)),p=new rxjs__WEBPACK_IMPORTED_MODULE_7__.a(1),g=d.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.a)(f),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.a)((function(e,t){var n=e.state,r=_slicedToArray2(t,2),o=r[0],a=(0,r[1])(n,o);return o.type!==PERFORM_ACTION&&shouldFilterActions(l)&&(a=filterLiftedState(a,l.predicate,l.actionsSafelist,l.actionsBlocklist)),i.notify(o,a),{state:a,action:o}}),{state:c,action:null})).subscribe((function(e){var t=e.state,n=e.action;p.next(t),n.type===PERFORM_ACTION&&o.next(n.action)})),_=i.start$.subscribe((function(){u.refresh()})),A=p.asObservable(),v=A.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(unliftState));this.extensionStartSubscription=_,this.stateSubscription=g,this.dispatcher=t,this.liftedState=A,this.state=v}),[{key:"dispatch",value:function(e){this.dispatcher.next(e)}},{key:"next",value:function(e){this.dispatcher.next(e)}},{key:"error",value:function(e){}},{key:"complete",value:function(){}},{key:"performAction",value:function(e){this.dispatch(new PerformAction(e,+Date.now()))}},{key:"refresh",value:function(){this.dispatch(new Refresh)}},{key:"reset",value:function(){this.dispatch(new Reset(+Date.now()))}},{key:"rollback",value:function(){this.dispatch(new Rollback(+Date.now()))}},{key:"commit",value:function(){this.dispatch(new Commit(+Date.now()))}},{key:"sweep",value:function(){this.dispatch(new Sweep)}},{key:"toggleAction",value:function(e){this.dispatch(new ToggleAction(e))}},{key:"jumpToAction",value:function(e){this.dispatch(new JumpToAction(e))}},{key:"jumpToState",value:function(e){this.dispatch(new JumpToState(e))}},{key:"importState",value:function(e){this.dispatch(new ImportState(e))}},{key:"lockChanges",value:function(e){this.dispatch(new LockChanges(e))}},{key:"pauseRecording",value:function(e){this.dispatch(new PauseRecording(e))}}])}
1(),IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(e,t){return Boolean(e)||t.monitor!==noMonitor}function createReduxDevtoolsExtension(){return"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:null}function createStateObservable(e){return e.state}var StoreDevtoolsModule=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"instrument",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:t},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.n,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.i,useExisting:DevtoolsDispatcher}]}}}])}()},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},AytR:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={production:!0,apiEndpoint:"https://api.1-check.com.au",webEndpoint:"https://www.1-check.com.au",allowedMimeTypes:["image/png","image/bmp","image/jpeg","application/pdf"],registrationClosed:!1,authConfig:{authorityEndpoint:"https://accounts.1-check.com.au",clientId:"pc-register",clientSecret:"8cd9e1d6c5b34bb5952119ce65e38a89",clientScope:"openid profile roles email offline_access pc_api",responseType:"id_token token",redirectUri:"https://register.1-check.com.au/callback.html",postLogoutRedirectUri:"https://register.1-check.com.au/signout-callback.html",silentRedirectUri:"https://register.1-check.com.au/renew-callback.html"},sentryConfig:{dsn:"https://[email protected]/1475136"}}},BFxc:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("7o/Q"),i=n("4I5i"),o=n("EY2u");function a(e){return function(t){return 0===e?Object(o.b)():t.lift(new s(e))}}var s=function(){return _createClass2((function e(t){if(_classCallCheck2(this,e),this.total=t,this.total<0)throw new i.a}),[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.total))}}])}(),l=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).total=n,r.ring=new Array,r.count=0,r}return _inherits2(t,e),_createClass2(t,[{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()}}])}(r.a)},Cfvw:function(e,t,n){"use strict";var r=n("HDdC"),i=n("SeVD"),o=n("quSY"),a=n("kJWO"),s=n("jZKg"),l=n("Lhse"),u=n("c2HN"),c=n("I55L");function h(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return new r.a((function(n){var r=new o.a;return r.add(t.schedule((function(){var i=e[a.a]();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(Object(u.a)(e))return function(e,t){return new r.a((function(n){var r=new o.a;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(Object(c.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[l.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a((function(n){var r,i=new o.a;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(t.schedule((function(){r=e[l.a](),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 r.a?e:new r.a(Object(i.a)(e))}n.d(t,"a",(function(){return h}))},Ckfk:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){var e=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"addClass",value:function(e,t){e.classList?e.classList.add(t):e.className+=" "+t}},{key:"addMultipleClasses",value:function(e,t){if(e.classList)for(var n=t.split(" "),r=0;r<n.length;r++)e.classList.add(n[r]);else for(var i=t.split(" "),o=0;o<i.length;o++)e.className+=" "+i[o]}},{key:"removeClass",value:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}},{key:"hasClass",value:function(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)}},{key:"siblings",value:function(e){return Array.prototype.filter.call(e.parentNode.children,(function(t){return t!==e}))}},{key:"find",value:function(e,t){return Array.from(e.querySelectorAll(t))}},{key:"findSingle",value:function(e,t){return e?e.querySelector(t):null}},{key:"index",value:function(e){for(var t=e.parentNode.childNodes,n=0,r=0;r<t.length;r++){if(t[r]==e)return n;1==t[r].nodeType&&n++}return-1}},{key:"indexWithinGroup",value:function(e,t){for(var n=e.parentNode?e.parentNode.childNodes:[],r=0,i=0;i<n.length;i++){if(n[i]==e)return r;n[i].attributes&&n[i].attributes[t]&&1==n[i].nodeType&&r++}return-1}},{key:"relativePosition",value:function(e,t){var n,r,i=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),o=t.offsetHeight,a=t.getBoundingClientRect(),s=this.getViewport();a.top+o+i.height>s.height?(n=-1*i.height,a.top+n<0&&(n=-1*a.top)):n=o,r=i.width>s.width?-1*a.left:a.left+i.width>s.width?-1*(a.left+i.width-s.width):0,e.style.top=n+"px",e.style.left=r+"px"}},{key:"absolutePosition",value:function(e,t){var n,r,i=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),o=i.height,a=i.width,s=t.offsetHeight,l=t.offsetWidth,u=t.getBoundingClientRect(),c=this.getWindowScrollTop(),h=this.getWindowScrollLeft(),d=this.getViewport();u.top+s+o>d.height?(n=u.top+c-o)<0&&(n=c):n=s+u.top+c,r=u.left+a>d.width?Math.max(0,u.left+h+l-a):u.left+h,e.style.top=n+"px",e.style.left=r+"px"}},{key:"getHiddenElementOuterHeight",value:function(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",t}},{key:"getHiddenElementOuterWidth",value:function(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",t}},{key:"getHiddenElementDimensions",value:function(e){var t={};return e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",t}},{key:"scrollInView",value:function(e,t){var n=getComputedStyle(e).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,i=getComputedStyle(e).getPropertyValue("paddingTop"),o=i?parseFloat(i):0,a=e.getBoundingClientRect(),s=t.getBoundingClientRect().top+document.body.scrollTop-(a.top+document.body.scrollTop)-r-o,l=e.scrollTop,u=e.clientHeight,c=this.getOuterHeight(t);s<0?e.scrollTop=l+s:s+c>u&&(e.scrollTop=l+s-u+c)}},{key:"fadeIn",value:function(e,t){e.style.opacity=0;var n=+new Date,r=0,i=function(){r=+e.style.opacity.replace(",",".")+((new Date).getTime()-n)/t,e.style.opacity=r,n=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(i)||setTimeout(i,16))};i()}},{key:"fadeOut",value:function(e,t){var n=1,r=50/t,i=setInterval((function(){(n-=r)<=0&&(n=0,clearInterval(i)),e.style.opacity=n}
1),50)}},{key:"getWindowScrollTop",value:function(){var e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}},{key:"getWindowScrollLeft",value:function(){var e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}},{key:"matches",value:function(e,t){var n=Element.prototype;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(e){return-1!==[].indexOf.call(document.querySelectorAll(e),this)}).call(e,t)}},{key:"getOuterWidth",value:function(e,t){var n=e.offsetWidth;if(t){var r=getComputedStyle(e);n+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return n}},{key:"getHorizontalPadding",value:function(e){var t=getComputedStyle(e);return parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)}},{key:"getHorizontalMargin",value:function(e){var t=getComputedStyle(e);return parseFloat(t.marginLeft)+parseFloat(t.marginRight)}},{key:"innerWidth",value:function(e){var t=e.offsetWidth,n=getComputedStyle(e);return t+=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)}},{key:"width",value:function(e){var t=e.offsetWidth,n=getComputedStyle(e);return t-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),t}},{key:"getInnerHeight",value:function(e){var t=e.offsetHeight,n=getComputedStyle(e);return t+=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)}},{key:"getOuterHeight",value:function(e,t){var n=e.offsetHeight;if(t){var r=getComputedStyle(e);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}},{key:"getHeight",value:function(e){var t=e.offsetHeight,n=getComputedStyle(e);return t-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth)}},{key:"getWidth",value:function(e){var t=e.offsetWidth,n=getComputedStyle(e);return t-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth)}},{key:"getViewport",value:function(){var e=window,t=document,n=t.documentElement,r=t.getElementsByTagName("body")[0];return{width:e.innerWidth||n.clientWidth||r.clientWidth,height:e.innerHeight||n.clientHeight||r.clientHeight}}},{key:"getOffset",value:function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}}},{key:"replaceElementWith",value:function(e,t){var n=e.parentNode;if(!n)throw"Can't replace element";return n.replaceChild(t,e)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"isIE",value:function(){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||(e.indexOf("Trident/")>0?(e.indexOf("rv:"),!0):e.indexOf("Edge/")>0)}},{key:"isIOS",value:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}},{key:"isAndroid",value:function(){return/(android)/i.test(navigator.userAgent)}},{key:"appendChild",value:function(e,t){if(this.isElement(t))t.appendChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot append "+t+" to "+e;t.el.nativeElement.appendChild(e)}}},{key:"removeChild",value:function(e,t){if(this.isElement(t))t.removeChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot remove "+e+" from "+t;t.el.nativeElement.removeChild(e)}}},{key:"isElement",value:function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}},{key:"calculateScrollbarWidth",value:function(e){if(e){var t=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth)}if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;var n=document.createElement("div");n.className="ui-scrollbar-measure",document.body.appendChild(n);var r=n.offsetWidth-n.clientWidth;return document.body.removeChild(n),this.calculatedScrollbarWidth=r,r}},{key:"calculateScrollbarHeight",value:function(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;var e=document.createElement("div");e.className="ui-scrollbar-measure",document.body.appendChild(e);var t=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=t,t}},{key:"invokeElementMethod",value:function(e,t,n){e[t].apply(e,n)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(e){}}},{key:"getBrowser",value:function(){if(!this.browser){var e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var e=navigator.userAgent.toLowerCase(),t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}},{key:"isInteger",value:function(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}},{key:"isHidden",value:function(e){return null===e.offsetParent}},{key:"getFocusableElements",value:function(t){var n,r=[],i=_createForOfIteratorHelper2(e.find(t,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not
1([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'));try{for(i.s();!(n=i.n()).done;){var o=n.value;"none"!=getComputedStyle(o).display&&"hidden"!=getComputedStyle(o).visibility&&r.push(o)}}catch(a){i.e(a)}finally{i.f()}return r}}])}();return e.zindex=1e3,e.calculatedScrollbarWidth=null,e.calculatedScrollbarHeight=null,e}()},D0XW:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("3N8a"),i=new(n("IjjT").a)(r.a)},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Array.isArray||function(e){return e&&"number"==typeof e.length}},DQLy:function(e,t,n){"use strict";var r=n("8Y7J"),i=n("2Vo4"),o=n("HDdC"),a=n("XNiG"),s=n("qgXg"),l=n("pxpQ"),u=n("zp1y"),c=n("Kqap"),h=n("lJxs"),d=n("/uUt");n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return D})),n.d(t,"c",(function(){return A})),n.d(t,"d",(function(){return k})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return I})),n.d(t,"g",(function(){return C})),n.d(t,"h",(function(){return q})),n.d(t,"i",(function(){return W})),n.d(t,"j",(function(){return K})),n.d(t,"k",(function(){return S})),n.d(t,"l",(function(){return Y})),n.d(t,"m",(function(){return X})),n.d(t,"n",(function(){return G})),n.d(t,"o",(function(){return Z})),n.d(t,"p",(function(){return we})),n.d(t,"q",(function(){return Ce})),n.d(t,"r",(function(){return z})),n.d(t,"s",(function(){return M})),n.d(t,"t",(function(){return F})),n.d(t,"u",(function(){return j})),n.d(t,"v",(function(){return H})),n.d(t,"w",(function(){return p})),n.d(t,"x",(function(){return oe})),n.d(t,"y",(function(){return Be})),n.d(t,"z",(function(){return Q})),n.d(t,"A",(function(){return re})),n.d(t,"B",(function(){return Te})),n.d(t,"C",(function(){return g})),n.d(t,"D",(function(){return $})),n.d(t,"E",(function(){return ge})),n.d(t,"F",(function(){return _e})),n.d(t,"G",(function(){return Ae})),n.d(t,"H",(function(){return me})),n.d(t,"I",(function(){return ye})),n.d(t,"J",(function(){return be})),n.d(t,"K",(function(){return m})),n.d(t,"L",(function(){return y})),n.d(t,"M",(function(){return w})),n.d(t,"N",(function(){return E})),n.d(t,"O",(function(){return O})),n.d(t,"P",(function(){return x})),n.d(t,"Q",(function(){return P})),n.d(t,"R",(function(){return T})),n.d(t,"S",(function(){return B})),n.d(t,"T",(function(){return R})),n.d(t,"U",(function(){return L})),n.d(t,"V",(function(){return U})),n.d(t,"W",(function(){return N})),n.d(t,"X",(function(){return ke})),n.d(t,"Y",(function(){return Ee})),n.d(t,"Z",(function(){return Se})),n.d(t,"ab",(function(){return Oe})),n.d(t,"bb",(function(){return xe})),n.d(t,"cb",(function(){return Pe}));var f={};function p(e,t){if(f[e]=(f[e]||0)+1,"function"==typeof t)return _(e,(function(){return Object.assign(Object.assign({},t.apply(void 0,arguments)),{type:e})}));switch(t?t._as:"empty"){case"empty":return _(e,(function(){return{type:e}}));case"props":return _(e,(function(t){return Object.assign(Object.assign({},t),{type:e})}));default:throw new Error("Unexpected config.")}}function g(){return{_as:"props",_p:void 0}}function _(e,t){return Object.defineProperty(t,"type",{value:e,writable:!1})}var A="@ngrx/store/init",v=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,[{type:A}])}return _inherits2(t,e),_createClass2(t,[{key:"next",value:function(e){if("function"==typeof e)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(void 0===e)throw new TypeError("Actions must be objects");if(void 0===e.type)throw new TypeError("Actions must have a type property");_superPropGet(t,"next",this,3)([e])}},{key:"complete",value:function(){}},{key:"ngOnDestroy",value:function(){_superPropGet(t,"complete",this,3)([])}}])}(i.a),m=new r.InjectionToken("@ngrx/store Internal Root Guard"),y=new r.InjectionToken("@ngrx/store Internal Initial State"),b=new r.InjectionToken("@ngrx/store Initial State"),C=new r.InjectionToken("@ngrx/store Reducer Factory"),w=new r.InjectionToken("@ngrx/store Internal Reducer Factory Provider"),k=new r.InjectionToken("@ngrx/store Initial Reducers"),E=new r.InjectionToken("@ngrx/store Internal Initial Reducers"),S=new r.InjectionToken("@ngrx/store Store Features"),O=new r.InjectionToken("@ngrx/store Internal Store Reducers"),x=new r.InjectionToken("@ngrx/store Internal Feature Reducers"),P=new r.InjectionToken("@ngrx/store Internal Feature Configs"),T=new r.InjectionToken("@ngrx/store Internal Store Features"),B=new r.InjectionToken("@ngrx/store Internal Feature Reducers Token"),D=new r.InjectionToken("@ngrx/store Feature Reducers"),M=new r.InjectionToken("@ngrx/store User Provided Meta Reducers"),I=new r.InjectionToken("@ngrx/store Meta Reducers"),R=new r.InjectionToken("@ngrx/store Internal Resolved Meta Reducers"),F=new r.InjectionToken("@ngrx/store User Runtime Checks Config"),L=new r.InjectionToken("@ngrx/store Internal User Runtime Checks Config"),U=new r.InjectionToken("@ngrx/store Internal Runtime Checks"),N=new r.InjectionToken("@ngrx/store Check if Action types are unique");function j(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.keys(e),r={},i=0;i<n.length;i++){var o=n[i];"function"==typeof e[o]&&(r[o]=e[o])}var a=Object.keys(r);return function(e,n){e=void 0===e?t:e;for(var i=!1,o={},s=0;s<a.length;s++){var l=a[s],u=e[l],c=(0,r[l])(u,n);o[l]=c,i=i||c!==u}return i?o:e}}function H(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){if(0===t.length)return e;var n=t[t.length-1];return t.slice(0,-1).reduceRight((function(e,t){return t(e)}),n(e))}}function Q(e,t){return Array.isArray(t)&&t.length>0&&(e=H.apply(null,[].concat(_toConsumableArray2(t),[e]))),function(t,n){var r=e(t);return function(e,t){return r(e=void 0===e?n:e,t)}}}var V,K=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}
1return _inherits2(t,e),_createClass2(t)}(o.a),W=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t)}(v),z="@ngrx/store/update-reducers",q=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t,[i(r,n)])).dispatcher=e,o.initialState=n,o.reducers=r,o.reducerFactory=i,o}return _inherits2(t,e),_createClass2(t,[{key:"addFeature",value:function(e){this.addFeatures([e])}},{key:"addFeatures",value:function(e){var t=e.reduce((function(e,t){var n=t.reducers,r=t.reducerFactory,i=t.metaReducers,o=t.initialState,a=t.key,s="function"==typeof n?function(e){var t=Array.isArray(e)&&e.length>0?H.apply(void 0,_toConsumableArray2(e)):function(e){return e};return function(e,n){return e=t(e),function(t,r){return e(t=void 0===t?n:t,r)}}}(i)(n,o):Q(r,i)(n,o);return e[a]=s,e}),{});this.addReducers(t)}},{key:"removeFeature",value:function(e){this.removeFeatures([e])}},{key:"removeFeatures",value:function(e){this.removeReducers(e.map((function(e){return e.key})))}},{key:"addReducer",value:function(e,t){this.addReducers(_defineProperty({},e,t))}},{key:"addReducers",value:function(e){this.reducers=Object.assign(Object.assign({},this.reducers),e),this.updateReducers(Object.keys(e))}},{key:"removeReducer",value:function(e){this.removeReducers([e])}},{key:"removeReducers",value:function(e){var t=this;e.forEach((function(e){var n,r;t.reducers=(n=t.reducers,r=e,Object.keys(n).filter((function(e){return e!==r})).reduce((function(e,t){return Object.assign(e,_defineProperty({},t,n[t]))}),{}))})),this.updateReducers(e)}},{key:"updateReducers",value:function(e){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:z,features:e})}},{key:"ngOnDestroy",value:function(){this.complete()}}])}(i.a),Y=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t,[{key:"ngOnDestroy",value:function(){this.complete()}}])}(a.a),G=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t)}(o.a),X=((V=function(e){function t(e,n,r,i){var o;_classCallCheck2(this,t),o=_callSuper(this,t,[i]);var a={state:i},h=e.pipe(Object(l.b)(s.a)).pipe(Object(u.a)(n)).pipe(Object(c.a)(J,a));return o.stateSubscription=h.subscribe((function(e){var t=e.state,n=e.action;o.next(t),r.next(n)})),o}return _inherits2(t,e),_createClass2(t,[{key:"ngOnDestroy",value:function(){this.stateSubscription.unsubscribe(),this.complete()}}])}(i.a)).INIT=A,V);function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{state:void 0},t=arguments.length>1?arguments[1]:void 0,n=_slicedToArray2(t,2),r=n[0],i=n[1],o=e.state;return{state:i(o,r),action:r}}var Z=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t)).actionsObserver=n,i.reducerManager=r,i.source=e,i}return _inherits2(t,e),_createClass2(t,[{key:"select",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 $.call.apply($,[null,e].concat(n))(this)}},{key:"lift",value:function(e){var n=new t(this,this.actionsObserver,this.reducerManager);return n.operator=e,n}},{key:"dispatch",value:function(e){this.actionsObserver.next(e)}},{key:"next",value:function(e){this.actionsObserver.next(e)}},{key:"error",value:function(e){this.actionsObserver.error(e)}},{key:"complete",value:function(){this.actionsObserver.complete()}},{key:"addReducer",value:function(e,t){this.reducerManager.addReducer(e,t)}},{key:"removeReducer",value:function(e){this.reducerManager.removeReducer(e)}}])}(o.a);function $(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return function(n){var i;if("string"==typeof e){var o=[t].concat(r).filter(Boolean);i=n.pipe((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.length;if(0===r)throw new Error("list of properties cannot be empty.");return function(e){return Object(h.a)(function(e,t){return function(n){for(var r=n,i=0;i<t;i++){var o=r[e[i]];if(void 0===o)return;r=o}return r}}(t,r))(e)}}).apply(void 0,[e].concat(_toConsumableArray2(o))))}else{if("function"!=typeof e)throw new TypeError("Unexpected type '".concat(typeof e,"' in select operator, expected 'string' or 'function'"));i=n.pipe(Object(h.a)((function(n){return e(n,t)})))}return i.pipe(Object(d.a)())}}function ee(e,t){return e===t}function te(e,t,n){for(var r=0;r<e.length;r++)if(!n(e[r],t[r]))return!0;return!1}function ne(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ee,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ee,i=null,o=null;return{memoized:function(){if(void 0!==t)return t.result;if(!i)return o=e.apply(null,arguments),i=arguments,o;if(!te(arguments,i,n))return o;var a=e.apply(null,arguments);return i=arguments,r(o,a)?o:(o=a,a)},reset:function(){i=null,o=null},setResult:function(e){t={result:e}},clearResult:function(){t=void 0}}}function re(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{stateFn:ie};return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=r;if(Array.isArray(o[0])){var a=o,s=_toArray(a),l=s[0],u=_arrayLikeToArray2(s).slice(1);o=[].concat(_toConsumableArray2(l),_toConsumableArray2(u))}var c=o.slice(0,o.length-1),h=o[o.length-1],d=c.filter((function(e){return e.release&&"function"==typeof e.release})),f=e((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return h.apply(null,t)})),p=ne((function(e,n){return t.stateFn.apply(null,[e,c,n,f])}));return Object.assign(p.memoized,{release:function(){p.reset(),f.reset(),d.forEach((function(e){return e.release()}))},projector:f.memoized,setResult:p.setResult,clearResult:p.clearResult})}}(ne).apply(void 0,arguments)}function ie(e,t,n,r){if(void 0===n){var i=t.map((function(t){return t(e)}));return r.memoized.apply(null,i)}var o=t.map((function(t){return t(e,n)}));return r.memoized.apply(null,[].concat(_toConsumableArray2(o),[n]))}function oe(e){return re((function(t){var n=t[e];return!Object(r.isDevMode)()||e in t||console.warn('@ngrx/store: The feature name "'.concat(e,"\" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('").concat(e,"', ...) or StoreModule.forFeature
1('").concat(e,"', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.")),n}),(function(e){return e}))}var ae="https://ngrx.io/guide/store/configuration/runtime-checks";function se(e){return void 0===e}function le(e){return null===e}function ue(e){return Array.isArray(e)}function ce(e){return"object"==typeof e&&null!==e}function he(e){return"function"==typeof e}function de(e){Object.freeze(e);var t=he(e);return Object.getOwnPropertyNames(e).forEach((function(n){if(!n.startsWith("\u0275")&&function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,n)&&(!t||"caller"!==n&&"callee"!==n&&"arguments"!==n)){var r=e[n];!ce(r)&&!he(r)||Object.isFrozen(r)||de(r)}})),e}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(se(e)||le(e))&&0===t.length?{path:["root"],value:e}:Object.keys(e).reduce((function(n,r){if(n)return n;var i=e[r];return function(e){return he(e)&&e.hasOwnProperty("\u0275cmp")}(i)?n:!(se(i)||le(i)||function(e){return"number"==typeof e}(i)||function(e){return"boolean"==typeof e}(i)||function(e){return"string"==typeof e}(i)||ue(i))&&(function(e){if(!function(e){return ce(e)&&!ue(e)}(e))return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}(i)?fe(i,[].concat(_toConsumableArray2(t),[r])):{path:[].concat(_toConsumableArray2(t),[r]),value:i})}),!1)}function pe(e,t){if(!1!==e){var n=e.path.join("."),r=new Error("Detected unserializable ".concat(t,' at "').concat(n,'". ').concat(ae,"#strict").concat(t,"serializability"));throw r.value=e.value,r.unserializablePath=n,r}}function ge(e){return Object(r.isDevMode)()?Object.assign({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},e):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function _e(e){var t=e.strictActionSerializability,n=e.strictStateSerializability;return function(e){return t||n?function(e,t){return function(n,r){t.action(r)&&pe(fe(r),"action");var i=e(n,r);return t.state()&&pe(fe(i),"state"),i}}(e,{action:function(e){return t&&!ve(e)},state:function(){return n}}):e}}function Ae(e){var t=e.strictActionImmutability,n=e.strictStateImmutability;return function(e){return t||n?function(e,t){return function(n,r){var i=t.action(r)?de(r):r,o=e(n,i);return t.state()?de(o):o}}(e,{action:function(e){return t&&!ve(e)},state:function(){return n}}):e}}function ve(e){return e.type.startsWith("@ngrx")}function me(e){var t=e.strictActionWithinNgZone;return function(e){return t?function(e,t){return function(n,i){if(t.action(i)&&!r.NgZone.isInAngularZone())throw new Error("Action '".concat(i.type,"' running outside NgZone. ").concat(ae,"#strictactionwithinngzone"));return e(n,i)}}(e,{action:function(e){return t&&!ve(e)}}):e}}function ye(e){return e}function be(e){if(e.strictActionTypeUniqueness){var t=Object.entries(f).filter((function(e){return _slicedToArray2(e,2)[1]>1})).map((function(e){return _slicedToArray2(e,1)[0]}));if(t.length)throw new Error("Action types are registered more than once, ".concat(t.map((function(e){return'"'.concat(e,'"')})).join(", "),". ").concat(ae,"#strictactiontypeuniqueness"))}}var Ce=_createClass2((function e(t,n,r,i,o,a){_classCallCheck2(this,e)})),we=function(){return _createClass2((function e(t,n,r,i,o){_classCallCheck2(this,e),this.features=t,this.featureReducers=n,this.reducerManager=r;var a=t.map((function(e,t){var r=n.shift()[t];return Object.assign(Object.assign({},e),{reducers:r,initialState:Oe(e.initialState)})}));r.addFeatures(a)}),[{key:"ngOnDestroy",value:function(){this.reducerManager.removeFeatures(this.features)}}])}();function ke(e,t){return t instanceof r.InjectionToken?e.get(t):t}function Ee(e,t,n){return n.map((function(n,i){if(t[i]instanceof r.InjectionToken){var o=e.get(t[i]);return{key:n.key,reducerFactory:o.reducerFactory?o.reducerFactory:j,metaReducers:o.metaReducers?o.metaReducers:[],initialState:o.initialState}}return n}))}function Se(e,t){return t.map((function(t){return t instanceof r.InjectionToken?e.get(t):t}))}function Oe(e){return"function"==typeof e?e():e}function xe(e,t){return e.concat(t)}function Pe(e){if(e)throw new TypeError("StoreModule.forRoot() called twice. Feature modules should use StoreModule.forFeature
1() instead.");return"guarded"}function Te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return{reducer:t.pop(),types:t.reduce((function(e,t){return[].concat(_toConsumableArray2(e),[t.type])}),[])}}function Be(e){for(var t=new Map,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=function(){var e,n=s[a],r=_createForOfIteratorHelper2(n.types);try{var i=function(){var r=e.value;if(t.has(r)){var i=t.get(r);t.set(r,(function(e,t){return n.reducer(i(e,t),t)}))}else t.set(r,n.reducer)};for(r.s();!(e=r.n()).done;)i()}catch(o){r.e(o)}finally{r.f()}},a=0,s=r;a<s.length;a++)o();return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1?arguments[1]:void 0,i=t.get(r.type);return i?i(n,r):n}}},EApP:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return E})),n.d(t,"f",(function(){return O})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return k})),n.d(t,"i",(function(){return w})),n.d(t,"j",(function(){return y}));var r,i,o=n("8Y7J"),a=n("XNiG"),s=n("cUpR"),l=n("SVse"),u=_createClass2((function e(){_classCallCheck2(this,e)})),c=function(){return _createClass2((function e(t,n,r,i,o,s){var l=this;_classCallCheck2(this,e),this.toastId=t,this.config=n,this.message=r,this.title=i,this.toastType=o,this.toastRef=s,this._onTap=new a.a,this._onAction=new a.a,this.toastRef.afterClosed().subscribe((function(){l._onAction.complete(),l._onTap.complete()}))}),[{key:"triggerTap",value:function(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}},{key:"onTap",value:function(){return this._onTap.asObservable()}},{key:"triggerAction",value:function(e){this._onAction.next(e)}},{key:"onAction",value:function(){return this._onAction.asObservable()}}])}(),h={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},d=new o.InjectionToken("ToastConfig"),f=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.component=t,this.injector=n}),[{key:"attach",value:function(e,t){return this._attachedHost=e,e.attach(this,t)}},{key:"detach",value:function(){var e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}])}(),p=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t))._hostDomElement=e,i._componentFactoryResolver=n,i._appRef=r,i}return _inherits2(t,e),_createClass2(t,[{key:"attachComponentPortal",value:function(e,t){var n,r=this,i=this._componentFactoryResolver.resolveComponentFactory(e.component);return n=i.create(e.injector),this._appRef.attachView(n.hostView),this.setDisposeFn((function(){r._appRef.detachView(n.hostView),n.destroy()})),t?this._hostDomElement.insertBefore(this._getComponentRootNode(n),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(n)),n}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}])}(function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"attach",value:function(e,t){return this._attachedPortal=e,this.attachComponentPortal(e,t)}},{key:"detach",value:function(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}}])}()),g=function(){var e=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._document=t}),[{key:"ngOnDestroy",value:function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var e=this._document.createElement("div");e.classList.add("overlay-container"),this._document.body.appendChild(e),this._containerElement=e}}])}();return e.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(l.e))},token:e,providedIn:"root"}),e}(),_=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._portalHost=t}),[{key:"attach",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._portalHost.attach(e,t)}},{key:"detach",value:function(){return this._portalHost.detach()}}])}(),A=function(){var e=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this._overlayContainer=t,this._componentFactoryResolver=n,this._appRef=r,this._document=i,this._paneElements=new Map}),[{key:"create",value:function(e,t){return this._createOverlayRef(this.getPaneElement(e,t))}},{key:"getPaneElement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return this._paneElements.get(t)||this._paneElements.set(t,{}),this._paneElements.get(t)[e]||(this._paneElements.get(t)[e]=this._createPaneElement(e,t)),this._paneElements.get(t)[e]}},{key:"_createPaneElement",value:function(e,t){var n=this._document.createElement("div");return n.id="toast-container",n.classList.add(e),n.classList.add("toast-container"),t?t.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}},{key:"_createPortalHost",value:function(e){return new p(e,this._componentFactoryResolver,this._appRef)}},{key:"_createOverlayRef",value:function(e){return new _(this._createPortalHost(e))}}])}();return e.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(g),Object(o["\u0275\u0275inject"])(o.ComponentFactoryResolver),Object(o["\u0275\u0275inject"])(o.ApplicationRef),Object(o["\u0275\u0275inject"])(l.e))},token:e,providedIn:"root"}),e}(),v=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._overlayRef=t,this.duplicatesCount=0,this._afterClosed=new a.a,this._activate=new a.a,this._manualClose=new a.a,this._resetTimeout=new a.a,this._countDuplicate=new a.a}),[{key:"manualClose",value:function(){this._manualClose.next(),this._manualClose.complete()}},{key:"manualClosed",value:function(){return this._manualClose.asObservable()}},{key:"timeoutReset",value:function(){return this._resetTimeout.asObservable()}},{key:"countDuplicate",value:function(){return this._countDuplicate.asObservable()}},{key:"close",value:function(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}},{key:"afterClosed",value:function(){return this._afterClosed.asObservable()}},{key:"isInactive",value:function(){return this._activate.isStopped}},{key:"activate",value:function(){this._activate.next(),this._activate.complete()}},{key:"afterActivate",value:function(){return this._activate.asObservable()}},{key:"onDuplicate",value:function(e,t){e&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}])}(),m=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._toastPackage=t,this._parentInjector=n}),[{key:"get",value:function(e,t,n){return e===c?this._toastPackage:this._parentInjector.get(e,t,n)}}])}(),y=function(){var e=function(){return _createClass2((function e(t,n,r,i,o){_classCallCheck2(this,e),this.overlay=n,this._injector=r,this.sanitizer=i,this.ngZone=o,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign({},t.default,t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign({},t.default.iconClasses,t.config.iconClasses))}),[{key:"show",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return this._preBuildNotification(r,e,t,this.applyConfig(n))}},{key:"success",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",e,t,this.applyConfig(n))}},{key:"error",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",e,t,this.applyConfig(n))}},{key:"info",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",e,t,this.applyConfig(n))}},{key:"warning",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",e,t,this.applyConfig(n))}},{key:"clear",value:function(e){var t,n=_createForOfIteratorHelper2(this.toasts);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(void 0!==e){if(r.toastId===e)return void r.toastRef.manualClose()}else r.toastRef.manualClose()}}catch(i){n.e(i)}finally{n.f()}}},{key:"remove",value:function(e){var t=this._findToast(e);if(!t)return!1;if(t.activeToast.toastRef.close(),this.toasts.splice(t.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){var n=this.toasts[this.currentlyActive].toastRef;n.isInactive()||(this.currentlyActive=this.currentlyActive+1,n.activate())}return!0}},{key:"findDuplicate",value:function(e,t,n){var r,i=_createForOfIteratorHelper2(this.toasts);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.message===e)return o.toastRef.onDuplicate(t,n),o}}catch(a){i.e(a)}finally{i.f()}return null}},{key:"applyConfig",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},this.toastrConfig,e)}},{key:"_findToast",value:function(e){for(var t=0;t<this.toasts.length;t++)if(this.toasts[t].toastId===e)return{index:t,activeToast:this.toasts[t]};return null}},{key:"_preBuildNotification",value:function(e,t,n,r){var i=this;return r.onActivateTick?this.ngZone.run((function(){return i._buildNotification(e,t,n,r)})):this._buildNotification(e,t,n,r)}},{key:"_buildNotification",value:function(e,t,n,r){if(!r.toastComponent)throw new Error("toastComponent required");var i=this.findDuplicate(t,this.toastrConfig.resetTimeoutOnDuplicate&&r.timeOut>0,this.toastrConfig.countDuplicates);if(t&&this.toastrConfig.preventDuplicates&&null!==i)return i;this.previousToastMessage=t;var a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));var s=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;var l=t;t&&r.enableHtml&&(l=this.sanitizer.sanitize(o.SecurityContext.HTML,t));var u=new v(s),h=new c(this.index,r,l,n,e,u),d=new m(h,this._injector),p=new f(r.toastComponent,d),g=s.attach(p,this.toastrConfig.newestOnTop);u.componentInstance=g._component;var _={toastId:this.index,message:t||"",toastRef:u,onShown:u.afterActivate(),onHidden:u.afterClosed(),onTap:h.onTap(),onAction:h.onAction(),portal:g};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout((function(){_.toastRef.activate()}))),this.toasts.push(_),_}}])}();return e.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(d),Object(o["\u0275\u0275inject"])(A),Object(o["\u0275\u0275inject"])(o.INJECTOR),Object(o["\u0275\u0275inject"])(s.b),Object(o["\u0275\u0275inject"])(o.NgZone))},token:e,providedIn:"root"}),e}(),b=function(){return _createClass2((function e(t,n,r){var i=this;_classCallCheck2(this,e),this.toastrService=t,this.toastPackage=n,this.ngZone=r,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses="".concat(n.toastType," ").concat(n.config.toastClass),this.sub=n.toastRef.afterActivate().subscribe((function(){i.activateToast()})),this.sub1=n.toastRef.manualClosed().subscribe((function(){i.remove()})),this.sub2=n.toastRef.timeoutReset().subscribe((function(){i.resetTimeout()})),this.sub3=n.toastRef.countDuplicate().subscribe((function(e){i.duplicatesCount=e}))}),[{key:"displayStyle",get:function(){if("inactive"===this.state.value)return"none"}},{key:"ngOnDestroy",value:function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}},{key:"activateToast",value:function(){var e=this;this.state=Object.assign({},this.state,{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout((function(){return e.remove()}),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval((function(){return e.updateProgress()}),10))}},{key:"updateProgress",value:function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}}},{key:"resetTimeout",value:function(){var e=this;clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign({},this.state,{value:"active"}),this.outsideTimeout((function(){return e.remove()}),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0
1),this.width=-1,this.options.progressBar&&this.outsideInterval((function(){return e.updateProgress()}),10)}},{key:"remove",value:function(){var e=this;"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign({},this.state,{value:"removed"}),this.outsideTimeout((function(){return e.toastrService.remove(e.toastPackage.toastId)}),+this.toastPackage.config.easeTime))}},{key:"tapToast",value:function(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}},{key:"stickAround",value:function(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}},{key:"delayedHideToast",value:function(){var e=this;!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state.value&&(this.outsideTimeout((function(){return e.remove()}),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval((function(){return e.updateProgress()}),10))}},{key:"outsideTimeout",value:function(e,t){var n=this;this.ngZone?this.ngZone.runOutsideAngular((function(){return n.timeout=setTimeout((function(){return n.runInsideAngular(e)}),t)})):this.timeout=setTimeout((function(){return e()}),t)}},{key:"outsideInterval",value:function(e,t){var n=this;this.ngZone?this.ngZone.runOutsideAngular((function(){return n.intervalId=setInterval((function(){return n.runInsideAngular(e)}),t)})):this.intervalId=setInterval((function(){return e()}),t)}},{key:"runInsideAngular",value:function(e){this.ngZone?this.ngZone.run((function(){return e()})):e()}}])}(),C=Object.assign({},h,{toastComponent:b}),w=r=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),null,[{key:"forRoot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:r,providers:[{provide:d,useValue:{default:C,config:e}}]}}}])}(),k=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),null,[{key:"forRoot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:w,providers:[{provide:d,useValue:{default:h,config:e}}]}}}])}(),E=function(){return _createClass2((function e(t,n,r){var i=this;_classCallCheck2(this,e),this.toastrService=t,this.toastPackage=n,this.appRef=r,this.width=-1,this.toastClasses="",this.state="inactive",this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses="".concat(n.toastType," ").concat(n.config.toastClass),this.sub=n.toastRef.afterActivate().subscribe((function(){i.activateToast()})),this.sub1=n.toastRef.manualClosed().subscribe((function(){i.remove()})),this.sub2=n.toastRef.timeoutReset().subscribe((function(){i.resetTimeout()})),this.sub3=n.toastRef.countDuplicate().subscribe((function(e){i.duplicatesCount=e}))}),[{key:"displayStyle",get:function(){if("inactive"===this.state)return"none"}},{key:"ngOnDestroy",value:function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}},{key:"activateToast",value:function(){var e=this;this.state="active",!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.timeout=setTimeout((function(){e.remove()}),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval((function(){return e.updateProgress()}),10))),this.options.onActivateTick&&this.appRef.tick()}},{key:"updateProgress",value:function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}}},{key:"resetTimeout",value:function(){var e=this;clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout((function(){return e.remove()}),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval((function(){return e.updateProgress()}),10))}},{key:"remove",value:function(){var e=this;"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout((function(){return e.toastrService.remove(e.toastPackage.toastId)})))}},{key:"tapToast",value:function(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}},{key:"stickAround",value:function(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}},{key:"delayedHideToast",value:function(){var e=this;!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state&&(this.timeout=setTimeout((function(){return e.remove()}),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0
1),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval((function(){return e.updateProgress()}),10)))}}])}(),S=Object.assign({},h,{toastComponent:E}),O=i=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),null,[{key:"forRoot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[{provide:d,useValue:{default:S,config:e}}]}}}])}()},ES0t:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("8Y7J"),i=n("KOzp"),o=n("SVse"),a=r["\u0275crt"]({encapsulation:0,styles:[".bs3.popover-top[_nghost-%COMP%] {\n margin-bottom: 10px;\n }\n .bs3.popover.top[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%] {\n margin-left: -2px;\n }\n .bs3.popover.top[_nghost-%COMP%] {\n margin-bottom: 10px;\n }\n .popover.bottom[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%] {\n margin-left: -4px;\n }\n .bs3.bs-popover-left[_nghost-%COMP%] {\n margin-right: .5rem;\n }\n .bs3.bs-popover-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs3.bs-popover-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{\n margin: .3rem 0;\n }"],data:{}});function s(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"h3",[["class","popover-title popover-header"]],null,null,null,null,null)),(e()(),r["\u0275ted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.title)}))}function l(e){return r["\u0275vid"](2,[(e()(),r["\u0275eld"](0,0,null,null,0,"div",[["class","popover-arrow arrow"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,s)),r["\u0275did"](2,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275eld"](3,0,null,null,1,"div",[["class","popover-content popover-body"]],null,null,null,null,null)),r["\u0275ncd"](null,0)],(function(e,t){e(t,2,0,t.component.title)}),null)}var u=r["\u0275ccf"]("popover-container",i.b,(function(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"popover-container",[["role","tooltip"],["style","display:block;"]],[[8,"className",0],[2,"show",null],[2,"bs3",null]],null,null,l,a)),r["\u0275did"](1,49152,null,0,i.b,[i.a],null,null)],null,(function(e,t){e(t,0,0,"popover in popover-"+r["\u0275nov"](t,1).placement+" bs-popover-"+r["\u0275nov"](t,1).placement+" "+r["\u0275nov"](t,1).placement+" "+r["\u0275nov"](t,1).containerClass,!r["\u0275nov"](t,1).isBs3,r["\u0275nov"](t,1).isBs3)}))}),{placement:"placement",title:"title"},{},["*"])},EY2u:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("HDdC"),i=new r.a((function(e){return e.complete()}));function o(e){return e?function(e){return new r.a((function(t){return e.schedule((function(){return t.complete()}))}))}(e):i}},FE24:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return u}));var r=n("8Y7J"),i=(n("pLZG"),n("z/SZ")),o=n("hpHm"),a=n("GS7A"),s=n("2uy1"),l=_createClass2((function e(){_classCallCheck2(this,e),this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1})),u=_createClass2((function e(){var t=this;_classCallCheck2(this,e),this.direction="down",this.isOpenChange=new r.EventEmitter,this.isDisabledChange=new r.EventEmitter,this.toggleClick=new r.EventEmitter,this.dropdownMenu=new Promise((function(e){t.resolveDropdownMenu=e}))})),c=[Object(a.l)({height:0,overflow:"hidden"}),Object(a.e)("220ms cubic-bezier(0, 0, 0.2, 1)",Object(a.l)({height:"*",overflow:"hidden"}))],h=function(){return _createClass2((function e(t,n,r,i,a){var s=this;_classCallCheck2(this,e),this._state=t,this.cd=n,this._renderer=r,this._element=i,this.isOpen=!1,this._factoryDropDownAnimation=a.build(c),this._subscription=t.isOpenChange.subscribe((function(e){s.isOpen=e;var t=s._element.nativeElement.querySelector(".dropdown-menu");s._renderer.addClass(s._element.nativeElement.querySelector("div"),"open"),t&&!Object(o.d)()&&(s._renderer.addClass(t,"show"),t.classList.contains("dropdown-menu-right")&&(s._renderer.setStyle(t,"left","auto"),s._renderer.setStyle(t,"right","0")),"up"===s.direction&&(s._renderer.setStyle(t,"top","auto"),s._renderer.setStyle(t,"transform","translateY(-101%)"))),t&&s._state.isAnimated&&s._factoryDropDownAnimation.create(t).play(),s.cd.markForCheck(),s.cd.detectChanges()}))}),[{key:"direction",get:function(){return this._state.direction}},{key:"_contains",value:function(e){return this._element.nativeElement.contains(e)}},{key:"ngOnDestroy",value:function(){this._subscription.unsubscribe()}}])}(),d=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"forRoot",value:function(t){return{ngModule:e,providers:[i.a,s.a,u,{provide:l,useValue:t||{autoClose:!0,insideClick:!1}}]}}}])}()},"FtX/":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var r=n("gtzJ"),i=n("AytR"),o=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"handleError",value:function(e){i.a.sentryConfig.dsn&&r.a(e.originalError||e),console.error(e)}}])}()},Fwaw:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var r=n("Xd0L"),i=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],o=_createClass2((function e(t){_classCallCheck2(this,e),this._elementRef=t})),a=function(e){function t(e,n,r){var o;_classCallCheck2(this,t),(o=_callSuper(this,t,[e]))._focusMonitor=n,o._animationMode=r,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var a,s=_createForOfIteratorHelper2(i);try{for(s.s();!(a=s.n()).done;){var l=a.value;o._hasHostAttributes(l)&&o._getHostElement().classList.add(l)}}catch(u){s.e(u)}finally{s.f()}return e.nativeElement.classList.add("mat-button-base"),o._focusMonitor.monitor(o._elementRef,!0),o.isRoundButton&&(o.color="accent"),o}return _inherits2(t,e),_createClass2(t,[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),e,t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.some((function(t){return e._getHostElement().hasAttribute(t)}))}}])}(Object(r.B)(Object(r.D)(Object(r.C)(o)))),s=function(e){function t(e,n,r){return _classCallCheck2(this,t),_callSuper(this,t,[n,e,r])}return _inherits2(t,e),_createClass2(t,[{key:"_haltDisabledEvents",value:function(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}])}(a),l=_createClass2((function e(){_classCallCheck2(this,e)}))},GS7A:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return g})),n.d(t,"j",(function(){return u})),n.d(t,"k",(function(){return h})),n.d(t,"l",(function(){return c})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return a})),n.d(t,"d",(function(){return A})),n.d(t,"o",(function(){return v})),n.d(t,"p",(function(){return m}));var r=_createClass2((function e(){_classCallCheck2(this,e)})),i=_createClass2((function e(){_classCallCheck2(this,e)})),o="*";function a(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:e,options:t}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function h(e,t,n){return{type:0,name:e,styles:t,options:n}}function d(e){return{type:5,steps:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function _(e){Promise.resolve(null).then(e)}var A=function(){return _createClass2((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;_classCallCheck2(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+n}),[{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;_((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}}])}(),v=function(){return _createClass2((function e(t){var n=this;_classCallCheck2(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?_((function(){return n._onFinish()}
1)):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)}),[{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}}])}(),m="!"},Ga8v:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("syJT"),i=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"setUser",value:function(e){return{type:r.a.SET_USER,payload:e}}}])}()},GyhO:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("LRne"),i=n("0EUg");function o(){return Object(i.a)()(Object(r.a).apply(void 0,arguments))}},HDdC:function(e,t,n){"use strict";var r=n("7o/Q"),i=n("2QA8"),o=n("gRHU"),a=n("kJWO"),s=n("mCNh"),l=n("2fFW");n.d(t,"a",(function(){return c}));var u,c=((u=function(e){function t(e){_classCallCheck2(this,t),this._isScalar=!1,e&&(this._subscribe=e)}return _createClass2(t,[{key:"lift",value:function(e){var n=new t;return n.source=this,n.operator=e,n}},{key:"subscribe",value:function(e,t,n){var a=this.operator,s=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[i.a])return e[i.a]()}return e||t||n?new r.a(e,t,n):new r.a(o.a)}(e,t,n);if(s.add(a?a.call(s,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,i=t.destination,o=t.isStopped;if(n||o)return!1;e=i&&i instanceof r.a?i:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=h(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:e,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:Object(s.b)(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=h(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))}}])}(a.a)).create=function(e){return new u(e)},u);function h(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HR75:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var r,i=n("9AQC");!function(e){e.PENDING="PENDING",e.RESOLVED="RESOLVED",e.REJECTED="REJECTED"}(r||(r={}));var o=function(){function e(e){var t=this;this._state=r.PENDING,this._handlers=[],this._resolve=function(e){t._setResult(r.RESOLVED,e)},this._reject=function(e){t._setResult(r.REJECTED,e)},this._setResult=function(e,n){t._state===r.PENDING&&(Object(i.m)(n)?n.then(t._resolve,t._reject):(t._state=e,t._value=n,t._executeHandlers()))},this._attachHandler=function(e){t._handlers=t._handlers.concat(e),t._executeHandlers()},this._executeHandlers=function(){if(t._state!==r.PENDING){var e=t._handlers.slice();t._handlers=[],e.forEach((function(e){e.done||(t._state===r.RESOLVED&&e.onfulfilled&&e.onfulfilled(t._value),t._state===r.REJECTED&&e.onrejected&&e.onrejected(t._value),e.done=!0)}))}};try{e(this._resolve,this._reject)}catch(n){this._reject(n)}}return e.resolve=function(t){return new e((function(e){e(t)}))},e.reject=function(t){return new e((function(e,n){n(t)}))},e.all=function(t){return new e((function(n,r){if(Array.isArray(t))if(0!==t.length){var i=t.length,o=[];t.forEach((function(t,a){e.resolve(t).then((function(e){o[a]=e,0==(i-=1)&&n(o)})).then(null,r)}))}else n([]);else r(new TypeError("Promise.all requires an array as input."))}))},e.prototype.then=function(t,n){var r=this;return new e((function(e,i){r._attachHandler({done:!1,onfulfilled:function(n){if(t)try{return void e(t(n))}catch(r){return void i(r)}else e(n)},onrejected:function(t){if(n)try{return void e(n(t))}catch(r){return void i(r)}else i(t)}})}))},e.prototype.catch=function(e){return this.then((function(e){return e}),e)},e.prototype.finally=function(t){var n=this;return new e((function(e,r){var i,o;return n.then((function(e){o=!1,i=e,t&&t()}),(function(e){o=!0,i=e,t&&t()})).then((function(){o?r(i):e(i)}))}))},e.prototype.toString=function(){return"[object SyncPromise]"},e}()},HdJu:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("lJxs"),i=n("sKXY"),o=n("teW0"),a=n("8Y7J"),s=n("IheW"),l=function(){var e=function(e){function t(e){return _classCallCheck2(this,t),_callSuper(this,t,[e])}return _inherits2(t,e),_createClass2(t,[{key:"getOrder",value:function(e){var t=this;return this.get("".concat(i.a.Orders,"/").concat(e)).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}},{key:"getOrders",value:function(){var e=this;return this.get(i.a.Orders).pipe(Object(r.a)((function(t){return t.map((function(t){return e.mapDates(t)}))})))}},{key:"updateCheck",value:function(e){var n=this;return this.post("".concat(i.a.Orders,"/").concat(e.id||t.defaultGuid,"/select-check"),Object.assign({id:e.id},e.price,{couponId:e.coupon&&e.coupon.id||null})).pipe(Object(r.a)((function(e){return n.mapDates(e)})))}},{key:"updateLegalName",value:function(e){var n=this;return this.post("".concat(i.a.Orders,"/").concat(e.id||t.defaultGuid,"/legal-name"),Object.assign({},e,{couponId:e.coupon&&e.coupon.id||null})).pipe(Object(r.a)((function(e){return n.mapDates(e)})))}},{key:"updatePurpose",value:function(e){var t=this;return this.post("".concat(i.a.Orders,"/").concat(e.id,"/purpose"),e).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}},{key:"updateNames",value:function(e){var t=this;return this.post("".concat(i.a.Orders,"/").concat(e.id,"/names"),{id:e.id,names:e.names}).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}},{key:"updateAddress",value:function(e){var t=this;return this.post("".concat(i.a.Orders,"/").concat(e.id,"/addresses"),{id:e.id,addresses:e.addresses}).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}},{key:"updateFurtherDetails",value:function(e){var t=this;return this.post("".concat(i.a.Orders,"/").concat(e.id,"/further-details"),e).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}},{key:"updateDocuments",value:function(e){var t=this;return this.post("".concat(i.a.Orders,"/").concat(e.id,"/documents"),{id:e.id,isBornInAustralia:e.isBornInAustralia,documents:e.documents}).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}},{key:"updatePriority",value:function(e){var t=this;return this.post("".concat(i.a.Orders,"/").concat(e.id,"/priority"),{id:e.id,priority:e.priority,priorityReason:e.priorityReason}).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}},{key:"consent",value:function(e){var t=this;return this.post("".concat(i.a.Orders,"/").concat(e.id,"/consent"),{id:e.id,printName:e.printName,consentDate:e.consentDate}).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}},{key:"verifyAccount",value:function(e,t){var n=this;return this.post("".concat(i.a.Orders,"/").concat(e,"/verify"),{orderId:e,activationCode:t}).pipe(Object(r.a)((function(e){return n.mapDates(e)})))}},{key:"sendEmailCode",value:function(e){var t=this;return this.post("".concat(i.a.Orders,"/").concat(e,"/send-email"),{}).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}},{key:"sendSmsCode",value:function(e){var t=this;return this.post("".concat(i.a.Orders,"/").concat(e,"/send-sms"),{}).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}},{key:"complete",value:function(e){var t=this;return this.post("".concat(i.a.Orders,"/").concat(e,"/complete"),{}).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}}])}(o.a);return e.defaultGuid="00000000-0000-0000-0000-000000000000",e.ngInjectableDef=a["\u0275\u0275defineInjectable"]({factory:function(){return new e(a["\u0275\u0275inject"](s.c))},token:e,providedIn:"root"}),e}()},HsOI:function(e,t,n){"use strict";n.d(t,"d",(function(){return m})),n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return d}));var r=n("8Y7J"),i=(n("GS7A"),n("KCVW")),o=n("Xd0L"),a=n("XNiG"),s=n("VRyK"),l=n("xgIS"),u=n("JX91"),c=n("1G5W"),h=n("IzEk"),d=_createClass2((function e(){_classCallCheck2(this,e)}));function f(e){return Error("A hint was already declared for 'align=\"".concat(e,"\"'."))}var p=0,g=_createClass2((function e(t){_classCallCheck2(this,e),this._elementRef=t})),_=Object(o.B)(g,"primary"),A=new r.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),v=function(e){function t(e,n,r,i,o,s,l,u){var c;return _classCallCheck2(this,t),(c=_callSuper(this,t,[e]))._elementRef=e,c._changeDetectorRef=n,c._dir=i,
1c._defaults=o,c._platform=s,c._ngZone=l,c._outlineGapCalculationNeededImmediately=!1,c._outlineGapCalculationNeededOnStable=!1,c._destroyed=new a.a,c._showAlwaysAnimate=!1,c._subscriptAnimationState="",c._hintLabel="",c._hintLabelId="mat-hint-"+p++,c._labelId="mat-form-field-label-"+p++,c._previousDirection="ltr",c._labelOptions=r||{},c.floatLabel=c._labelOptions.float||"auto",c._animationsEnabled="NoopAnimations"!==u,c.appearance=o&&o.appearance?o.appearance:"legacy",c._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,c}return _inherits2(t,e),_createClass2(t,[{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=Object(i.c)(e)}},{key:"_shouldAlwaysFloat",get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",get:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"_labelChild",get:function(){return this._labelChildNonStatic||this._labelChildStatic}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Object(u.a)(null)).subscribe((function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(c.a)(this._destroyed)).subscribe((function(){return e._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(Object(c.a)(e._destroyed)).subscribe((function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()}))})),Object(s.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Object(u.a)(null)).subscribe((function(){e._processHints(),e._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Object(u.a)(null)).subscribe((function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(Object(c.a)(this._destroyed)).subscribe((function(){e.updateOutlineGap(),e._previousDirection=e._dir.value}))}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!!this._labelChild}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(l.a)(this._label.nativeElement,"transitionend").pipe(Object(h.a)(1)).subscribe((function(){e._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}}
1,{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){var e,t,n=this;this._hintChildren&&this._hintChildren.forEach((function(r){if("start"===r.align){if(e||n.hintLabel)throw f("start");e=r}else if("end"===r.align){if(t)throw f("end");t=r}}))}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if("hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find((function(e){return"start"===e.align})):null,n=this._hintChildren?this._hintChildren.find((function(e){return"end"===e.align})):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&(e=this._errorChildren.map((function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(document.documentElement.contains(this._elementRef.nativeElement)){var t=0,n=0,r=this._connectionContainerRef.nativeElement,i=r.querySelectorAll(".mat-form-field-outline-start"),o=r.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=r.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);var s,l=this._getStartEnd(a),u=this._getStartEnd(e.children[0].getBoundingClientRect()),c=0,h=_createForOfIteratorHelper2(e.children);try{for(h.s();!(s=h.n()).done;){c+=s.value.offsetWidth}}catch(p){h.e(p)}finally{h.f()}t=u-l-5,n=c>0?.75*c+10:0}for(var d=0;d<i.length;d++)i.item(d).style.width=t+"px";for(var f=0;f<o.length;f++)o.item(f).style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0}},{key:"_getStartEnd",value:function(e){return"rtl"===this._previousDirection?e.right:e.left}}])}(_),m=_createClass2((function e(){_classCallCheck2(this,e)}))},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},IP0z:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var r=n("SVse"),i=n("8Y7J"),o=new i.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.inject)(r.e)}}),a=function(){var e=function(){return _createClass2((function e(t){if(_classCallCheck2(this,e),this.value="ltr",this.change=new i.EventEmitter,t){var n=t.documentElement?t.documentElement.dir:null,r=(t.body?t.body.dir:null)||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}),[{key:"ngOnDestroy",value:function(){this.change.complete()}}])}();return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(o,8))},token:e,providedIn:"root"}),e}(),s=_createClass2((function e(){_classCallCheck2(this,e)}))},IheW:function(e,t,n){"use strict";n.d(t,"l",(function(){return D})),n.d(t,"o",(function(){return L})),n.d(t,"p",(function(){return U})),n.d(t,"m",(function(){return I})),n.d(t,"n",(function(){return R})),n.d(t,"b",(function(){return h})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return S})),n.d(t,"g",(function(){return d})),n.d(t,"a",(function(){return x})),n.d(t,"d",(function(){return H})),n.d(t,"e",(function(){return j})),n.d(t,"k",(function(){return N})),n.d(t,"h",(function(){return M})),n.d(t,"j",(function(){return B})),n.d(t,"i",(function(){return F}));var r=n("8Y7J"),i=n("LRne"),o=n("HDdC"),a=n("bOdf"),s=n("pLZG"),l=n("lJxs"),u=n("SVse"),c=_createClass2((function e(){_classCallCheck2(this,e)})),h=_createClass2((function e(){_classCallCheck2(this,e)})),d=function(){function e(t){var n=this;_classCallCheck2(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 _createClass2(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;
vendor: 6,494 bytes, line 1
1e.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,_toConsumableArray2(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))}))}}])}(),f=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"encodeKey",value:function(e){return p(e)}},{key:"encodeValue",value:function(e){return p(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}])}();function p(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 g=function(){function e(){var t,n,r,i=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck2(this,e),this.updates=null,this.cloneFrom=null,this.encoder=o.encoder||new f,o.fromString){if(o.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=o.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach((function(e){var t=e.indexOf("="),i=_slicedToArray2(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),o=i[0],a=i[1],s=r.get(o)||[];s.push(a),r.set(o,s)})),r)}else o.fromObject?(this.map=new Map,Object.keys(o.fromObject).forEach((function(e){var t=o.fromObject[e];i.map.set(e,Array.isArray(t)?t:[t])}))):this.map=null}return _createClass2(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("&")})).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)}}])}();function _(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function A(e){return"undefined"!=typeof Blob&&e instanceof Blob}function v(e){return"undefined"!=typeof FormData&&e instanceof FormData}var m=function(){function e(t,n,r,i){var o;if(_classCallCheck2(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 d),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 g,this.urlWithParams=n}return _createClass2(e,[{key:"serializeBody",value:function(){return null===this.body?null:_(this.body)||A(this.body)||v(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?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||v(this.body)?null:A(this.body)?this.body.type||null:_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"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,l=t.headers||this.headers,u=t.params||this.params;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),u)),new e(n,r,o,{params:u,headers:l,reportProgress:s,responseType:i,withCredentials:a})}}])}(),y=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.Re
vendor: 9,722 bytes, line 1
1sponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}(),b=_createClass2((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";_classCallCheck2(this,e),this.headers=t.headers||new d,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})),C=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck2(this,t),(e=_callSuper(this,t,[n])).type=y.ResponseHeader,e}return _inherits2(t,e),_createClass2(t,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({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})}}])}(b),w=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck2(this,t),(e=_callSuper(this,t,[n])).type=y.Response,e.body=void 0!==n.body?n.body:null,e}return _inherits2(t,e),_createClass2(t,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({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})}}])}(b),k=function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t,[e,0,"Unknown Error"])).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.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),n.error=e.error||null,n}return _inherits2(t,e),_createClass2(t)}(b);function E(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var S=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.handler=t}),[{key:"request",value:function(e,t){var n,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof m)n=e;else{var u=void 0;u=o.headers instanceof d?o.headers:new d(o.headers);var c=void 0;o.params&&(c=o.params instanceof g?o.params:new g({fromObject:o.params})),n=new m(e,t,void 0!==o.body?o.body:null,{headers:u,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}var h=Object(i.a)(n).pipe(Object(a.a)((function(e){return r.handler.handle(e)})));if(e instanceof m||"events"===o.observe)return h;var f=h.pipe(Object(s.a)((function(e){return e instanceof w})));switch(o.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return f.pipe(Object(l.a)((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return f.pipe(Object(l.a)((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return f.pipe(Object(l.a)((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 f.pipe(Object(l.a)((function(e){return e.body})))}case"response":return f;default:throw new Error("Unreachable: unhandled observe type ".concat(o.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 g).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,E(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,E(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,E(n,t))}}])}(),O=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.next=t,this.interceptor=n}),[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}])}(),x=new r.InjectionToken("HTTP_INTERCEPTORS"),P=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"intercept",value:function(e,t){return t.handle(e)}}])}(),T=/^\)\]\}',?\n/,B=_createClass2((function e(){_classCallCheck2(this,e)})),D=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"build",value:function(){return new XMLHttpRequest}}])}(),M=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.xhrFactory=t}),[{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 o.a((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,l=function(){if(null!==s)return s;var t=1223===r.status?204:r.status,n=r.statusText||"OK",i=new d(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 C({headers:i,status:t,statusText:n,url:o})},u=function(){var t=l(),i=t.headers,o=t.status,a=t.statusText,s=t.url,u=null;204!==o&&(u=void 0===r.response?r.responseText:r.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof u){var h=u;u=u.replace(T,"");try{u=""!==u?JSON.parse(u):null}catch(d){u=h,c&&(c=!1,u={error:d,text:u})}}c?(n.next(new w({body:u,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new k({error:u,headers:i,status:o,statusText:a,url:s||void 0}))},c=function(e){var t=l().url,i=new k({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(l()),h=!0);var i={type:y.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},p=function(e){var t={type:y.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",u),r.addEventListener("error",c),e.reportProgress&&(r.addEventListener("progress",f),null!==a&&r.upload&&r.upload.addEventListener("progress",p)),r.send(a),n.next({type:y.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),e.reportProgress&&(r.removeEventListener("progress",f),null!==a&&r.upload&&r.upload.removeEventListener("progress",p)),r.abort()}}))}}])}(),I=new r.InjectionToken("XSRF_COOKIE_NAME"),R=new r.InjectionToken("XSRF_HEADER_NAME"),F=_createClass2((function e(){_classCallCheck2(this,e)})),L=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.doc=t,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}),[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.H)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}])}(),U=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.tokenService=t,this.headerName=n}),[{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)}}])}(),N=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.backend=t,this.injector=n,this.chain=null}),[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(x,[]);this.chain=t.reduceRight((function(e,t){return new O(e,t)}),this.backend)}return this.chain.handle(e)}}])}(),j=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:U,useClass:P}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:I,useValue:t.cookieName}:[],t.headerName?{provide:R,useValue:t.headerName}:[]]}}}])}(),H=_createClass2((function e(){_classCallCheck2(this,e)}))},IjjT:function(e,t,n){"use strict";var r=function(){var e=function(){return _createClass2((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;
1_classCallCheck2(this,e),this.SchedulerAction=t,this.now=n}),[{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)}}])}();return e.now=function(){return Date.now()},e}();n.d(t,"a",(function(){return i}));var i=function(e){function t(e){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.now;return _classCallCheck2(this,t),(n=_callSuper(this,t,[e,function(){return t.delegate&&t.delegate!==_assertThisInitialized2(n)?t.delegate.now():i()}])).actions=[],n.active=!1,n.scheduled=void 0,n}return _inherits2(t,e),_createClass2(t,[{key:"schedule",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return t.delegate&&t.delegate!==this?t.delegate.schedule(e,n,r):_superPropGet(t,"schedule",this,3)([e,n,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}}}}])}(r)},IzEk:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("7o/Q"),i=n("4I5i"),o=n("EY2u");function a(e){return function(t){return 0===e?Object(o.b)():t.lift(new s(e))}}var s=function(){return _createClass2((function e(t){if(_classCallCheck2(this,e),this.total=t,this.total<0)throw new i.a}),[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.total))}}])}(),l=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).total=n,r.count=0,r}return _inherits2(t,e),_createClass2(t,[{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()))}}])}(r.a)},JIr8:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("l7GE"),i=n("51Dv"),o=n("ZUHj");function a(e){return function(t){var n=new s(e),r=t.lift(n);return n.caught=r}}var s=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.selector=t}),[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.selector,this.caught))}}])}(),l=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[e])).selector=n,i.caught=r,i}return _inherits2(t,e),_createClass2(t,[{key:"error",value:function(e){if(!this.isStopped){var n;try{n=this.selector(e,this.caught)}catch(s){return void _superPropGet(t,"error",this,3)([s])}this._unsubscribeAndRecycle();var r=new i.a(this,void 0,void 0);this.add(r);var a=Object(o.a)(this,n,void 0,void 0,r);a!==r&&this.add(a)}}}])}(r.a)},JX91:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("GyhO"),i=n("z+Ro");function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[t.length-1];return Object(i.a)(o)?(t.pop(),function(e){return Object(r.a)(t,e,o)}):function(e){return Object(r.a)(t,e)}}},JjoW:function(e,t,n){"use strict";n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return k})),n("GS7A");var r=n("5GAg"),i=n("KCVW"),o=n("8bJo"),a=n("dvZr"),s=(n("QQfA"),n("8Y7J")),l=n("Xd0L"),u=n("XNiG"),c=n("NXyV"),h=n("VRyK"),d=n("JX91"),f=n("eIep"),p=n("IzEk"),g=n("pLZG"),_=n("lJxs"),A=n("/uUt"),v=n("1G5W"),m=0,y=new s.InjectionToken("mat-select-scroll-strategy");function b(e){return function(){return e.scrollStrategies.reposition()}}var C=_createClass2((function e(t,n){_classCallCheck2(this,e),this.source=t,this.value=n})),w=_createClass2((function e(t,n,r,i,o){_classCallCheck2(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=r,this._parentFormGroup=i,this.ngControl=o})),k=function(e){function t(e,n,r,i,o,a,l,A,v,y,b,C,w){var k;return _classCallCheck2(this,t),(k=_callSuper(this,t,[o,i,l,A,y]))._viewportRuler=e,k._changeDetectorRef=n,k._ngZone=r,k._dir=a,k._parentFormField=v,k.ngControl=y,k._liveAnnouncer=w,k._panelOpen=!1,k._required=!1,k._scrollTop=0,k._multiple=!1,k._compareWith=function(e,t){return e===t},k._uid="mat-select-"+m++,k._destroy=new u.a,k._triggerFontSize=0,k._onChange=function(){},k._onTouched=function(){},k._optionIds="",k._transformOrigin="top",k._panelDoneAnimatingStream=new u.a,k._offsetY=0,k._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],k._disableOptionCentering=!1,k._focused=!1,k.controlType="mat-select",k.ariaLabel="",k.optionSelectionChanges=Object(c.a)((function(){var e=k.options;return e?e.changes.pipe(Object(d.a)(e),Object(f.a)((function(){return Object(h.a).apply(void 0,_toConsumableArray2(e.map((function(e){return e.onSelectionChange}
1))))}))):k._ngZone.onStable.asObservable().pipe(Object(p.a)(1),Object(f.a)((function(){return k.optionSelectionChanges})))})),k.openedChange=new s.EventEmitter,k._openedStream=k.openedChange.pipe(Object(g.a)((function(e){return e})),Object(_.a)((function(){}))),k._closedStream=k.openedChange.pipe(Object(g.a)((function(e){return!e})),Object(_.a)((function(){}))),k.selectionChange=new s.EventEmitter,k.valueChange=new s.EventEmitter,k.ngControl&&(k.ngControl.valueAccessor=_assertThisInitialized2(k)),k._scrollStrategyFactory=C,k._scrollStrategy=k._scrollStrategyFactory(),k.tabIndex=parseInt(b)||0,k.id=k.id,k}return _inherits2(t,e),_createClass2(t,[{key:"focused",get:function(){return this._focused||this._panelOpen},set:function(e){this._focused=e}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(i.c)(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(i.c)(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=Object(i.c)(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){e!==this._value&&(this.writeValue(e),this._value=e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new o.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(A.a)(),Object(v.a)(this._destroy)).subscribe((function(){e.panelOpen?(e._scrollTop=0,e.openedChange.emit(!0)):(e.openedChange.emit(!1),e.overlayDir.offsetX=0,e._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Object(v.a)(this._destroy)).subscribe((function(){e._panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())}))}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.onChange.pipe(Object(v.a)(this._destroy)).subscribe((function(e){e.added.forEach((function(e){return e.select()})),e.removed.forEach((function(e){return e.deselect()}))})),this.options.changes.pipe(Object(d.a)(null),Object(v.a)(this._destroy)).subscribe((function(){e._resetOptions(),e._initializeSelection()}))}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){var e=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(p.a)(1)).subscribe((function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize=e._triggerFontSize+"px")})))}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.options&&this._setSelectionByValue(e)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map((function(e){return e.viewValue}));return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=t===a.b||t===a.l||t===a.g||t===a.i,r=this._keyManager;if((t===a.d||t===a.j)&&!Object(a.o)(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var i=this.selected;t===a.f||t===a.c?(t===a.f?r.setFirstItemActive():r.setLastItemActive(),e.preventDefault()):r.onKeydown(e);var o=this.selected;this._liveAnnouncer&&o&&i!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=e.keyCode,n=t===a.b||t===a.l,r=this._keyManager;if(t===a.f||t===a.c)e.preventDefault(),t===a.f?r.setFirstItemActive():r.setLastItemActive();else if(n&&e.altKey)e.preventDefault(),this.close();else if(t!==a.d&&t!==a.j||!r.activeItem||Object(a.o)(e))if(this._multiple&&t===a.a&&e.ctrlKey){e.preventDefault();var i=this.options.some((function(e){return!e.disabled&&!e.selected}));this.options.forEach((function(e){e.disabled||(i?e.select():e.deselect())}))}else{var o=r.activeItemIndex;r.onKeydown(e),this._multiple&&n&&e.shiftKey&&r.activeItem&&r.activeItemIndex!==o&&r.activeItem._selectViaInteraction()}else e.preventDefault(),r.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this.overlayDir.positionChange.pipe(Object(p.a)(1)).subscribe((function(){e._changeDetectorRef.detectChanges(),e._calculateOverlayOffsetX(),e.panel.nativeElement.scrollTop=e._scrollTop}))}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-"+this._parentFormField.color:""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then((function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()}))}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach((function(e){return t._selectValue(e)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(e);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find((function(n){try{return null!=n.value&&t._compareWith(n.value,e)}catch(r){return Object(s.isDevMode)()&&console.warn(r),!1}}));return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new r.b(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(v.a)(this._destroy)).subscribe((function(){e.focus(),e.close()})),this._keyManager.change.pipe(Object(v.a)(this._destroy)).subscribe((function(){e._panelOpen&&e.panel?e._scrollActiveOptionIntoView():e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()}))}},{key:"_resetOptions",value:function(){var e=this,t=Object(h.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(v.a)(t)).subscribe((function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())})),Object(h.a).apply(void 0,_toConsumableArray2(this.options.map((function(e){return e._stateChanges})))).pipe(Object(v.a)(t)).subscribe((function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})),this._setOptionIds()}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort((function(n,r){return e.sortComparator?e.sortComparator(n,r,t):t.indexOf(n)-t.indexOf(r)})),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map((function(e){return e.value})):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new C(this,t)),this._changeDetectorRef.markForCheck()}},{key:"_setOptionIds",value:function(){this._optionIds=this.options.map((function(e){return e.id})).join(" ")}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_scrollActiveOptionIntoView",value:function(){var e=this._keyManager.activeItemIndex||0,t=Object(l.z)(e,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(l.A)(e+t,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getOptionIndex",value:function(e){return this.options.reduce((function(t,n,r){return void 0===t?e===n?r:void 0:t}),void 0)}},{key:"_calculateOverlayPosition",value:function(){var e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),r=t*e-n,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Object(l.z)(i,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)}},{key:"_calculateOverlayScroll",value:function(e,t,n){var r=this._getItemHeight();return Math.min(Math.max(0,r*e-t+r/2),n)}},{key:"_getAriaLabel",value:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}},{key:"_getAriaLabelledby",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._isRtl(),i=this.multiple?56:32;if(this.multiple)e=40;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}r||(e*=-1);var a=0-(t.left+e-(r?i:0)),s=t.right+e-n.width+(r?0:i);a>0?e+=a+8:s>0&&(e-=s+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var r,i=this._getItemHeight(),o=(i-this._triggerRect.height)/2,a=Math.floor(256/i);return this._disableOptionCentering?0:(r=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-a))*i+(i-(this._getItemCount()*i-256)%i):t-i/2,Math.round(-1*r-o))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>i?this._adjustPanelUp(a,i):o>r?this._adjustPanelDown(o,r,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var r=Math.round(e-t);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-t+e/2,"px 0px")}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}])}(Object(l.C)(Object(l.G)(Object(l.D)(Object(l.E)(w))))),E=_createClass2((function e(){_classCallCheck2(this,e)}))},KCVW:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"f",(function(){return o}
1)),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return u}));var r=n("8Y7J");function i(e){return null!=e&&""+e!="false"}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(e)?Number(e):t}function a(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function s(e){return Array.isArray(e)?e:[e]}function l(e){return null==e?"":"string"==typeof e?e:e+"px"}function u(e){return e instanceof r.ElementRef?e.nativeElement:e}},KKCa:function(e,t){e.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},KOzp:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return c}));var r=n("z/SZ"),i=n("hpHm"),o=n("2uy1"),a=n("PqYM"),s=_createClass2((function e(){_classCallCheck2(this,e),this.adaptivePosition=!0,this.placement="top",this.triggers="click",this.outsideClick=!1,this.delay=0})),l=function(){return _createClass2((function e(t){_classCallCheck2(this,e),Object.assign(this,t)}),[{key:"isBs3",get:function(){return Object(i.d)()}}])}(),u=function(){return _createClass2((function e(t,n,r,i,o,a){_classCallCheck2(this,e),this._elementRef=n,this._renderer=r,this._positionService=a,this.outsideClick=!1,this.containerClass="",this._isInited=!1,this._popover=o.createLoader(n,i,r).provide({provide:s,useValue:t}),Object.assign(this,t),this.onShown=this._popover.onShown,this.onHidden=this._popover.onHidden,"undefined"!=typeof window&&n.nativeElement.addEventListener("click",(function(){try{n.nativeElement.focus()}catch(e){return}}))}),[{key:"isOpen",get:function(){return this._popover.isShown},set:function(e){e?this.show():this.hide()}},{key:"show",value:function(){var e=this;if(!this._popover.isShown&&this.popover&&!this._delayTimeoutId){this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition}}});var t=function(){e._delayTimeoutId&&(e._delayTimeoutId=void 0),e._popover.attach(l).to(e.container).position({attachment:e.placement}).show({content:e.popover,context:e.popoverContext,placement:e.placement,title:e.popoverTitle,containerClass:e.containerClass}),e.adaptivePosition||(e._positionService.calcPosition(),e._positionService.deletePositionElement(e._popover._componentRef.location)),e.isOpen=!0},n=function(){e._popoverCancelShowFn&&e._popoverCancelShowFn()};if(this.delay){var r=Object(a.a)(this.delay).subscribe((function(){t(),n()}));this.triggers&&Object(i.f)(this.triggers).forEach((function(t){e._popoverCancelShowFn=e._renderer.listen(e._elementRef.nativeElement,t.close,(function(){r.unsubscribe(),n()}))}))}else t()}}},{key:"hide",value:function(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this.isOpen&&(this._popover.hide(),this.isOpen=!1)}},{key:"toggle",value:function(){if(this.isOpen)return this.hide();this.show()}},{key:"ngOnInit",value:function(){var e=this;this._isInited||(this._isInited=!0,this._popover.listen({triggers:this.triggers,outsideClick:this.outsideClick,show:function(){return e.show()}}))}},{key:"ngOnDestroy",value:function(){this._popover.dispose()}}])}(),c=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[s,r.a,o.a]}}}])}()},Kj3r:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7o/Q"),i=n("D0XW");function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;return function(n){return n.lift(new a(e,t))}}var a=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.dueTime=t,this.scheduler=n}),[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.dueTime,this.scheduler))}}])}(),s=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[e])).dueTime=n,i.scheduler
1=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return _inherits2(t,e),_createClass2(t,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,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)}}])}(r.a);function l(e){e.debouncedNext()}},KjyA:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var r=n("mrSG"),i=n("9AQC"),o=n("kdvv"),a=n("HR75"),s=n("9/Zf"),l=function(){function e(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return e.clone=function(t){var n=new e;return t&&(n._breadcrumbs=Object(r.h)(t._breadcrumbs),n._tags=Object(r.a)({},t._tags),n._extra=Object(r.a)({},t._extra),n._contexts=Object(r.a)({},t._contexts),n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=Object(r.h)(t._eventProcessors)),n},e.prototype.addScopeListener=function(e){this._scopeListeners.push(e)},e.prototype.addEventProcessor=function(e){return this._eventProcessors.push(e),this},e.prototype.setUser=function(e){return this._user=e||{},this._session&&this._session.update({user:e}),this._notifyScopeListeners(),this},e.prototype.getUser=function(){return this._user},e.prototype.setTags=function(e){return this._tags=Object(r.a)(Object(r.a)({},this._tags),e),this._notifyScopeListeners(),this},e.prototype.setTag=function(e,t){var n;return this._tags=Object(r.a)(Object(r.a)({},this._tags),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setExtras=function(e){return this._extra=Object(r.a)(Object(r.a)({},this._extra),e),this._notifyScopeListeners(),this},e.prototype.setExtra=function(e,t){var n;return this._extra=Object(r.a)(Object(r.a)({},this._extra),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setFingerprint=function(e){return this._fingerprint=e,this._notifyScopeListeners(),this},e.prototype.setLevel=function(e){return this._level=e,this._notifyScopeListeners(),this},e.prototype.setTransactionName=function(e){return this._transactionName=e,this._notifyScopeListeners(),this},e.prototype.setTransaction=function(e){return this.setTransactionName(e)},e.prototype.setContext=function(e,t){var n;return null===t?delete this._contexts[e]:this._contexts=Object(r.a)(Object(r.a)({},this._contexts),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setSpan=function(e){return this._span=e,this._notifyScopeListeners(),this},e.prototype.getSpan=function(){return this._span},e.prototype.getTransaction=function(){var e,t,n,r,i=this.getSpan();return(null===(e=i)||void 0===e?void 0:e.transaction)?null===(t=i)||void 0===t?void 0:t.transaction:(null===(r=null===(n=i)||void 0===n?void 0:n.spanRecorder)||void 0===r?void 0:r.spans[0])?i.spanRecorder.spans[0]:void 0},e.prototype.setSession=function(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this},e.prototype.getSession=function(){return this._session},e.prototype.update=function(t){if(!t)return this;if("function"==typeof t){var n=t(this);return n instanceof e?n:this}return t instanceof e?(this._tags=Object(r.a)(Object(r.a)({},this._tags),t._tags),this._extra=Object(r.a)(Object(r.a)({},this._extra),t._extra),this._contexts=Object(r.a)(Object(r.a)({},this._contexts),t._contexts),t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint)):Object(i.h)(t)&&(t=t,this._tags=Object(r.a)(Object(r.a)({},this._tags),t.tags),this._extra=Object(r.a)(Object(r.a)({},this._extra),t.extra),this._contexts=Object(r.a)(Object(r.a)({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint)),this},e.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},e.prototype.addBreadcrumb=function(e,t){var n=Object(r.a)({timestamp:Object(o.a)()},e);return this._breadcrumbs=void 0!==t&&t>=0?Object(r.h)(this._breadcrumbs,[n]).slice(-t):Object(r.h)(this._breadcrumbs,[n]),this._notifyScopeListeners(),this},e.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},e.prototype.applyToEvent=function(e,t){var n;if(this._extra&&Object.keys(this._extra).length&&(e.extra=Object(r.a)(Object(r.a)({},this._extra),e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=Object(r.a)(Object(r.a)({},this._tags),e.tags)),this._user&&Object.keys(this._user).length&&(e.user=Object(r.a)(Object(r.a)({},this._user),e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=Object(r.a)(Object(r.a)({},this._contexts),e.contexts)),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts=Object(r.a)({trace:this._span.getTraceContext()},e.contexts);var i=null===(n=this._span.transaction)||void 0===n?void 0:n.name;i&&(e.tags=Object(r.a)({transaction:i},e.tags))}return this._applyFingerprint(e),e.breadcrumbs=Object(r.h)(e.breadcrumbs||[],this._breadcrumbs),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,this._notifyEventProcessors(Object(r.h)(u(),this._eventProcessors),e,t)},e.prototype._notifyEventProcessors=function(e,t,n,o){var s=this;return void 0===o&&(o=0),new a.a((function(a,l){var u=e[o];if(null===t||"function"!=typeof u)a(t);else{var c=u(Object(r.a)({},t),n);Object(i.m)(c)?c.then((function(t){return s._notifyEventProcessors(e,t,n,o+1).then(a)})).then(null,l):s._notifyEventProcessors(e,c,n,o+1).then(a).then(null,l)}}))},e.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
1h((function(t){t(e)})),this._notifyingListeners=!1)},e.prototype._applyFingerprint=function(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint},e}();function u(){var e=Object(s.e)();return e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.globalEventProcessors=e.__SENTRY__.globalEventProcessors||[],e.__SENTRY__.globalEventProcessors}function c(e){u().push(e)}},Kqap:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new o(e,t,n))}}var o=function(){return _createClass2((function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck2(this,e),this.accumulator=t,this.seed=n,this.hasSeed=r}),[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.accumulator,this.seed,this.hasSeed))}}])}(),a=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t,[e])).accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return _inherits2(t,e),_createClass2(t,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{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)}}])}(r.a)},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("z+Ro"),i=n("yCtX"),o=n("jZKg");function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t[t.length-1];return Object(r.a)(a)?(t.pop(),Object(o.a)(t,a)):Object(i.a)(t)}},Lhse:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},LqlI:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return l}));var r=n("8Y7J"),i=n("hpHm"),o=n("z/SZ"),a=n("2uy1"),s=_createClass2((function e(){_classCallCheck2(this,e),this.hide=Function,this.setClass=Function})),l=_createClass2((function e(){_classCallCheck2(this,e)})),u={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{}},c=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._element=n,this._renderer=r,this.isShown=!1,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},t)}),[{key:"ngOnInit",value:function(){var e=this;this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout((function(){e.isShown=!0,e._renderer.addClass(e._element.nativeElement,Object(i.d)()?"in":"show")}),this.isAnimated?150:0),document&&document.body&&(1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open")),this._element.nativeElement&&this._element.nativeElement.focus()}},{key:"onClickStarted",value:function(e){this.clickStartedInContent=e.target!==this._element.nativeElement}},{key:"onClickStop",value:function(e){this.config.ignoreBackdropClick||"static"===this.config.backdrop||e.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService.setDismissReason("backdrop-click"),this.hide())}},{key:"onEsc",value:function(e){this.isShown&&(27!==e.keyCode&&"Escape"!==e.key||e.preventDefault(),this.config.keyboard&&this.level===this.bsModalService.getModalsCount()&&(this.bsModalService.setDismissReason("esc"),this.hide()))}},{key:"ngOnDestroy",value:function(){this.isShown&&this.hide()}},{key:"hide",value:function(){var e=this;!this.isModalHiding&&this.isShown&&(this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,Object(i.d)()?"in":"show"),setTimeout((function(){e.isShown=!1,document&&document.body&&1===e.bsModalService.getModalsCount()&&e._renderer.removeClass(document.body,"modal-open"),e.bsModalService.hide(e.level),e.isModalHiding=!1}),this.isAnimated?300:0))}}])}(),h=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._isShown=!1,this.element=t,this.renderer=n}),[{key:"isAnimated",get:function(){return this._isAnimated},set:function(e){this._isAnimated=e}},{key:"isShown",get:function(){return this._isShown}
1,set:function(e){this._isShown=e,e?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),Object(i.d)()||(e?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))}},{key:"ngOnInit",value:function(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),i.b.reflow(this.element.nativeElement)),this.isShown=!0}}])}(),d=function(){return _createClass2((function e(t,n,i,o){_classCallCheck2(this,e),this._element=t,this._renderer=i,this.onShow=new r.EventEmitter,this.onShown=new r.EventEmitter,this.onHide=new r.EventEmitter,this.onHidden=new r.EventEmitter,this._isShown=!1,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.timerHideModal=0,this.timerRmBackDrop=0,this.isNested=!1,this.clickStartedInContent=!1,this._backdrop=o.createLoader(t,n,i)}),[{key:"config",get:function(){return this._config},set:function(e){this._config=this.getConfig(e)}},{key:"isShown",get:function(){return this._isShown}},{key:"onClickStarted",value:function(e){this.clickStartedInContent=e.target!==this._element.nativeElement}},{key:"onClickStop",value:function(e){this.config.ignoreBackdropClick||"static"===this.config.backdrop||e.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.dismissReason="backdrop-click",this.hide(e))}},{key:"onEsc",value:function(e){this._isShown&&(27!==e.keyCode&&"Escape"!==e.key||e.preventDefault(),this.config.keyboard&&(this.dismissReason="esc",this.hide()))}},{key:"ngOnDestroy",value:function(){this.config=void 0,this._isShown&&(this._isShown=!1,this.hideModal(),this._backdrop.dispose())}},{key:"ngOnInit",value:function(){var e=this;this._config=this._config||this.getConfig(),setTimeout((function(){e._config.show&&e.show()}),0)}},{key:"toggle",value:function(){return this._isShown?this.hide():this.show()}},{key:"show",value:function(){var e=this;this.dismissReason=null,this.onShow.emit(this),this._isShown||(clearTimeout(this.timerHideModal),clearTimeout(this.timerRmBackDrop),this._isShown=!0,this.checkScrollbar(),this.setScrollbar(),i.c&&i.c.body&&(i.c.body.classList.contains("modal-open")?this.isNested=!0:this._renderer.addClass(i.c.body,"modal-open")),this.showBackdrop((function(){e.showElement()})))}},{key:"hide",value:function(e){var t=this;e&&e.preventDefault(),this.onHide.emit(this),this._isShown&&(i.j.clearTimeout(this.timerHideModal),i.j.clearTimeout(this.timerRmBackDrop),this._isShown=!1,this._renderer.removeClass(this._element.nativeElement,"in"),Object(i.d)()||this._renderer.removeClass(this._element.nativeElement,"show"),this._config.animated?this.timerHideModal=i.j.setTimeout((function(){return t.hideModal()}),300):this.hideModal())}},{key:"getConfig",value:function(e){return Object.assign({},u,e)}},{key:"showElement",value:function(){var e=this;this._element.nativeElement.parentNode&&this._element.nativeElement.parentNode.nodeType===Node.ELEMENT_NODE||i.c&&i.c.body&&i.c.body.appendChild(this._element.nativeElement),this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","false"),this._renderer.setAttribute(this._element.nativeElement,"aria-modal","true"),this._renderer.setStyle(this._element.nativeElement,"display","block"),this._renderer.setProperty(this._element.nativeElement,"scrollTop",0),this._config.animated&&i.b.reflow(this._element.nativeElement),this._renderer.addClass(this._element.nativeElement,"in"),Object(i.d)()||this._renderer.addClass(this._element.nativeElement,"show");var t=function(){e._config.focus&&e._element.nativeElement.focus(),e.onShown.emit(e)};this._config.animated?setTimeout(t,300):t()}},{key:"hideModal",value:function(){var e=this;this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","true"),this._renderer.setStyle(this._element.nativeElement,"display","none"),this.showBackdrop((function(){e.isNested||(i.c&&i.c.body&&e._renderer.removeClass(i.c.body,"modal-open"),e.resetScrollbar()),e.resetAdjustments(),e.focusOtherModal(),e.onHidden.emit(e)}))}},{key:"showBackdrop",value:function(e){var t=this;if(!this._isShown||!this.config.backdrop||this.backdrop&&this.backdrop.instance.isShown)if(!this._isShown&&this.backdrop){this.backdrop.instance.isShown=!1;var n=function(){t.removeBackdrop(),e&&e()};this.backdrop.instance.isAnimated?this.timerRmBackDrop=i.j.setTimeout(n,150):n()}else e&&e();else{if(this.removeBackdrop(),this._backdrop.attach(h).to("body").show({isAnimated:this._config.animated}),this.backdrop=this._backdrop._componentRef,!e)return;if(!this._config.animated)return void e();setTimeout(e,150)}}},{key:"removeBackdrop",value:function(){this._backdrop.hide()}},{key:"focusOtherModal",value:function(){if(null!=this._element.nativeElement.parentElement){var e=this._element.nativeElement.parentElement.querySelectorAll(".in[bsModal]");e.length&&e[e.length-1].focus()}}},{key:"resetAdjustments",value:function(){this._renderer.setStyle(this._element.nativeElement,"paddingLeft",""),this._renderer.setStyle(this._element.nativeElement,"paddingRight","")}},{key:"checkScrollbar",value:function(){this.isBodyOverflowing=i.c.body.clientWidth<i.j.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}},{key:"setScrollbar",value:function(){i.c&&(this.originalBodyPadding=parseInt(i.j.getComputedStyle(i.c.body).getPropertyValue("padding-right")||0,10),this.isBodyOverflowing&&(i.c.body.style.paddingRight=this.originalBodyPadding+this.scrollbarWidth+"px"))}},{key:"resetScrollbar",value:function(){i.c.body.style.paddingRight=this.originalBodyPadding+"px"}},{key:"getScrollbarWidth",value:function(){var e=this._renderer.createElement("div");
1this._renderer.addClass(e,"modal-scrollbar-measure"),this._renderer.appendChild(i.c.body,e);var t=e.offsetWidth-e.clientWidth;return this._renderer.removeChild(i.c.body,e),t}}])}(),f=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.clf=n,this.config=u,this.onShow=new r.EventEmitter,this.onShown=new r.EventEmitter,this.onHide=new r.EventEmitter,this.onHidden=new r.EventEmitter,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.lastDismissReason="",this.loaders=[],this._backdropLoader=this.clf.createLoader(null,null,null),this._renderer=t.createRenderer(null,null)}),[{key:"show",value:function(e,t){return this.modalsCount++,this._createLoaders(),this.config=Object.assign({},u,t),this._showBackdrop(),this.lastDismissReason=null,this._showModal(e)}},{key:"hide",value:function(e){var t=this;1===this.modalsCount&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1?this.modalsCount-1:0,setTimeout((function(){t._hideModal(e),t.removeLoaders(e)}),this.config.animated?150:0)}},{key:"_showBackdrop",value:function(){var e=this.config.backdrop||"static"===this.config.backdrop,t=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),e&&t&&(this._backdropLoader.attach(h).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}},{key:"_hideBackdrop",value:function(){var e=this;this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout((function(){return e.removeBackdrop()}),this.config.animated?150:0))}},{key:"_showModal",value:function(e){var t=this,n=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers){var r,i=_createForOfIteratorHelper2(this.config.providers);try{for(i.s();!(r=i.n()).done;){var o=r.value;n.provide(o)}}catch(h){i.e(h)}finally{i.f()}}var a=new s,u=n.provide({provide:l,useValue:this.config}).provide({provide:s,useValue:a}).attach(c).to("body").show({content:e,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this});return u.instance.level=this.getModalsCount(),a.hide=function(){setTimeout((function(){return u.instance.hide()}),t.config.animated?300:0)},a.content=n.getInnerComponent()||null,a.setClass=function(e){u.instance.config.class=e},a}},{key:"_hideModal",value:function(e){var t=this.loaders[e-1];t&&t.hide()}},{key:"getModalsCount",value:function(){return this.modalsCount}},{key:"setDismissReason",value:function(e){this.lastDismissReason=e}},{key:"removeBackdrop",value:function(){this._backdropLoader.hide(),this.backdropRef=null}},{key:"checkScrollbar",value:function(){this.isBodyOverflowing=document.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}},{key:"setScrollbar",value:function(){document&&(this.originalBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(document.body.style.paddingRight=this.originalBodyPadding+this.scrollbarWidth+"px"))}},{key:"resetScrollbar",value:function(){document.body.style.paddingRight=this.originalBodyPadding+"px"}},{key:"getScrollbarWidth",value:function(){var e=this._renderer.createElement("div");this._renderer.addClass(e,"modal-scrollbar-measure"),this._renderer.appendChild(document.body,e);var t=e.offsetWidth-e.clientWidth;return this._renderer.removeChild(document.body,e),t}},{key:"_createLoaders",value:function(){var e=this.clf.createLoader(null,null,null);this.copyEvent(e.onBeforeShow,this.onShow),this.copyEvent(e.onShown,this.onShown),this.copyEvent(e.onBeforeHide,this.onHide),this.copyEvent(e.onHidden,this.onHidden),this.loaders.push(e)}},{key:"removeLoaders",value:function(e){this.loaders.splice(e-1,1),this.loaders.forEach((function(e,t){e.instance.level=t+1}))}},{key:"copyEvent",value:function(e,t){var n=this;e.subscribe((function(){t.emit(n.lastDismissReason)}))}}])}(),p=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[f,o.a,a.a]}}},{key:"forChild",value:function(){return{ngModule:e,providers:[f,o.a,a.a]}}}])}()},MCLT:function(e,t,n){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!A(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),l=r[n];n<o;l=r[++n])g(l)||!y(l)?a+=" "+l:a+=" "+s(l);return a},t.deprecate=function(e,n){if("undefined"!=typeof process&&!0===process.noDeprecation)return e;if("undefined"==typeof process)return function(){return t.deprecate(e,n).apply(this,arguments)};var r=!1;return function(){if(!r){if(process.throwDeprecation)throw new Error(n);process.traceDeprecation?console.trace(n):console.error(n),r=!0}return e.apply(this,arguments)}};var o,a={};function s(e,n){var r={seen:[],stylize:u};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(n)?r.showHidden=n:n&&t._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),c(r,e,r.depth)}function l(e,t){var n=s.styles[t];return n?"\x1b["+s.colors[n][0]+"m"+e+"\x1b["+s.colors[n][1]+"m":e}function u(e,t){return e}function c(e,n,r){if(e.customInspect&&n&&w(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return A(i)||(i=c(e,i,r)),i}var o=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(A(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return _(t)?e.stylize(""+t,"number"):p(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),C(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(n);if(0===a.length){if(w(n))return e.stylize("[Function"+(n.name?": "+n.name:"")+"]","special");if(m(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(b(n))return e.stylize(Date.prototype.toString.call(n),"date");if(C(n))return h(n)}var l,u="",y=!1,k=["{","}"];return f(n)&&(y=!0,k=["[","]"]),w(n)&&(u=" [Function"+(n.name?": "+n.name:"")+"]"),m(n)&&(u=" "+RegExp.prototype.toString.call(n)),b(n)&&(u=" "+Date.prototype.toUTCString.call(n)),C(n)&&(u=" "+h(n)),0!==a.length||y&&0!=n.length?r<0?m(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=y?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)x(t,String(a))?o.push(d(e,t,n,r,String(a),!0)):o.push("");
vendor: 4,115 bytes, line 1
1return i.forEach((function(i){i.match(/^\d+$/)||o.push(d(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return d(e,n,r,s,t,y)})),e.seen.pop(),function(e,t,n){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(l,u,k)):k[0]+u+k[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=e.stylize(l.set?"[Getter/Setter]":"[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),x(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=g(n)?c(e,l.value,null):c(e,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function f(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function g(e){return null===e}function _(e){return"number"==typeof e}function A(e){return"string"==typeof e}function v(e){return void 0===e}function m(e){return y(e)&&"[object RegExp]"===k(e)}function y(e){return"object"==typeof e&&null!==e}function b(e){return y(e)&&"[object Date]"===k(e)}function C(e){return y(e)&&("[object Error]"===k(e)||e instanceof Error)}function w(e){return"function"==typeof e}function k(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(v(o)&&(o=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!a[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var n=process.pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else a[e]=function(){};return a[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=f,t.isBoolean=p,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=_,t.isString=A,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=v,t.isRegExp=m,t.isObject=y,t.isDate=b,t.isError=C,t.isFunction=w,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n("1gqn");var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var e=new Date,t=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":");return[e.getDate(),S[e.getMonth()],t].join(" ")}function x(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",O(),t.format.apply(t,arguments))},t.inherits=n("KKCa"),t._extend=function(e,t){if(!t||!y(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function T(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(P&&e[P]){var t;if("function"!=typeof(t=e[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(a){n(a)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,
1configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=P,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return r.apply(i,arguments)};e.apply(this,t).then((function(e){process.nextTick(o,null,e)}),(function(e){process.nextTick(T,e,o)}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,r(e)),t}},Mz6y:function(e,t,n){"use strict";n.d(t,"e",(function(){return A})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return g})),n.d(t,"f",(function(){return _})),n("GS7A");var r=n("KCVW"),i=n("dvZr"),o=n("7QIX"),a=(n("QQfA"),n("zMNK")),s=n("8Y7J"),l=n("XNiG"),u=n("1G5W"),c=n("IzEk");function h(e){return Error('Tooltip position "'.concat(e,'" is invalid.'))}var d=new s.InjectionToken("mat-tooltip-scroll-strategy");function f(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}var p=new s.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),g=function(){return _createClass2((function e(t,n,r,i,o,a,s,c,h,d,f,p){var g=this;_classCallCheck2(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=r,this._viewContainerRef=i,this._ngZone=o,this._ariaDescriber=s,this._focusMonitor=c,this._dir=d,this._defaultOptions=f,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new l.a,this._scrollStrategy=h;var _=n.nativeElement,A="undefined"==typeof window||window.Hammer||p;a.IOS||a.ANDROID?A||this._manualListeners.set("touchstart",(function(){return g.show()})):this._manualListeners.set("mouseenter",(function(){return g.show()})).set("mouseleave",(function(){return g.hide()})),this._manualListeners.forEach((function(e,t){return _.addEventListener(t,e)})),c.monitor(n).pipe(Object(u.a)(this._destroyed)).subscribe((function(e){e?"keyboard"===e&&o.run((function(){return g.show()})):o.run((function(){return g.hide(0)}))})),f&&f.position&&(this.position=f.position)}),[{key:"position",get:function(){return this._position},set:function(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(r.c)(e),this._disabled&&this.hide(0)}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?(""+e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message)}))})))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngOnInit",value:function(){var e=this._elementRef.nativeElement,t=e.style;"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||(t.webkitUserSelect=t.userSelect=t.msUserSelect=""),e.draggable&&"none"===t.webkitUserDrag&&(t.webkitUserDrag="")}},{key:"ngOnDestroy",value:function(){var e=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((function(t,n){e._elementRef.nativeElement.removeEventListener(n,t)})),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new a.c(_,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(u.a)(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_handleKeydown",value:function(e){this._isTooltipVisible()&&e.keyCode===i.e&&!Object(i.o)(e)&&(e.preventDefault(),e.stopPropagation(),this.hide(0))}},{key:"_handleTouchend",value:function(){this.hide(this._defaultOptions.touchendHideDelay)}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return n.positionChanges.pipe(Object(u.a)(this._destroyed)).subscribe((function(t){e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run((function(){return e.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(u.a)(this._destroyed)).subscribe((function(){return e._detach()})),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(){var e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();
1e.withPositions([Object.assign({},t.main,n.main),Object.assign({},t.fallback,n.fallback)])}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)e={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw h(n);e={originX:"end",originY:"center"}}var r=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:r.x,originY:r.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)e={overlayX:"center",overlayY:"bottom"};else if("below"==n)e={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw h(n);e={overlayX:"start",overlayY:"center"}}var r=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:r.x,overlayY:r.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(c.a)(1),Object(u.a)(this._destroyed)).subscribe((function(){e._tooltipInstance&&e._overlayRef.updatePosition()})))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}}])}(),_=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._changeDetectorRef=t,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new l.a,this._isHandset=this._breakpointObserver.observe(o.b.Handset)}),[{key:"show",value:function(e){var t=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){t._visibility="visible",t._showTimeoutId=null,t._markForCheck()}),e)}},{key:"hide",value:function(e){var t=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){t._visibility="hidden",t._hideTimeoutId=null,t._markForCheck()}),e)}},{key:"afterHidden",value:function(){return this._onHide.asObservable()}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}])}(),A=_createClass2((function e(){_classCallCheck2(this,e)}))},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout((function(){throw e}),0)}n.d(t,"a",(function(){return r}))},NUQi:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("LRne"),i=n("eIep"),o=n("IzEk"),a=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.router=t,this.authService=n}),[{key:"canActivate",value:function(e,t){var n=this;return this.authService.waitForAuthenticationLoaded().pipe(Object(i.a)((function(e){return n.authService.user$.pipe(Object(o.a)(1),Object(i.a)((function(e){return e&&!e.expired&&e.access_token?Object(r.a)(!0):(console.log("Unauthenticated. Redirecting to login with redirectUri "+window.location.href),n.authService.logIn(window.location.href),Object(r.a)(!1))})))})))}}])}()},NXyV:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("HDdC"),i=n("Cfvw"),o=n("EY2u");function a(e){return new r.a((function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(i.a)(n):Object(o.b)()).subscribe(t)}))}},OIZN:function(e,t,n){"use strict";n.d(t,"d",(function(){return h})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return s}));var r=n("8Y7J"),i=n("XNiG"),o=n("KCVW"),a=n("Xd0L"),s=function(){var e=_createClass2((function e(){_classCallCheck2(this,e),this.changes=new i.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(e,t,n){if(0==n||0==t)return"0 of "+n;var r=e*t;return"".concat(r+1," \u2013 ").concat(r<(n=Math.max(n,0))?Math.min(r+t,n):r+t," of ").concat(n)}}));return e.ngInjectableDef=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}();function l(e){return e||new s}var u=_createClass2((function e(){_classCallCheck2(this,e)})),c=function(e){function t(e,n){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t))._intl=e,i._changeDetectorRef=n,i._pageIndex=0,i._length=0,i._pageSizeOptions=[],i._hidePageSize=!1,i._showFirstLastButtons=!1,i.page=new r.EventEmitter,i._intlChanges=e.changes.subscribe((function(){return i._changeDetectorRef.markForCheck()})),i}
1return _inherits2(t,e),_createClass2(t,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(e){this._pageIndex=Math.max(Object(o.f)(e),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(e){this._length=Object(o.f)(e),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(e){this._pageSize=Math.max(Object(o.f)(e),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(e){this._pageSizeOptions=(e||[]).map((function(e){return Object(o.f)(e)})),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(e){this._hidePageSize=Object(o.c)(e)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(e){this._showFirstLastButtons=Object(o.c)(e)}},{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var e=this.getNumberOfPages()-1;return this.pageIndex<e&&0!=this.pageSize}},{key:"getNumberOfPages",value:function(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}},{key:"_changePageSize",value:function(e){var t=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/e)||0,this.pageSize=e,this._emitPageEvent(t)}},{key:"_nextButtonsDisabled",value:function(){return this.disabled||!this.hasNextPage()}},{key:"_previousButtonsDisabled",value:function(){return this.disabled||!this.hasPreviousPage()}},{key:"_updateDisplayedPageSizeOptions",value:function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((function(e,t){return e-t})),this._changeDetectorRef.markForCheck())}},{key:"_emitPageEvent",value:function(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}])}(Object(a.D)(Object(a.F)(u))),h=_createClass2((function e(){_classCallCheck2(this,e)}))},PCNd:function(e,t,n){"use strict";n("aZ8m"),n("SJ4l"),n("8Y7J"),n("ZkL/"),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var r={suppressScrollX:!0},i=_createClass2((function e(t){_classCallCheck2(this,e),this.modalService=t,this.modalService.config.animated=!0,this.modalService.config.keyboard=!0,this.modalService.config.backdrop=!0,this.modalService.config.ignoreBackdropClick=!1,this.modalService.config.class="modal-dialog-centered default-modal-dialog-hp"}))},POq0:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return h}));var r=n("KCVW"),i=n("8Y7J"),o=n("HDdC"),a=n("XNiG"),s=n("Kj3r"),l=function(){var e=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}])}();return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),u=function(){var e=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}),[{key:"ngOnDestroy",value:function(){var e=this;
1this._observedElements.forEach((function(t,n){return e._cleanupObserver(n)}))}},{key:"observe",value:function(e){var t=this,n=Object(r.e)(e);return new o.a((function(e){var r=t._observeElement(n).subscribe(e);return function(){r.unsubscribe(),t._unobserveElement(n)}}))}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new a.a,n=this._mutationObserverFactory.create((function(e){return t.next(e)}));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}},{key:"_unobserveElement",value:function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}},{key:"_cleanupObserver",value:function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,r=t.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}}}])}();return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(l))},token:e,providedIn:"root"}),e}(),c=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=r,this.event=new i.EventEmitter,this._disabled=!1,this._currentSubscription=null}),[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(r.c)(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=Object(r.f)(e),this._subscribe()}},{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){e._currentSubscription=(e.debounce?t.pipe(Object(s.a)(e.debounce)):t).subscribe(e.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}])}(),h=_createClass2((function e(){_classCallCheck2(this,e)}))},"Pa/3":function(e,t,n){"use strict";var r=n("8Y7J"),i=n("3fkT"),o=n("SVse");n("QQfA"),n("iInd"),n("ZMeN"),n("2uy1");var a=n("s7LF"),s=n("z/SZ");n("1v46"),n("Mz6y"),n("POq0"),n("IP0z"),n("cUpR"),n("Xd0L"),n("/HVE"),n("5GAg"),n("zMNK"),n("hOhj"),n("7QIX"),n("s6ns"),n("FE24"),n("GS7A"),n("KCVW"),n("XNiG"),n("VRyK"),n("JjoW"),n("OIZN"),n("quSY"),n("LRne"),n("7Hc7"),n("dvZr"),n("JX91"),n("eIep"),n("IzEk"),n("pLZG"),n("1G5W"),n("3E0/"),n("zQui"),n("8rEH"),n("Fwaw"),n("HsOI"),n("xgIS"),n("978R"),n("pMnS");var l=n("aLe/"),u=(n("z5nN"),n("LqlI"));n("ienR"),n("c/fn"),n("hhfa"),n("7vha");var c=n("bOtU"),h=(n("r1zJ"),n("d7n7")),d=n("uilG");n("oT44"),n("omvX"),n.d(t,"c",(function(){return f})),n.d(t,"m",(function(){return p})),n.d(t,"a",(function(){return A})),n.d(t,"d",(function(){return v})),n.d(t,"n",(function(){return b})),n.d(t,"e",(function(){return C})),n.d(t,"o",(function(){return w})),n.d(t,"f",(function(){return k})),n.d(t,"p",(function(){return E})),n.d(t,"b",(function(){return S})),n.d(t,"l",(function(){return O})),n.d(t,"h",(function(){return x})),n.d(t,"r",(function(){return P})),n.d(t,"i",(function(){return T})),n.d(t,"s",(function(){return D})),n.d(t,"j",(function(){return M})),n.d(t,"t",(function(){return N})),n.d(t,"g",(function(){return oe})),n.d(t,"q",(function(){return de})),n.d(t,"k",(function(){return xe})),n.d(t,"u",(function(){return Te}));var f=r["\u0275crt"]({encapsulation:0,styles:[".form-checkbox[_ngcontent-%COMP%]{margin:0 0 20px}.form-checkbox[_ngcontent-%COMP%] .custom-control[_ngcontent-%COMP%]{padding-left:0;min-height:18px}.form-checkbox[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]{letter-spacing:.14px;color:var(--secondary);cursor:pointer;padding:0 0 0 40px;font-size:12px;line-height:18px}.form-checkbox[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]::before{border:solid 1px var(--gray-dark);background:var(--white);top:0;left:0;border-radius:3px;width:18px;height:18px}@media (min-width:992px){.form-checkbox[_ngcontent-%COMP%]{margin:0 0 28px}.form-checkbox[_ngcontent-%COMP%] .custom-control[_ngcontent-%COMP%]{min-height:24px}.form-checkbox[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]{font-size:14px;line-height:24px}.form-checkbox[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]::before{border-radius:6px;width:24px;height:24px}}.form-checkbox[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]::after{top:0;left:0;width:18px;height:18px}@media (min-width:992px){.form-checkbox[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]::after{width:24px;height:24px}}.form-checkbox[_ngcontent-%COMP%] .custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before{background:var(--orange);border:solid 1px var(--orange)}.form-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before{box-shadow:0 0 0 0 var(--white),0 0 0 .2rem rgba(0,123,255,0)}"],data:{}});function p(e){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{input:0}),(e()(),r["\u0275eld"](1,0,null,null,10,"div",[["class","form-checkbox"]],null,null,null,null,null)),r["\u0275prd"](512,
1null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](3,278528,null,0,o.l,[o.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](4,{"form-field-error":0}),(e()(),r["\u0275eld"](5,0,null,null,6,"div",[["class","custom-control custom-checkbox"]],null,null,null,null,null)),(e()(),r["\u0275eld"](6,0,[[1,0],["input",1]],null,0,"input",[["class","custom-control-input"],["type","checkbox"]],[[8,"disabled",0],[8,"readOnly",0],[8,"required",0]],[[null,"focus"],[null,"blur"],[null,"change"]],(function(e,t,n){var r=!0,i=e.component;return"focus"===t&&(r=!1!==i.onFocus()&&r),"blur"===t&&(r=!1!==i.onBlur()&&r),"change"===t&&(r=!1!==i.onChange(n.target.checked)&&r),r}),null,null)),(e()(),r["\u0275eld"](7,0,null,null,1,"label",[["class","custom-control-label"]],null,[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r["\u0275nov"](e,6).click()&&i),i}),null,null)),(e()(),r["\u0275ted"](8,null,["",""])),r["\u0275ncd"](null,0),(e()(),r["\u0275eld"](10,0,null,null,1,"ico-wiz-input-errors",[],null,null,null,Oe,fe)),r["\u0275did"](11,49152,null,0,i.Wb,[],{control:[0,"control"]},null)],(function(e,t){var n=t.component,r=n.styleClass,i=e(t,4,0,n.hasErrors);e(t,3,0,r,i),e(t,11,0,n.control)}),(function(e,t){var n=t.component;e(t,6,0,n.disabled,n.readonly,n.required),e(t,8,0,n.name)}))}var g=r["\u0275crt"]({encapsulation:0,styles:[".modal-body-p-0[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{padding:0}
1.modal-footer[_ngcontent-%COMP%], .modal-header[_ngcontent-%COMP%]{border:none}.modal-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 0 0 10px}.modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{font-weight:400;color:var(--secondary);opacity:1;font-size:28px}@media (min-width:992px){.modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{font-size:38px}}.modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{font-family:var(--font-bold);letter-spacing:.31072px;color:var(--secondary);font-size:18px;line-height:24px}.modal-backdrop[_ngcontent-%COMP%]{background:var(--darked)}.modal-dialog[_ngcontent-%COMP%]{max-width:620px}.modal-content[_ngcontent-%COMP%]{background:var(--light);border:0;overflow:hidden;position:relative;border-radius:8px}@media (min-width:992px){.modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{font-size:28px;line-height:42px;padding-bottom:30px}.modal-content[_ngcontent-%COMP%]{border-radius:16px}}.modal.fade[_ngcontent-%COMP%]:not(.in).right .modal-dialog[_ngcontent-%COMP%]{transform:translate3d(25%,0,0)}.full-screen[_ngcontent-%COMP%]{height:100%;max-width:none;margin:.5rem}@media (min-width:768px){.full-screen[_ngcontent-%COMP%]{width:98%;margin:0 1%}}.full-screen[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{height:98%}"],data:{}});function _(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","modal-header"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,0,"h5",[["class","modal-title"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["\u0275eld"](2,0,null,null,2,"button",[["aria-label","Close"],["class","close"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.close()&&r),r}),null,null)),(e()(),r["\u0275eld"](3,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\xd7"])),(e()(),r["\u0275eld"](5,0,null,null,1,"div",[["class","modal-body"]],null,null,null,null,null)),(e()(),r["\u0275eld"](6,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["\u0275eld"](7,0,null,null,4,"div",[["class","modal-footer"]],null,null,null,null,null)),(e()(),r["\u0275eld"](8,0,null,null,1,"a",[["class","btn default-dgray-btn"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onReject()&&r),r}),null,null)),(e()(),r["\u0275ted"](9,null,["",""])),(e()(),r["\u0275eld"](10,0,null,null,1,"a",[["class","btn"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onAccept()&&r),r}),null,null)),(e()(),r["\u0275ted"](11,null,["",""]))],null,(function(e,t){var n=t.component;e(t,1,0,n.title),e(t,6,0,n.description),e(t,9,0,n.rejectLabel),e(t,11,0,n.acceptLabel)}))}var A=r["\u0275ccf"]("ico-wiz-confirmation-modal",i.mb,(function(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"ico-wiz-confirmation-modal",[],null,null,null,_,g)),r["\u0275did"](1,114688,null,0,i.mb,[u.a],null,null)],(function(e,t){e(t,1,0)}),null)}),{title:"title",description:"description",acceptLabel:"acceptLabel",rejectLabel:"rejectLabel"},{done:"done"},[]),v=r["\u0275crt"]({encapsulation:0,styles:[".form-error-notification[_ngcontent-%COMP%]{margin:0 0 15px;background:var(--pink-100);padding:10px 15px;border-radius:4px}.form-error-notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--font-medium);letter-spacing:.14px;color:var(--pink);font-size:12px;line-height:22px}@media (min-width:992px){.form-error-notification[_ngcontent-%COMP%]{border-radius:10px;padding:10px 25px;margin:0 0 40px}.form-error-notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:30px;font-size:14px}.form-error-notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%] + p[_ngcontent-%COMP%]{margin-top:10px}}.form-error-notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{vertical-align:top;font-size:16px;line-height:22px;margin:0 10px 0 0}@media (min-width:992px){.form-error-notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin:0 12px 0 0;font-size:20px;line-height:30px}}"],data:{}});function m(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,2,"p",[],null,
1null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,0,"i",[["class","fas fa-exclamation-circle"]],null,null,null,null,null)),(e()(),r["\u0275ted"](2,null,["",""]))],null,(function(e,t){e(t,2,0,t.context.$implicit)}))}function y(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,3,"div",[["class","form-error-notification"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,m)),r["\u0275did"](2,278528,null,0,o.m,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),r["\u0275ncd"](null,0)],(function(e,t){e(t,2,0,t.component.errors)}),null)}function b(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,y)),r["\u0275did"](1,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,1,0,t.component.hasErrors)}),null)}var C=r["\u0275crt"]({encapsulation:0,styles:[".form-field[_ngcontent-%COMP%]{position:relative;margin:0 0 20px}.form-field[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{opacity:.7;color:var(--secondary);font-family:var(--font-medium);font-size:14px;line-height:16px;letter-spacing:.14px;margin:0 0 5px;display:block}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;border:solid 1px var(--gray-dark);background:var(--white);color:inherit;margin:0;transition:.3s linear;border-radius:4px;height:40px;font-size:14px;line-height:38px;padding:0 15px}@media (min-width:992px){.form-field[_ngcontent-%COMP%]{margin:0 0 28px}.form-field[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{font-size:16px;line-height:18px;letter-spacing:.162px;margin:0 0 8px}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:50px;border-radius:10px;font-size:16px;padding:5px 20px}}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:0;border:solid 1px var(--indigo)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:var(--secondary);opacity:.6}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:var(--secondary);opacity:.6}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:var(--secondary);opacity:.6}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:var(--secondary);opacity:.6}.form-field-error[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:solid 1px var(--pink)}"],data:{}});function w(e){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{input:0}),(e()(),r["\u0275eld"](1,0,null,null,9,"div",[["class","form-field"]],null,null,null,null,null)),r["\u0275prd"](512,null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](3,278528,null,0,o.l,[o.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](4,{"form-field-error":0}),(e()(),r["\u0275eld"](5,0,null,null,1,"label",[["class","form-label"]],null,null,null,null,null)),(e()(),r["\u0275ted"](6,null,["",""])),(e()(),r["\u0275eld"](7,0,[[1,0],["input",1]],null,0,"input",[],[[8,"type",0],[8,"placeholder",0],[8,"value",0],[8,"disabled",0],[8,"readOnly",0],[8,"required",0]],[[null,"focus"],[null,"blur"],[null,"input"]],(function(e,t,n){var r=!0,i=e.component;return"focus"===t&&(r=!1!==i.onFocus()&&r),"blur"===t&&(r=!1!==i.onBlur()&&r),"input"===t&&(r=!1!==i.onChange(n.target.value)&&r),r}),null,null)),(e()(),r["\u0275eld"](8,0,null,null,1,"ico-wiz-input-errors",[],null,null,null,Oe,fe)),r["\u0275did"](9,49152,null,0,i.Wb,[],{control:[0,"control"]},null),r["\u0275ncd"](null,0)],(function(e,t){var n=t.component,r=n.styleClass,i=e(t,4,0,n.hasErrors);e(t,3,0,r,i),e(t,9,0,n.control)}),(function(e,t){var n=t.component;e(t,6,0,n.name),e(t,7,0,n.type,n.focused?"":n.placeholder,n.value,n.disabled,n.readonly,n.required)}))}var k=r["\u0275crt"]({encapsulation:0,styles:[".form-field[_ngcontent-%COMP%]{position:relative;margin:0 0 20px}.form-field[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{color:var(--secondary);font-family:var(--font-medium);font-size:14px;line-height:16px;letter-spacing:.14px;margin:0 0 5px;display:block}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;border:solid 1px var(--gray-dark);background:var(--white);color:var(--secondary);margin:0;transition:.3s linear;border-radius:4px;
1height:40px;font-size:14px;line-height:38px;padding:0 15px}@media (min-width:992px){.form-field[_ngcontent-%COMP%]{margin:0 0 28px}.form-field[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{font-size:16px;line-height:18px;letter-spacing:.162px;margin:0 0 8px}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:50px;border-radius:10px;font-size:16px;padding:5px 20px}}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:0;border:solid 1px var(--indigo)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:var(--secondary)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:var(--secondary)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:var(--secondary)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:var(--secondary)}.form-field-error[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:solid 1px var(--pink)}"],data:{}});function E(e){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{input:0}),(e()(),r["\u0275eld"](1,0,null,null,13,"div",[["class","form-field"]],null,null,null,null,null)),r["\u0275prd"](512,null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](3,278528,null,0,o.l,[o.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](4,{"form-field-error":0}),(e()(),r["\u0275eld"](5,0,null,null,1,"label",[["class","form-label"]],null,null,null,null,null)),(e()(),r["\u0275ted"](6,null,["",""])),(e()(),r["\u0275eld"](7,0,[[1,0],["input",1]],null,4,"input",[],[[8,"type",0],[8,"placeholder",0],[8,"disabled",0],[8,"readOnly",0],[8,"required",0]],[[null,"focus"],[null,"blur"],[null,"input"],[null,"click"],[null,"keydown"],[null,"ngModelChange"]],(function(e,t,n){var i=!0,o=e.component;return"input"===t&&(i=!1!==r["\u0275nov"](e,11).onInput(n)&&i),"blur"===t&&(i=!1!==r["\u0275nov"](e,11).onBlur()&&i),"click"===t&&(i=!1!==r["\u0275nov"](e,11).onFocus(n)&&i),"keydown"===t&&(i=!1!==r["\u0275nov"](e,11).onKeyDown(n)&&i),"ngModelChange"===t&&(i=!1!==r["\u0275nov"](e,11).onModelChange(n)&&i),"focus"===t&&(i=!1!==o.onFocus()&&i),"blur"===t&&(i=!1!==o.onBlur()&&i),"input"===t&&(i=!1!==o.onChange(n.target.value)&&i),i}),null,null)),r["\u0275prd"](5120,null,a.m,(function(e){return[e]}),[c.c]),r["\u0275prd"](5120,null,a.l,(function(e){return[e]}),[c.c]),r["\u0275prd"](512,null,c.d,c.d,[o.e,c.h,r.ElementRef,r.Renderer2]),r["\u0275did"](11,540672,null,0,c.c,[o.e,c.d,c.h],{maskExpression:[0,"maskExpression"],prefix:[1,"prefix"],suffix:[2,"suffix"],dropSpecialCharacters:[3,"dropSpecialCharacters"],showMaskTyped:[4,"showMaskTyped"]},null),(e()(),r["\u0275eld"](12,0,null,null,1,"ico-wiz-input-errors",[],null,null,null,Oe,fe)),r["\u0275did"](13,49152,null,0,i.Wb,[],{control:[0,"control"]},null),r["\u0275ncd"](null,0)],(function(e,t){var n=t.component,r=n.styleClass,i=e(t,4,0,n.hasErrors);e(t,3,0,r,i),e(t,11,0,n.mask,n.prefix,n.suffix,n.dropSpecialCharacters,n.showMaskTyped),e(t,13,0,n.control)}),(function(e,t){var n=t.component;e(t,6,0,n.name),e(t,7,0,n.type,n.focused?"":n.placeholder,n.disabled,n.readonly,n.required)}))}var S=r["\u0275crt"]({encapsulation:0,styles:[".form-field[_ngcontent-%COMP%]{position:relative;margin:0 0 20px}.form-field[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{color:var(--secondary);font-family:var(--font-medium);font-size:14px;line-height:16px;letter-spacing:.14px;margin:0 0 5px;display:block}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;border:solid 1px var(--gray-dark);background:var(--white);color:var(--secondary);margin:0;transition:.3s linear;border-radius:4px;height:40px;font-size:14px;line-height:38px;padding:0 15px}@media (min-width:992px){.form-field[_ngcontent-%COMP%]{margin:0 0 28px}.form-field[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{font-size:16px;line-height:18px;letter-spacing:.162px;margin:0 0 8px}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:50px;border-radius:10px;font-size:16px;padding:5px 20px}}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:0;border:solid 1px var(--indigo)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:var(--secondary)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:var(--secondary)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:var(--secondary)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:var(--secondary)}.form-field-error[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:solid 1px var(--pink)}"],data:{}});function O(e){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{input:0}),r["\u0275qud"](402653184,2,{googlePlaceDirective:0}),(e()(),r["\u0275eld"](2,0,null,null,10,"div",[["class","form-field"]],null,null,null,null,null)),r["\u0275prd"](512,
1null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](4,278528,null,0,o.l,[o.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](5,{"form-field-error":0}),(e()(),r["\u0275eld"](6,0,null,null,1,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),r["\u0275ted"](7,null,["",""])),(e()(),r["\u0275eld"](8,0,[[1,0],["input",1]],null,1,"input",[["ngx-google-places-autocomplete",""]],[[8,"type",0],[8,"placeholder",0],[8,"disabled",0],[8,"readOnly",0],[8,"required",0]],[[null,"onAddressChange"],[null,"focus"],[null,"blur"],[null,"input"]],(function(e,t,n){var r=!0,i=e.component;return"onAddressChange"===t&&(r=!1!==i.onAddressChange(n)&&r),"focus"===t&&(r=!1!==i.onFocus()&&r),"blur"===t&&(r=!1!==i.onBlur()&&r),"input"===t&&(r=!1!==i.onChange(n.target.value)&&r),r}),null,null)),r["\u0275did"](9,4210688,[[2,4]],0,h.a,[r.ElementRef,r.NgZone],{options:[0,"options"]},{onAddressChange:"onAddressChange"}),(e()(),r["\u0275eld"](10,0,null,null,1,"ico-wiz-input-errors",[],null,null,null,Oe,fe)),r["\u0275did"](11,49152,null,0,i.Wb,[],{control:[0,"control"]},null),r["\u0275ncd"](null,0)],(function(e,t){var n=t.component,r=n.styleClass,i=e(t,5,0,n.hasErrors);e(t,4,0,r,i),e(t,9,0,n.options),e(t,11,0,n.control)}),(function(e,t){var n=t.component;e(t,7,0,n.name),e(t,8,0,n.type,n.focused?"":n.placeholder,n.disabled,n.readonly,n.required)}))}var x=r["\u0275crt"]({encapsulation:0,styles:[".form-radio[_ngcontent-%COMP%]{margin:0 0 20px}.form-radio[_ngcontent-%COMP%] .custom-control[_ngcontent-%COMP%]{padding-left:0;min-height:18px}.form-radio[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]{letter-spacing:.14px;color:var(--secondary);cursor:pointer;padding:0 0 0 40px;font-size:12px;line-height:18px}.form-radio[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]::before{border:solid 1px var(--gray-dark);background:var(--white);top:0;left:0;border-radius:50%;width:19px;height:19px}@media (min-width:992px){.form-radio[_ngcontent-%COMP%]{margin:0 0 28px}.form-radio[_ngcontent-%COMP%] .custom-control[_ngcontent-%COMP%]{min-height:24px}.form-radio[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]{font-size:14px;line-height:24px}.form-radio[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]::before{width:24px;height:24px}}.form-radio[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]::after{top:0;left:0;width:18px;height:18px}@media (min-width:992px){.form-radio[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]::after{width:24px;height:24px}}.form-radio[_ngcontent-%COMP%] .custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before{background:var(--orange);border:solid 1px var(--orange)}.form-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before{box-shadow:0 0 0 0 var(--white),0 0 0 .2rem rgba(0,123,255,0)}"],data:{}});function P(e){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{input:0}),(e()(),r["\u0275eld"](1,0,null,null,11,"div",[["class","form-radio"]],null,null,null,null,null)),r["\u0275prd"](512,null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](3,278528,null,0,o.l,[o.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](4,{"form-field-error":0}),(e()(),r["\u0275eld"](5,0,null,null,6,"div",[["class","custom-control custom-radio"]],null,null,null,null,null)),(e()(),r["\u0275eld"](6,0,[[1,0],["input",1]],null,0,"input",[["class","custom-control-input"],["type","radio"]],[[8,"name",0],[8,"disabled",0],[8,"readOnly",0],[8,"required",0],[1,"value",0]],[[null,"focus"],[null,"blur"],[null,"change"]],(function(e,t,n){var r=!0,i=e.component;return"focus"===t&&(r=!1!==i.onFocus()&&r),"blur"===t&&(r=!1!==i.onBlur()&&r),"change"===t&&(r=!1!==i.onInputChange(i.value)&&r),r}),null,null)),(e()(),r["\u0275eld"](7,0,null,null,2,"label",[["class","custom-control-label"]],null,[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r["\u0275nov"](e,6).click()&&i),i}),null,null)),(e()(),r["\u0275ted"](8,null,[" "," "])),r["\u0275ncd"](null,0),(e()(),r["\u0275eld"](10,0,null,null,1,"ico-wiz-input-errors",[],null,
1null,null,Oe,fe)),r["\u0275did"](11,49152,null,0,i.Wb,[],{control:[0,"control"]},null),r["\u0275ncd"](null,1)],(function(e,t){var n=t.component,r=n.styleClass,i=e(t,4,0,n.hasErrors);e(t,3,0,r,i),e(t,11,0,n.control)}),(function(e,t){var n=t.component;e(t,6,0,n.control.name,n.disabled,n.readonly,n.required,n.value),e(t,8,0,n.name)}))}var T=r["\u0275crt"]({encapsulation:0,styles:[".form-field[_ngcontent-%COMP%]{position:relative;margin:0 0 20px}.form-field[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{color:var(--secondary);font-family:var(--font-medium);font-size:14px;line-height:16px;letter-spacing:.14px;margin:0 0 5px;opacity:.7}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;border:solid 1px var(--gray-dark);background:var(--white);color:var(--secondary);margin:0;transition:.3s linear;border-radius:4px;height:40px;font-size:14px;line-height:38px;padding:0 15px}@media (min-width:992px){.form-field[_ngcontent-%COMP%]{margin:0 0 28px}.form-field[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{font-size:16px;line-height:18px;letter-spacing:.162px;margin:0 0 8px}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:50px;border-radius:10px;font-size:16px;padding:5px 20px}}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:0;border:solid 1px var(--indigo)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:var(--secondary)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:var(--secondary)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:var(--secondary)}.form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:var(--secondary)}.form-field-error[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:solid 1px var(--pink)}.custom-select[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--gray-dark);font-size:14px;letter-spacing:.15px;color:var(--secondary);background-size:10px;height:40px;border-radius:4px;line-height:40px;padding:0 30px 0 15px;background-position:right 15px center}@media (min-width:992px){.custom-select[_ngcontent-%COMP%]{border-radius:10px;height:50px;line-height:50px;padding:0 35px 0 20px;background-position:right 20px center}}.custom-select[_ngcontent-%COMP%]:focus{outline:0;border:solid 1px var(--indigo);box-shadow:inset 0 0 0 rgba(var(--black),.075),0 0 0 rgba(128,189,255,.5)}.custom-select-2[_ngcontent-%COMP%]{font-size:14px;line-height:38px}@media (min-width:992px){.custom-select-2[_ngcontent-%COMP%]{font-size:16px;line-height:48px}}"],data:{}});function B(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"option",[],[[8,"value",0]],null,null,null,null)),(e()(),r["\u0275ted"](1,null,["",""]))],null,(function(e,t){e(t,0,0,t.context.$implicit.value),e(t,1,0,t.context.$implicit.name)}))}function D(e){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{input:0}),(e()(),r["\u0275eld"](1,0,null,null,14,"div",[["class","form-field"]],null,null,null,null,null)),r["\u0275prd"](512,null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](3,278528,null,0,o.l,[o.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](4,{"form-field-error":0,"form-spinner-ip":1}),(e()(),r["\u0275eld"](5,0,null,null,1,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),r["\u0275ted"](6,null,["",""])),(e()(),r["\u0275eld"](7,0,[[1,0],["input",1]],null,5,"select",[["class","custom-select custom-select-2"]],[[8,"disabled",0],[8,"required",0]],[[null,"focus"],[null,"blur"],[null,"change"]],(function(e,t,n){var r=!0,i=e.component;return"focus"===t&&(r=!1!==i.onFocus()&&r),"blur"===t&&(r=!1!==i.onBlur()&&r),"change"===t&&(r=!1!==i.onChange(n.target.value)&&r),r}),null,null)),r["\u0275prd"](512,null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](9,278528,null,0,o.l,[o.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](10,{"select-step":0}),(e()(),r["\u0275and"](16777216,null,null,1,null,B)),r["\u0275did"](12,278528,null,0,o.m,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275eld"](13,0,null,null,1,"ico-wiz-input-errors",[],null,
1null,null,Oe,fe)),r["\u0275did"](14,49152,null,0,i.Wb,[],{control:[0,"control"]},null),r["\u0275ncd"](null,0)],(function(e,t){var n=t.component,r=n.styleClass,i=e(t,4,0,n.hasErrors,n.showSpinner);e(t,3,0,r,i);var o=e(t,10,0,n.showSpinner);e(t,9,0,"custom-select custom-select-2",o),e(t,12,0,n.options),e(t,14,0,n.control)}),(function(e,t){var n=t.component;e(t,6,0,n.name),e(t,7,0,n.disabled,n.required)}))}var M=r["\u0275crt"]({encapsulation:0,styles:[""],data:{}});function I(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"ico-wiz-wizard-left-sidebar",[],null,[[null,"selectionChange"]],(function(e,t,n){var r=!0;return"selectionChange"===t&&(r=!1!==e.component.onSelectionChange(n)&&r),r}),G,j)),r["\u0275did"](1,114688,null,0,i.Lb,[],{steps:[0,"steps"],disabled:[1,"disabled"],selectedIndex:[2,"selectedIndex"]},{selectionChange:"selectionChange"})],(function(e,t){var n=t.component;e(t,1,0,n.steps,n.previousDisabled,n.selectedIndex)}),null)}function R(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),r["\u0275did"](1,540672,null,0,o.u,[r.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(e()(),r["\u0275and"](0,null,null,0))],(function(e,t){e(t,1,0,t.parent.context.$implicit.content)}),null)}function F(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,R)),r["\u0275did"](2,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](0,null,null,0))],(function(e,t){e(t,2,0,t.component.selectedIndex==t.context.index)}),null)}function L(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"ico-wiz-wizard-right-sidebar",[],null,
1null,null,$,X)),r["\u0275did"](1,114688,null,0,i.Ob,[],{template:[0,"template"]},null)],(function(e,t){var n=t.component;e(t,1,0,null==n.rightSidebar?null:n.rightSidebar.templateRef)}),null)}function U(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"ico-wiz-wizard-navigation",[],null,[[null,"back"],[null,"next"]],(function(e,t,n){var r=!0,i=e.component;return"back"===t&&(r=!1!==i.onBack()&&r),"next"===t&&(r=!1!==i.onNext()&&r),r}),ie,ee)),r["\u0275did"](1,114688,null,0,i.Nb,[],{selectedIndex:[0,"selectedIndex"],completedIndex:[1,"completedIndex"],stepCount:[2,"stepCount"],previousLabel:[3,"previousLabel"],nextLabel:[4,"nextLabel"],showPrevious:[5,"showPrevious"],showNext:[6,"showNext"],previousDisabled:[7,"previousDisabled"],nextDisabled:[8,"nextDisabled"]},{next:"next",back:"back"})],(function(e,t){var n=t.component;e(t,1,0,n.selectedIndex,n.completedIndex,n.stepCount,n.previousLabel,n.nextLabel,n.showPrevious,n.showNext,n.previousDisabled,n.nextDisabled)}),null)}function N(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,I)),r["\u0275did"](1,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,F)),r["\u0275did"](3,278528,null,0,o.m,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,L)),r["\u0275did"](5,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,U)),r["\u0275did"](7,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.showLeftSidebar),e(t,3,0,n.steps),e(t,5,0,n.showRightSidebar),e(t,7,0,n.showNavigation)}),null)}var j=r["\u0275crt"]({encapsulation:0,styles:[".sidebar[_ngcontent-%COMP%]{position:fixed;width:100%;left:-100%;top:80px;height:calc(100vh - 83px);background:var(--light);border-right:0;z-index:999999;transition:.3s linear;border-right:solid 1px var(--gray-light-300)}@media (min-width:768px){.sidebar[_ngcontent-%COMP%]{width:220px;position:static}}@media (min-width:992px){.sidebar[_ngcontent-%COMP%]{width:250px;height:100%}}@media (min-width:1440px){.sidebar[_ngcontent-%COMP%]{width:280px}}.sidebar-holder[_ngcontent-%COMP%]{height:100%}.sidebar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer}.sidebar-menu[_ngcontent-%COMP%]{padding:30px 20px 30px 30px}@media (min-width:992px){.sidebar-menu[_ngcontent-%COMP%]{padding:34px 20px 34px 30px}}.sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;margin:0;list-style:none}.sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;font-size:16px;line-height:18px;opacity:.5;color:var(--secondary);letter-spacing:.192px;padding:14px 0 14px 30px}.sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.completed[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.completed[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{background:url(/assets/images/sidebar_menu_link_completed_hp.svg) center left 2px no-repeat;opacity:1;font-family:var(--font-medium)}.sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.completed[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{display:block}.sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.current[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.current[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{background:url(/assets/images/sidebar_menu_link_border_hp.svg) center left 2px no-repeat;opacity:1;font-family:var(--font-medium)}.sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.current[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{display:block}.sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0 0 0 30px}.sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0}.sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.current[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.current[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{background:url(/assets/images/sidebar_menu_link_oval_hp.svg) center left 2px no-repeat}.sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.completed[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .sidebar-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.completed[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{background:url(/assets/images/sidebar_menu_link_completed_hp.svg) center left 2px no-repeat}"],data:{animation:[{type:7,name:"panelInOut",definitions:[{type:0,name:"in",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:":enter",animation:[{type:6,styles:{opacity:0}
1,offset:null},{type:4,styles:null,timings:600}],options:null},{type:1,expr:":leave",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:600},options:null}],options:{}}]}});function H(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,5,"li",[],null,null,null,null,null)),r["\u0275prd"](512,null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](2,278528,null,0,o.l,[o.B],{ngClass:[0,"ngClass"]},null),r["\u0275pod"](3,{completed:0,current:1}),(e()(),r["\u0275eld"](4,0,null,null,1,"a",[],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onChangeStep(e.context.index)&&r),r}),null,null)),(e()(),r["\u0275ted"](5,null,["",""]))],(function(e,t){var n=t.component,r=e(t,3,0,t.context.$implicit.completed&&t.context.index!==n.selectedIndex,t.context.index===n.selectedIndex);e(t,2,0,r)}),(function(e,t){e(t,5,0,t.context.$implicit.name)}))}function Q(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,3,"nav",[["class","sidebar-menu"]],null,null,null,null,null)),(e()(),r["\u0275eld"](2,0,null,null,2,"ul",[],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,H)),r["\u0275did"](4,278528,null,0,o.m,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,4,0,t.component.steps)}),null)}function V(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,5,"li",[],null,null,null,null,null)),r["\u0275prd"](512,null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](2,278528,null,0,o.l,[o.B],{ngClass:[0,"ngClass"]},null),r["\u0275pod"](3,{completed:0,current:1}),(e()(),r["\u0275eld"](4,0,null,null,1,"a",[],null,[[null,"click"]],(function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==i.onChangeStep(i.steps.indexOf(e.context.$implicit))&&r),r}),null,null)),(e()(),r["\u0275ted"](5,null,["",""]))],(function(e,t){var n=t.component,r=e(t,3,0,t.context.$implicit.completed&&!n.isStepSelected(t.context.$implicit),n.isStepSelected(t.context.$implicit));e(t,2,0,r)}),(function(e,t){e(t,5,0,t.context.$implicit.name)}))}function K(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,2,"ul",[],[[24,"@panelInOut",0]],null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,V)),r["\u0275did"](2,278528,null,0,o.m,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.parent.parent.context.$implicit.value)}),(function(e,t){e(t,0,0,void 0)}))}function W(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,1,"a",[],null,[[null,"click"]],(function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==i.onChangeStep(i.steps.indexOf(e.parent.context.$implicit.value[0]))&&r),r}),null,null)),(e()(),r["\u0275ted"](2,null,["",""])),(e()(),r["\u0275and"](16777216,null,null,1,null,K)),r["\u0275did"](4,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](0,null,null,0))],(function(e,t){e(t,4,0,t.component.isGroupSelected(t.parent.context.$implicit.value))}),(function(e,t){e(t,2,0,t.parent.context.$implicit.key)}))}function z(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"a",[],null,[[null,"click"]],(function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==i.onChangeStep(i.steps.indexOf(e.parent.context.$implicit.value[0]))&&r),r}),null,null)),(e()(),r["\u0275ted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.parent.context.$implicit.value[0].name)}))}function q(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,6,"li",[],null,null,null,null,null)),r["\u0275prd"](512,null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](2,278528,null,0,o.l,[o.B],{ngClass:[0,"ngClass"]},null),r["\u0275pod"](3,{completed:0,current:1}),(e()(),r["\u0275and"](16777216,null,null,1,null,W)),r["\u0275did"](5,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r["\u0275and"](0,[["singleTemplate",2]],null,0,null,z))],(function(e,t){var n=t.component,i=e(t,3,0,n.isGroupCompleted(t.context.$implicit.value)&&!n.isGroupSelected(t.context.$implicit.value),n.isGroupSelected(t.context.$implicit.value));e(t,2,0,i),e(t,5,0,n.isGroup(t.context.$implicit.value),r["\u0275nov"](t,6))}),null)}function Y(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,"nav",[["class","sidebar-menu"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,3,"ul",[],null,
1null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,2,null,q)),r["\u0275did"](3,278528,null,0,o.m,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),r["\u0275pid"](0,o.h,[r.KeyValueDiffers])],(function(e,t){var n=t.component;e(t,3,0,r["\u0275unv"](t,3,0,r["\u0275nov"](t,4).transform(n.groups,n.keepOriginalOrder)))}),null)}function G(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,5,"div",[["class","sidebar"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,4,"perfect-scrollbar",[["class","sidebar-holder"]],[[2,"ps-show-limits",null],[2,"ps-show-active",null]],null,null,d.b,d.a)),r["\u0275did"](2,507904,null,0,l.b,[r.NgZone,r.ChangeDetectorRef,r.PLATFORM_ID],null,null),(e()(),r["\u0275and"](16777216,null,0,1,null,Q)),r["\u0275did"](4,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r["\u0275and"](0,[["groupedTemplate",2]],0,0,null,Y))],(function(e,t){var n=t.component;e(t,2,0),e(t,4,0,!n.isGrouped,r["\u0275nov"](t,5))}),(function(e,t){e(t,1,0,r["\u0275nov"](t,2).autoPropagation,r["\u0275nov"](t,2).scrollIndicators)}))}var X=r["\u0275crt"]({encapsulation:2,styles:[".aside{display:none}@media (min-width:1200px){.aside{display:block;width:320px;height:100%;background:var(--light);border-left:solid 1px var(--gray-light-300)}}@media (min-width:1440px){.aside{width:400px}}.aside-holder{margin:0;padding:40px;height:100%}.aside-title{padding:0 0 30px;display:flex;justify-content:space-between}.aside-title h2{font-size:22px;line-height:24px;letter-spacing:.22px;color:var(--secondary);font-weight:400;font-family:var(--font-bold);margin:0}.aside-title i{font-size:22px;line-height:24px;color:var(--secondary);display:block;margin:0 0 0 10px}.application-info{font-size:16px;line-height:22px;color:var(--secondary)}.application-info h3{font-size:18px;line-height:20px;letter-spacing:.18px;color:var(--secondary);font-family:var(--font-medium);margin:0 0 18px}.application-info dl{margin:0;display:flex;flex-wrap:wrap}.application-info dl dd,.application-info dl dt{margin:0 0 15px}.application-info dl dt{flex-shrink:0;width:120px;font-weight:400;display:block;font-family:var(--font-medium);padding-right:3px}.application-info dl dd{width:calc(100% - 120px)}"],data:{}});function J(e){return r["\u0275vid"](0,[r["\u0275ncd"](null,0),(e()(),r["\u0275and"](0,null,null,0))],null,null)}function Z(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,17,"div",[["class","aside"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,16,"div",[["class","aside-holder"]],null,null,null,null,null)),(e()(),r["\u0275eld"](2,0,null,null,3,"div",[["class","aside-title"]],null,null,null,null,null)),(e()(),r["\u0275eld"](3,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Default Application"])),(e()(),r["\u0275eld"](5,0,null,null,0,"i",[["class","fas fa-arrows-alt"]],null,null,null,null,null)),(e()(),r["\u0275eld"](6,0,null,null,11,"div",[["class","application-info"]],null,null,null,null,null)),(e()(),r["\u0275eld"](7,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Default State"])),(e()(),r["\u0275eld"](9,0,null,null,8,"dl",[],null,null,null,null,null)),(e()(),r["\u0275eld"](10,0,null,null,1,"dt",[["class","applica-info-tit-hp"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Field one"])),(e()(),r["\u0275eld"](12,0,null,null,1,"dd",[["class","applica-info-text-hp"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Value one"])),(e()(),r["\u0275eld"](14,0,null,null,1,"dt",[["class","applica-info-tit-hp"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Field two"])),(e()(),r["\u0275eld"](16,0,null,null,1,"dd",[["class","applica-info-text-hp"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Value two"]))],null,null)}function $(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,J)),r["\u0275did"](1,540672,null,0,o.u,[r.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(e()(),r["\u0275and"](0,[["defaultTemplate",2]],null,0,null,Z))],(function(e,t){var n=t.component;e(t,1,0,n.template?n.template:r["\u0275nov"](t,2))}),null)}var ee=r["\u0275crt"]({encapsulation:0,styles:['#footer[_ngcontent-%COMP%]{position:relative;width:100%;border-top:solid 1px var(--gray-light-300);background:var(--white);padding:21px 15px 20px}@media (min-width:992px){#footer[_ngcontent-%COMP%]{height:123px;padding:31px 30px}}@media (min-width:1200px){#footer[_ngcontent-%COMP%]{padding:31px 50px}}.step-number[_ngcontent-%COMP%]{font-size:20px;letter-spacing:.26px;text-align:center;color:var(--secondary)}@media (min-width:768px){.step-number[_ngcontent-%COMP%]{display:block}}.step-number[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.step-number[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:var(--font-bold)}.progress[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:9;height:3px;background:var(--white)}.progress[_ngcontent-%COMP%]:after, .progress[_ngcontent-%COMP%]:before{content:"";width:20px;height:20px;border-radius:50%;background:var(--white);position:absolute;top:-5px;left:0;z-index:1;display:none}.progress[_ngcontent-%COMP%]:after{border:7px solid var(--secondary-200);left:auto;right:0}.progress-title[_ngcontent-%COMP%]{font-size:18px;font-weight:400;font-family:var(--font-bold);color:var(--quaternary_color);text-transform:uppercase;margin:0}
1.progress-bar[_ngcontent-%COMP%]{box-shadow:none;border:none;border-radius:15px;position:relative;-webkit-animation:1s animate-positive;animation:1s animate-positive;background:var(--blue-100)}.progress-value[_ngcontent-%COMP%]{width:52px;height:30px;line-height:30px;border-radius:5px;background:var(--blue-100);font-size:14px;font-family:var(--font-bold);position:absolute;top:12px;right:-26px;z-index:2}'],data:{}});function te(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","progress-value"]],null,null,null,null,null)),(e()(),r["\u0275ted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.progress)}))}function ne(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,5,"div",[["class","col-auto"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,4,"a",[["class","btn default-gborder-btn"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onBack()&&r),r}),null,null)),r["\u0275prd"](512,null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](3,278528,null,0,o.l,[o.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](4,{disabled:0}),(e()(),r["\u0275ted"](5,null,["",""]))],(function(e,t){var n=t.component,r=e(t,4,0,n.previousDisabled||n.isFirstStep());e(t,3,0,"btn default-gborder-btn",r)}),(function(e,t){e(t,5,0,t.component.previousLabel)}))}function re(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,5,"div",[["class","col-auto"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,4,"a",[["class","btn"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onNext()&&r),r}),null,null)),r["\u0275prd"](512,null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](3,278528,null,0,o.l,[o.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](4,{disabled:0}),(e()(),r["\u0275ted"](5,null,["",""]))],(function(e,t){var n=t.component,r=e(t,4,0,n.nextDisabled||n.isLastStep());e(t,3,0,"btn",r)}),(function(e,t){e(t,5,0,t.component.nextLabel)}))}function ie(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,16,"footer",[["id","footer"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,3,"div",[["class","progress"]],null,null,null,null,null)),(e()(),r["\u0275eld"](2,0,null,null,2,"div",[["class","progress-bar"]],[[4,"width",null]],null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,te)),r["\u0275did"](4,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275eld"](5,0,null,null,11,"div",[["class","container-fluid p-0"]],null,null,null,null,null)),(e()(),r["\u0275eld"](6,0,null,null,10,"div",[["class","row align-items-center justify-content-between"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,ne)),r["\u0275did"](8,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275eld"](9,0,null,null,5,"div",[["class","col d-flex justify-content-center"]],null,null,null,null,null)),(e()(),r["\u0275eld"](10,0,null,null,4,"div",[["class","step-number"]],null,null,null,null,null)),(e()(),r["\u0275eld"](11,0,null,null,3,"p",[],null,null,null,null,null)),(e()(),r["\u0275eld"](12,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["\u0275ted"](13,null,["",""])),(e()(),r["\u0275ted"](14,null,[" of ",""])),(e()(),r["\u0275and"](16777216,null,null,1,null,re)),r["\u0275did"](16,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,4,0,"100%"!=n.progress),e(t,8,0,n.showPrevious),e(t,16,0,n.showNext)}),(function(e,t){var n=t.component;e(t,2,0,n.progress),e(t,13,0,n.selectedIndex+1),e(t,14,0,n.stepCount)}))}var oe=r["\u0275crt"]({encapsulation:0,styles:[".modal-body-p-0[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{padding:0}
1.modal-footer[_ngcontent-%COMP%], .modal-header[_ngcontent-%COMP%]{border:none}.modal-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 0 0 10px}.modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{font-weight:400;color:var(--secondary);opacity:1;font-size:28px}@media (min-width:992px){.modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{font-size:38px}}.modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{font-family:var(--font-bold);letter-spacing:.31072px;color:var(--secondary);font-size:18px;line-height:24px}.modal-backdrop[_ngcontent-%COMP%]{background:var(--darked)}.modal-dialog[_ngcontent-%COMP%]{max-width:620px}.modal-content[_ngcontent-%COMP%]{background:var(--light);border:0;overflow:hidden;position:relative;border-radius:8px}@media (min-width:992px){.modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{font-size:28px;line-height:42px;padding-bottom:30px}.modal-content[_ngcontent-%COMP%]{border-radius:16px}}.modal.fade[_ngcontent-%COMP%]:not(.in).right .modal-dialog[_ngcontent-%COMP%]{transform:translate3d(25%,0,0)}.full-screen[_ngcontent-%COMP%]{height:100%;max-width:none;margin:.5rem}@media (min-width:768px){.full-screen[_ngcontent-%COMP%]{width:98%;margin:0 1%}}.full-screen[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{height:98%}"],data:{}});function ae(e){return r["\u0275vid"](0,[r["\u0275ncd"](null,0),(e()(),r["\u0275and"](0,null,null,0))],null,null)}function se(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,0,"div",[["class","modal-title"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,2,"button",[["aria-label","Close"],["class","close"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.close()&&r),r}),null,null)),(e()(),r["\u0275eld"](2,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\xd7"]))],null,(function(e,t){e(t,0,0,t.component.title)}))}function le(e){return r["\u0275vid"](0,[r["\u0275ncd"](null,1),(e()(),r["\u0275and"](0,null,null,0))],null,null)}function ue(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(e,t){e(t,0,0,t.component.description)}))}function ce(e){return r["\u0275vid"](0,[r["\u0275ncd"](null,2),(e()(),r["\u0275and"](0,null,null,0))],null,null)}function he(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"a",[["class","btn default-dgray-btn"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onReject()&&r),r}),null,null)),(e()(),r["\u0275ted"](-1,null,["Cancel"])),(e()(),r["\u0275eld"](2,0,null,null,1,"a",[["class","btn"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onAccept()&&r),r}),null,null)),(e()(),r["\u0275ted"](-1,null,["OK"]))],null,null)}function de(e){return r["\u0275vid"](0,[r["\u0275qud"](671088640,1,{modal:0}),(e()(),r["\u0275eld"](1,16777216,null,null,17,"div",[["aria-hidden","true"],["bsModal",""],["class","modal fade"],["role","dialog"],["tabindex","-1"]],null,[[null,"mousedown"],[null,"mouseup"],[null,"keydown.esc"]],(function(e,t,n){var i=!0;return"mousedown"===t&&(i=!1!==r["\u0275nov"](e,2).onClickStarted(n)&&i),"mouseup"===t&&(i=!1!==r["\u0275nov"](e,2).onClickStop(n)&&i),"keydown.esc"===t&&(i=!1!==r["\u0275nov"](e,2).onEsc(n)&&i),i}),null,null)),r["\u0275did"](2,212992,[[1,4],["modal",4]],0,u.e,[r.ElementRef,r.ViewContainerRef,r.Renderer2,s.a],null,null),(e()(),r["\u0275eld"](3,0,null,null,15,"div",[["class","modal-dialog modal-dialog-centered"],["role","document"]],null,null,null,null,null)),r["\u0275prd"](512,null,o.B,o.C,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2]),r["\u0275did"](5,278528,null,0,o.l,[o.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),r["\u0275eld"](6,0,null,null,12,"div",[["class","modal-content"]],null,null,null,null,null)),(e()(),r["\u0275eld"](7,0,null,null,3,"div",[["class","modal-header"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,ae)),r["\u0275did"](9,540672,null,0,o.u,[r.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(e()(),r["\u0275and"](0,[["defaultHeaderTemplate",2]],null,0,null,se)),(e()(),r["\u0275eld"](11,
10,null,null,3,"div",[["class","modal-body"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,le)),r["\u0275did"](13,540672,null,0,o.u,[r.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(e()(),r["\u0275and"](0,[["defaultBodyTemplate",2]],null,0,null,ue)),(e()(),r["\u0275eld"](15,0,null,null,3,"div",[["class","modal-footer"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,ce)),r["\u0275did"](17,540672,null,0,o.u,[r.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(e()(),r["\u0275and"](0,[["defaultFooterTemplate",2]],null,0,null,he))],(function(e,t){var n=t.component;e(t,2,0),e(t,5,0,"modal-dialog modal-dialog-centered",n.styleClass),e(t,9,0,n.headerTemplate?n.headerTemplate.templateRef:r["\u0275nov"](t,10)),e(t,13,0,n.bodyTemplate?n.bodyTemplate.templateRef:r["\u0275nov"](t,14)),e(t,17,0,n.footerTemplate?n.footerTemplate.templateRef:r["\u0275nov"](t,18))}),null)}var fe=r["\u0275crt"]({encapsulation:0,styles:[".form-error-text[_ngcontent-%COMP%]{font-size:11px;line-height:12px;letter-spacing:.08px;bottom:-14px;color:var(--pink);padding:3px 0 0;position:absolute;left:10px;max-width:100%}@media (min-width:992px){.form-error-text[_ngcontent-%COMP%]{font-size:13px;line-height:14px;bottom:-18px;letter-spacing:.169px}}"],data:{}});function pe(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["This field is required"]))],null,null)}function ge(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["This field is required"]))],null,null)}function _e(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](1,null,["Minimum length is ",""]))],null,(function(e,t){e(t,1,0,t.component.errors.minlength.requiredLength)}))}function Ae(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](1,null,["Maximum length is ",""]))],null,(function(e,t){e(t,1,0,t.component.errors.maxlength.requiredLength)}))}function ve(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](1,null,["Minimum value is ",""]))],null,(function(e,t){e(t,1,0,t.component.errors.min.min)}))}function me(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](1,null,["Maximum value is ",""]))],null,(function(e,t){e(t,1,0,t.component.errors.max.max)}))}function ye(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Invalid format"]))],null,null)}function be(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Invalid email format"]))],null,null)}function Ce(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Invalid credit card number"]))],null,null)}function we(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Invalid credit card expiration"]))],null,null)}function ke(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Invalid credit card CVN"]))],null,null)}function Ee(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","form-error-text"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Invalid date format"]))],null,null)}function Se(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,24,null,null,null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,pe)),r["\u0275did"](2,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,ge)),r["\u0275did"](4,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,_e)),r["\u0275did"](6,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,Ae)),r["\u0275did"](8,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,ve)),r["\u0275did"](10,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,me)),r["\u0275did"](12,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,ye)),r["\u0275did"](14,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,be)),r["\u0275did"](16,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,Ce)),r["\u0275did"](18,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,we)),r["\u0275did"](20,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,ke)),r["\u0275did"](22,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,Ee)),r["\u0275did"](24,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]}
1,null),(e()(),r["\u0275and"](0,null,null,0))],(function(e,t){var n=t.component;e(t,2,0,"required"===n.error),e(t,4,0,"requiredTrue"===n.error),e(t,6,0,"minlength"===n.error),e(t,8,0,"maxlength"===n.error),e(t,10,0,"min"===n.error),e(t,12,0,"max"===n.error),e(t,14,0,"pattern"===n.error),e(t,16,0,"email"===n.error),e(t,18,0,"creditCardNumber"===n.error),e(t,20,0,"creditCardExpiration"===n.error),e(t,22,0,"creditCardCvn"===n.error),e(t,24,0,"date"===n.error)}),null)}function Oe(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,Se)),r["\u0275did"](1,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,1,0,t.component.hasErrors)}),null)}var xe=r["\u0275crt"]({encapsulation:0,styles:[""],data:{}});function Pe(e){return r["\u0275vid"](0,[r["\u0275ncd"](null,0),(e()(),r["\u0275and"](0,null,null,0))],null,null)}function Te(e){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{content:0}),(e()(),r["\u0275and"](0,[[1,2]],null,0,null,Pe))],null,null)}},PqYM:function(e,t,n){"use strict";var r=n("HDdC"),i=n("D0XW"),o=n("DH7j");function a(e){return!Object(o.a)(e)&&e-parseFloat(e)+1>=0}var s=n("z+Ro");function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=-1;return a(t)?o=Number(t)<1?1:Number(t):Object(s.a)(t)&&(n=t),Object(s.a)(n)||(n=i.a),new r.a((function(t){var r=a(e)?e:+e-n.now();return n.schedule(u,r,{index:0,period:o,subscriber:t})}))}function u(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}n.d(t,"a",(function(){return l}))},"Q2+6":function(e,t,n){"use strict";n.d(t,"a",(function(){return ae})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return ne})),n.d(t,"d",(function(){return te})),n.d(t,"e",(function(){return oe})),n.d(t,"f",(function(){return re}));var r=n("8Y7J"),i=n("DQLy"),o=n("pLZG"),a=n("IzEk"),s=n("bOdf"),l=n("JIr8"),u=n("lJxs"),c=n("eIep"),h=n("3Rfw"),d=n("SVse"),f=n("Cfvw"),p=n("LRne"),g=n("VRyK"),_=n("EY2u"),A=n("Yml6"),v=new r.InjectionToken("OIDC_CONFIG"),m=function(e){return e.ClientConfigued="[Oidc] client configured",e.ClientConfigError="[Oidc] client configuration error",e.GetOidcUser="[Oidc] get oidc user",e.RemoveOidcUser="[Oidc] remove oidc user",e.UserExpired="[Oidc] user expired",e.UserFound="[Oidc] user found",e.UserLoading="[Oidc] user loading",e.UserDoneLoading="[Oidc] user done loading",e.UserLoadingError="[Oidc] user loading error",e.OnAccessTokenExpired="[Oidc] on access token expired",e.OnAccessTokenExpiring="[Oidc] user expiring",e.OnSilentRenewError="[Oidc] on silent renew error",e.OnUserLoaded="[Oidc] on user loaded",e.OnUserUnloaded="[Oidc] on user unloaded",e.OnUserSignedOut="[Oidc] on user signed out",e.OnSessionChanged="[Oidc] session changed",e.SignInPopup="[Oidc] sign in popup",e.SignInRedirect="[Oidc] sign in redirect",e.SignInSilent="[Oidc] sign in silent",e.SignInError="[Oidc] sign in popup error",e.SignOutPopup="[Oidc] sign out popup",e.SignOutRedirect="[Oidc] sign out redirect",e.SignOutError="[Oidc] sign out popup error",e.OidcError="[Oidc] error",e}({}),y=Object(i.w)(m.ClientConfigued),b=Object(i.w)(m.ClientConfigError,Object(i.C)()),C=Object(i.w)(m.GetOidcUser,Object(i.C)()),w=Object(i.w)(m.RemoveOidcUser),k=Object(i.w)(m.UserExpired),E=Object(i.w)(m.UserFound,Object(i.C)()),S=Object(i.w)(m.OnSessionChanged),O=Object(i.w)(m.OnAccessTokenExpired),x=Object(i.w)(m.OnAccessTokenExpiring),P=Object(i.w)(m.UserLoading),T=Object(i.w)(m.UserDoneLoading),B=Object(i.w)(m.OnUserLoaded,Object(i.C)()),D=Object(i.w)(m.OnUserUnloaded),M=Object(i.w)(m.OnUserSignedOut),I=Object(i.w)(m.OnSilentRenewError,Object(i.C)()),R=Object(i.w)(m.SignInPopup,Object(i.C)()),F=Object(i.w)(m.SignInRedirect,Object(i.C)()),L=Object(i.w)(m.SignOutPopup,Object(i.C)()),U=Object(i.w)(m.SignOutRedirect,Object(i.C)()),N=Object(i.w)(m.SignInSilent,Object(i.C)()),j=Object(i.w)(m.SignInError,Object(i.C)()),H=Object(i.w)(m.SignOutError,Object(i.C)()),Q=function(e){return e.AccessTokenExpired="addAccessTokenExpired",e.AccessTokenExpiring="addAccessTokenExpiring",e.SilentRenewError="AddSilentRenewError",e.UserLoaded="addUserLoaded",e.UserUnloaded="addUserUnloaded",e.UserSignedOut="addUserSignedOut",e.UserSessionChanged="addUserSessionChanged",e}({}),V=function(e){return e.PopupCallback="ngoidc:isPopupCallback",e}({});function K(e){return null!=e?{id_token:e.id_token,session_state:e.session_state,access_token:e.access_token,refresh_token:e.refresh_token,token_type:e.token_type,scope:e.scope,profile:e.profile,expires_at:e.expires_at,state:e.state}:null}var W,z=Object(i.x)("oidc"),q=Object(i.A)(z,(function(e){return e.configured})),Y=Object(i.A)(z,(function(e){return e.loading})),G=Object(i.A)(z,(function(e){return null!=(t=e.identity)?new h.User(t):null;var t})),X=Object(i.A)(z,(function(e){return e.expiring})),J=Object(i.A)(G,(function(e){return null!=e&&e.expired})),Z=Object(i.A)(G,(function(e){return null!=e&&!0!==e.expired})),$=Object(i.A)(z,(function(e){return e.errors})),ee=Object(i.A)($,(function(e){return e.configrationError})),te=function(){var e=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.platformId=t,this._oidcUserManager=new h.UserManager({}),this._oidcClient=new h.OidcClient({}),this._useCallbackFlag=!0}
1),[{key:"configureClient",value:function(e){var t,n=(e||{}).oidc_config,r=void 0===n?{}:n;null!=r.userStore&&(r.userStore instanceof h.WebStorageStateStore?t=r.userStore:"function"==typeof r.userStore&&(t=r.userStore()));var i=Object.assign(Object.assign({},r),{userStore:t}),o=e||{},a=o.log,s=void 0===a?null:a,l=o.useCallbackFlag,u=void 0===l||l;this._useCallbackFlag=null==u||u,null!=s&&(h.Log.level=s.level,h.Log.logger=s.logger),this._oidcUserManager=new h.UserManager(i),this._oidcClient=new h.OidcClient(i)}},{key:"getUserManager",value:function(){return this._oidcUserManager}},{key:"getOidcClient",value:function(){return this._oidcClient}},{key:"getOidcUser",value:function(){return Object(f.a)(this._oidcUserManager.getUser())}},{key:"removeOidcUser",value:function(){return Object(f.a)(this._oidcUserManager.removeUser())}},{key:"registerOidcEvent",value:function(e,t){switch(e){case Q.AccessTokenExpired:this._oidcUserManager.events.addAccessTokenExpired(t);break;case Q.AccessTokenExpiring:this._oidcUserManager.events.addAccessTokenExpiring(t);break;case Q.SilentRenewError:this._oidcUserManager.events.addSilentRenewError(t);break;case Q.UserLoaded:this._oidcUserManager.events.addUserLoaded(t);break;case Q.UserSessionChanged:this._oidcUserManager.events.addUserSessionChanged(t);break;case Q.UserSignedOut:this._oidcUserManager.events.addUserSignedOut(t);break;case Q.UserUnloaded:this._oidcUserManager.events.addUserUnloaded(t)}}},{key:"removeOidcEvent",value:function(e,t){switch(e){case Q.AccessTokenExpired:this._oidcUserManager.events.removeAccessTokenExpired(t);break;case Q.AccessTokenExpiring:this._oidcUserManager.events.removeAccessTokenExpiring(t);break;case Q.SilentRenewError:this._oidcUserManager.events.removeSilentRenewError(t);break;case Q.UserLoaded:this._oidcUserManager.events.removeUserLoaded(t);break;case Q.UserSessionChanged:this._oidcUserManager.events.removeUserSessionChanged(t);break;case Q.UserSignedOut:this._oidcUserManager.events.removeUserSignedOut(t);break;case Q.UserUnloaded:this._oidcUserManager.events.removeUserUnloaded(t)}}},{key:"signInPopup",value:function(e){return this.setCallbackInformation(!0),Object(f.a)(this._oidcUserManager.signinPopup(Object.assign({},e)))}},{key:"signInRedirect",value:function(e){return this.setCallbackInformation(!1),Object(f.a)(this._oidcUserManager.signinRedirect(Object.assign({},e)))}},{key:"signOutPopup",value:function(e){return this.setCallbackInformation(!0),Object(f.a)(this._oidcUserManager.signoutPopup(Object.assign({},e)))}},{key:"signOutRedirect",value:function(e){return this.setCallbackInformation(!1),Object(f.a)(this._oidcUserManager.signoutRedirect(Object.assign({},e)))}},{key:"signInSilent",value:function(e){return Object(f.a)(this._oidcUserManager.signinSilent(Object.assign({},e)))}},{key:"signinPopupCallback",value:function(){return Object(f.a)(this._oidcUserManager.signinPopupCallback())}},{key:"signinRedirectCallback",value:function(){return Object(f.a)(this._oidcUserManager.signinRedirectCallback())}},{key:"signoutPopupCallback",value:function(){return Object(f.a)(this._oidcUserManager.signoutPopupCallback())}},{key:"signoutRedirectCallback",value:function(){return Object(f.a)(this._oidcUserManager.signoutRedirectCallback())}},{key:"getSigninUrl",value:function(e){return Object(f.a)(this._oidcUserManager.createSigninRequest(e))}},{key:"getSignoutUrl",value:function(e){return Object(f.a)(this._oidcUserManager.createSignoutRequest(e))}},{key:"setCallbackInformation",value:function(e){Object(d.z)(this.platformId)&&this._useCallbackFlag&&localStorage.setItem(V.PopupCallback,""+e)}}])}();return e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(r.PLATFORM_ID))},token:e,providedIn:"root"}),e}(),ne=function(){var e=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.config=t,this.store=n,this.oidcService=r,this.configured$=this.store.select(q),this.configurationError$=this.store.select(ee),this.loading$=this.store.select(Y),this.identity$=this.store.select(G),this.expiring$=this.store.select(X),this.expired$=this.store.select(J),this.loggedIn$=this.store.select(Z),this.errors$=this.store.select($),this.addUserUnLoaded=(function(){this.store.dispatch(D())}).bind(this),this.accessTokenExpired=(function(e){this.store.dispatch(O())}).bind(this),this.accessTokenExpiring=(function(){this.store.dispatch(x())}).bind(this),this.addSilentRenewError=(function(e){this.store.dispatch(I(e))}).bind(this),this.addUserLoaded=(function(e){this.store.dispatch(B({payload:K(e)}))}).bind(this),this.addUserSignedOut=(function(){this.oidcService.removeOidcUser(),this.store.dispatch(M())}).bind(this),this.addUserSessionChanged=function(e){this.store.dispatch(S())},null!=t&&this.configureOidcClient(t)}
1),[{key:"configureOidcClient",value:function(e){try{this.oidcService.configureClient(e),this.registerDefaultEvents(),this.store.dispatch(y())}catch(t){this.store.dispatch(b({payload:t.toString()}))}}},{key:"getOidcUser",value:function(e){this.store.dispatch(C({payload:e}))}},{key:"removeOidcUser",value:function(){this.store.dispatch(w())}},{key:"getUserManager",value:function(){return this.oidcService.getUserManager()}},{key:"getOidcClient",value:function(){return this.oidcService.getOidcClient()}},{key:"getSigninUrl",value:function(e){return this.oidcService.getSigninUrl(e)}},{key:"getSignoutUrl",value:function(e){return this.oidcService.getSignoutUrl(e)}},{key:"waitForAuthenticationLoaded",value:function(){return this.loading$.pipe(Object(o.a)((function(e){return!1===e})),Object(a.a)(1))}},{key:"signinSilent",value:function(e){this.store.dispatch(N({payload:e}))}},{key:"signinPopup",value:function(e){this.store.dispatch(R({payload:e}))}},{key:"signinRedirect",value:function(e){this.store.dispatch(F({payload:e}))}},{key:"signoutRedirect",value:function(e){this.store.dispatch(U({payload:e}))}},{key:"signoutPopup",value:function(e){this.store.dispatch(L({payload:e}))}},{key:"registerDefaultEvents",value:function(){this.oidcService.registerOidcEvent(Q.AccessTokenExpired,this.accessTokenExpired),this.oidcService.registerOidcEvent(Q.AccessTokenExpiring,this.accessTokenExpiring),this.oidcService.registerOidcEvent(Q.SilentRenewError,this.addSilentRenewError),this.oidcService.registerOidcEvent(Q.UserLoaded,this.addUserLoaded),this.oidcService.registerOidcEvent(Q.UserUnloaded,this.addUserUnLoaded),this.oidcService.registerOidcEvent(Q.UserSignedOut,this.addUserSignedOut),this.oidcService.registerOidcEvent(Q.UserSessionChanged,this.addUserSessionChanged)}}])}();return e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(v,8),Object(r["\u0275\u0275inject"])(i.o),Object(r["\u0275\u0275inject"])(te))},token:e,providedIn:"root"}),e}(),re=function(){var e=_createClass2((function e(t,n){var r=this;_classCallCheck2(this,e),this.actions$=t,this.oidcService=n,this.getOicdUser$=Object(A.h)((function(){return r.actions$.pipe(Object(A.j)(C),Object(s.a)((function(e){var t=e.payload;return r.oidcService.getOidcUser().pipe(Object(s.a)((function(e){var n=[Object(p.a)(E({payload:K(e)}))];return null!=e&&!0===e.expired&&n.push(Object(p.a)(N({payload:t}))),Object(g.a).apply(void 0,n)})),Object(l.a)((function(){return Object(p.a)(T())})))})))})),this.userFound$=Object(A.h)((function(){return r.actions$.pipe(Object(A.j)(E),Object(u.a)((function(){return T()})))})),this.onUserLoaded$=Object(A.h)((function(){return r.actions$.pipe(Object(A.j)(B),Object(u.a)((function(e){var t=e.payload;return E({payload:t})})))})),this.signInPopup$=Object(A.h)((function(){return r.actions$.pipe(Object(A.j)(R),Object(s.a)((function(e){var t=e.payload;return r.oidcService.signInPopup(t).pipe(Object(u.a)((function(e){return E({payload:K(e)})})),Object(l.a)((function(e){return Object(p.a)(j({payload:e.message}))})))})))})),this.signInRedirect$=Object(A.h)((function(){return r.actions$.pipe(Object(A.j)(F),Object(s.a)((function(e){var t=e.payload;return r.oidcService.signInRedirect(t).pipe(Object(s.a)((function(){return _.a})),Object(l.a)((function(e){return Object(p.a)(j({payload:e.message}))})))})))})),this.signInSilent$=Object(A.h)((function(){return r.actions$.pipe(Object(A.j)(N),Object(c.a)((function(e){var t=e.payload;return r.oidcService.signInSilent(t).pipe(Object(u.a)((function(e){return E({payload:K(e)})})),Object(l.a)((function(e){return Object(p.a)(I({payload:e.message}),T())})))})))})),this.signOutPopup$=Object(A.h)((function(){return r.actions$.pipe(Object(A.j)(L),Object(c.a)((function(e){var t=e.payload;return r.oidcService.signOutPopup(t).pipe(Object(s.a)((function(){return _.a})),Object(l.a)((function(e){return Object(p.a)(H({payload:e.message}))})))})))})),this.signOutRedirect$=Object(A.h)((function(){return r.actions$.pipe(Object(A.j)(U),Object(c.a)((function(e){var t=e.payload;return r.oidcService.signOutRedirect(t).pipe(Object(s.a)((function(){return _.a})),Object(l.a)((function(e){return Object(p.a)(H({payload:e.message}))})))})))}))}));return e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(A.a),Object(r["\u0275\u0275inject"])(te))},token:e,providedIn:"root"}),e}(),ie=Object(i.y)({configured:!1,identity:null,expiring:!1,loading:!0,errors:{silentRenewError:null,signInError:null,configrationError:null}},Object(i.B)(y,(function(e){return Object.assign(Object.assign({},e),{configured:!0})})),Object(i.B)(C,(function(e){return Object.assign(Object.assign({},e),{loading:!0})}
1)),Object(i.B)(w,(function(e){return Object.assign(Object.assign({},e),{loading:!0})})),Object(i.B)(B,(function(e){return Object.assign(Object.assign({},e),{loading:!1,expiring:!1})})),Object(i.B)(D,(function(e){return Object.assign(Object.assign({},e),{identity:null,expiring:!1})})),Object(i.B)(E,(function(e,t){var n=t.payload;return Object.assign(Object.assign({},e),{identity:n,loading:!1})})),Object(i.B)(P,(function(e){return Object.assign(Object.assign({},e),{loading:!0})})),Object(i.B)(T,(function(e){return Object.assign(Object.assign({},e),{loading:!1})})),Object(i.B)(x,(function(e){return Object.assign(Object.assign({},e),{expiring:!0})})),Object(i.B)(k,(function(e){return Object.assign(Object.assign({},e),{expiring:!1})})),Object(i.B)(b,(function(e,t){var n=t.payload;return Object.assign(Object.assign({},e),{errors:Object.assign(Object.assign({},e.errors),{configrationError:n})})})),Object(i.B)(I,(function(e,t){var n=t.payload;return Object.assign(Object.assign({},e),{errors:Object.assign(Object.assign({},e.errors),{silentRenewError:n})})})),Object(i.B)(j,(function(e,t){var n=t.payload;return Object.assign(Object.assign({},e),{errors:Object.assign(Object.assign({},e.errors),{signInError:n})})})));function oe(e,t){return ie(e,t)}var ae=W=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),null,[{key:"forRoot",value:function(e){return{ngModule:W,providers:[{provide:v,useValue:e},ne,te]}}}])}()},Q4Nv:function Q4Nv(module,exports,__webpack_require__){var factory;factory=function factory(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLinkAttributes",{enumerable:!0,get:function(){return r.addLinkAttributes}}),Object.defineProperty(t,"getFilenameFromUrl",{enumerable:!0,get:function(){return r.getFilenameFromUrl}}),Object.defineProperty(t,"LinkTarget",{enumerable:!0,get:function(){return r.LinkTarget}}),Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return r.loadScript}}),Object.defineProperty(t,"PDFDateString",{enumerable:!0,get:function(){return r.PDFDateString}}),Object.defineProperty(t,"RenderingCancelledException",{enumerable:!0,get:function(){return r.RenderingCancelledException}}),Object.defineProperty(t,"build",{enumerable:!0,get:function(){return i.build}}),Object.defineProperty(t,"getDocument",{enumerable:!0,get:function(){return i.getDocument}}),Object.defineProperty(t,"LoopbackPort",{enumerable:!0,get:function(){return i.LoopbackPort}}),Object.defineProperty(t,"PDFDataRangeTransport",{enumerable:!0,get:function(){return i.PDFDataRangeTransport}}),Object.defineProperty(t,"PDFWorker",{enumerable:!0,get:function(){return i.PDFWorker}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return i.version}}),Object.defineProperty(t,"CMapCompressionType",{enumerable:!0,get:function(){return o.CMapCompressionType}}),Object.defineProperty(t,"createObjectURL",{enumerable:!0,get:function(){return o.createObjectURL}}),Object.defineProperty(t,"createPromiseCapability",{enumerable:!0,get:function(){return o.createPromiseCapability}}),Object.defineProperty(t,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return o.createValidAbsoluteUrl}}),Object.defineProperty(t,"InvalidPDFException",{enumerable:!0,get:function(){return o.InvalidPDFException}}),Object.defineProperty(t,"MissingPDFException",{enumerable:!0,get:function(){return o.MissingPDFException}}),Object.defineProperty(t,"OPS",{enumerable:!0,get:function(){return o.OPS}}),Object.defineProperty(t,"PasswordResponses",{enumerable:!0,get:function(){return o.PasswordResponses}}),Object.defineProperty(t,"PermissionFlag",{enumerable:!0,get:function(){return o.PermissionFlag}}),Object.defineProperty(t,"removeNullCharacters",{enumerable:!0,get:function(){return o.removeNullCharacters}}),Object.defineProperty(t,"shadow",{enumerable:!0,get:function(){return o.shadow}}),Object.defineProperty(t,"UnexpectedResponseException",{enumerable:!0,get:function(){return o.UnexpectedResponseException}}),Object.defineProperty(t,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return o.UNSUPPORTED_FEATURES}}),Object.defineProperty(t,"Util",{enumerable:!0,get:function(){return o.Util}}),Object.defineProperty(t,"VerbosityLevel",{enumerable:!0,get:function(){return o.VerbosityLevel}}
1),Object.defineProperty(t,"AnnotationLayer",{enumerable:!0,get:function(){return a.AnnotationLayer}}),Object.defineProperty(t,"apiCompatibilityParams",{enumerable:!0,get:function(){return s.apiCompatibilityParams}}),Object.defineProperty(t,"GlobalWorkerOptions",{enumerable:!0,get:function(){return l.GlobalWorkerOptions}}),Object.defineProperty(t,"renderTextLayer",{enumerable:!0,get:function(){return u.renderTextLayer}}),Object.defineProperty(t,"SVGGraphics",{enumerable:!0,get:function(){return c.SVGGraphics}});var r=n(1),i=n(198),o=n(5),a=n(209),s=n(200),l=n(203),u=n(210),c=n(211);if(n(7).isNodeJS){var h=n(212).PDFNodeStream;(0,i.setPDFNetworkStreamFactory)((function(e){return new h(e)}))}else{var d,f=n(215).PDFNetworkStream;(0,r.isFetchSupported)()&&(d=n(216).PDFFetchStream),(0,i.setPDFNetworkStreamFactory)((function(e){return d&&(0,r.isValidFetchUrl)(e.url)?new d(e):new f(e)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLinkAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.url,r=t.target,i=t.rel,a=t.enabled,s=void 0===a||a;(0,o.assert)(n&&"string"==typeof n,'addLinkAttributes: A valid "url" parameter must provided.');var l=(0,o.removeNullCharacters)(n);s?e.href=e.title=l:(e.href="",e.title="Disabled: ".concat(l),e.onclick=function(){return!1});var u="";switch(r){case m.NONE:break;case m.SELF:u="_self";break;case m.BLANK:u="_blank";break;case m.PARENT:u="_parent";break;case m.TOP:u="_top"}e.target=u,e.rel="string"==typeof i?i:"noopener noreferrer nofollow"},t.getFilenameFromUrl=function(e){var t=e.indexOf("#"),n=e.indexOf("?"),r=Math.min(t>0?t:e.length,n>0?n:e.length);return e.substring(e.lastIndexOf("/",r)+1,r)},t.isFetchSupported=y,t.isValidFetchUrl=b,t.loadScript=function(e){return new Promise((function(t,n){var r=document.createElement("script");r.src=e,r.onload=t,r.onerror=function(){n(new Error("Cannot load script at: ".concat(r.src)))},(document.head||document.documentElement).appendChild(r)}))},t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.PDFDateString=t.StatTimer=t.DOMSVGFactory=t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.LinkTarget=t.RenderingCancelledException=t.PageViewport=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(e,void 0);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)?s(e,void 0):void 0}}(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,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function s(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 l(e){return(l="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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)}))}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(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 _(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}t.DEFAULT_LINK_REL="noopener noreferrer nofollow";var A="http://www.w3.org/2000/svg";t.DOMCanvasFactory=function(){function e(){p(this,e)}return _(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");var n=document.createElement("canvas"),r=n.getContext("2d");return n.width=e,n.height=t,{canvas:n,context:r}}},{key:"reset",value:function(e,t,n){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||n<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=n}},{key:"destroy",value:function(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}}]),e}(),t.DOMCMapReaderFactory=function(){function e(t){var n=t.baseUrl,r=void 0===n?null:n,i=t.isCompressed,o=void 0!==i&&i;p(this,e),this.baseUrl=r,this.isCompressed=o}return _(e,[{key:"fetch",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((t=f(i.default.mark((function e(t){var n,r,a,s=this;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.name,this.baseUrl){e.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(n){e.next=5;break}throw new Error("CMap name must be specified.");case 5:if(r=this.baseUrl+n+(this.isCompressed?".bcmap":""),a=this.isCompressed?o.CMapCompressionType.BINARY:o.CMapCompressionType.NONE,!y()||!b(r,document.baseURI)){e.next=9;break}return e.abrupt("return",fetch(r).then(function(){var e=f(i.default.mark((function e(t){var n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.ok){e.next=2;break}throw new Error(t.statusText);case 2:if(!s.isCompressed){e.next=10;break}return e.t0=Uint8Array,e.next=6,t.arrayBuffer();case 6:e.t1=e.sent,n=new e.t0(e.t1),e.next=15;break;case 10:return e.t2=o.stringToBytes,e.next=13,t.text();case 13:e.t3=e.sent,n=(0,e.t2)(e.t3);case 15:return e.abrupt("return",{cMapData:n,compressionType:a});case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"")+"CMap at: ".concat(r))})));case 9:return e.abrupt("return",new Promise((function(e,t){var n=new XMLHttpRequest;n.open("GET",r,!0),s.isCompressed&&(n.responseType="arraybuffer"),n.onreadystatechange=function(){if(n.readyState===XMLHttpRequest.DONE){var r;if((200===n.status||0===n.status)&&(s.isCompressed&&n.response?r=new Uint8Array(n.response):!s.isCompressed&&n.responseText&&(r=(0,o.stringToBytes)(n.responseText)),r))return void e({cMapData:r,compressionType:a});t(new Error(n.statusText))}},n.send(null)})).catch((function(e){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"")+"CMap at: ".concat(r))})));case 10:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)}))}]),e;var t}(),t.DOMSVGFactory=function(){function e(){p(this,e)}return _(e,[{key:"create",value:function(e,t){(0,o.assert)(e>0&&t>0,"Invalid SVG dimensions");var n=document.createElementNS(A,"svg:svg");return n.setAttribute("version","1.1"),n.setAttribute("width",e+"px"),n.setAttribute("height",t+"px"),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox","0 0 "+e+" "+t),n}},{key:"createElement",value:function(e){return(0,o.assert)("string"==typeof e,"Invalid SVG element type"),document.createElementNS(A,e)}}]),e}(),t.PageViewport=function(){function e(t){var n=t.viewBox,r=t.scale,i=t.rotation,o=t.offsetX,a=void 0===o?0:o,s=t.offsetY,l=void 0===s?0:s,u=t.dontFlip,c=void 0!==u&&u;p(this,e),this.viewBox=n,this.scale=r,this.rotation=i,this.offsetX=a,this.offsetY=l;var h,d,f,g,_,A,v,m,y=(n[2]+n[0])/2,b=(n[3]+n[1])/2;switch(i=(i%=360)<0?i+360:i){case 180:h=-1,d=0,f=0,g=1;break;case 90:h=0,d=1,f=1,g=0;break;case 270:h=0,d=-1,f=-1,g=0;break;case 0:h=1,d=0,f=0,g=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}c&&(f=-f,g=-g),0===h?(_=Math.abs(b-n[1])*r+a,A=Math.abs(y-n[0])*r+l,v=Math.abs(n[3]-n[1])*r,m=Math.abs(n[2]-n[0])*r):(_=Math.abs(y-n[0])*r+a,A=Math.abs(b-n[1])*r+l,v=Math.abs(n[2]-n[0])*r,m=Math.abs(n[3]-n[1])*r),this.transform=[h*r,d*r,f*r,g*r,_-h*r*y-f*r*b,A-d*r*y-g*r*b],this.width=v,this.height=m}return _(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.scale,r=void 0===n?this.scale:n,i=t.rotation,o=void 0===i?this.rotation:i,a=t.offsetX,s=void 0===a?this.offsetX:a,l=t.offsetY,u=void 0===l?this.offsetY:l,c=t.dontFlip,h=void 0!==c&&c;return new e({viewBox:this.viewBox.slice(),scale:r,rotation:o,offsetX:s,offsetY:u,dontFlip:h})}},{key:"convertToViewportPoint",value:function(e,t){return o.Util.applyTransform([e,t],this.transform)}},{key:"convertToViewportRectangle",value:function(e){var t=o.Util.applyTransform([e[0],e[1]],this.transform),n=o.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],n[0],n[1]]}},{key:"convertToPdfPoint",value:function(e,t){return o.Util.applyInverseTransform([e,t],this.transform)}}]),e}(),t.RenderingCancelledException=function(e){!function(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&&u(e,t)}(i,e);var t,n,r=(t=i,n=function(){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(){var e,r=h(t);if(n){var i=h(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return c(this,e)});function i(e,t){var n;return p(this,i),(n=r.call(this,e)).type=t,n}return i}(o.BaseException);var v,m={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function y(){return"undefined"!=typeof fetch&&"undefined"!=typeof Response&&"body"in Response.prototype&&"undefined"!=typeof ReadableStream}function b(e,t){try{var n=(t?new URL(e,t):new URL(e)).protocol;return"http:"===n||"https:"===n}catch(r){return!1}}
1t.LinkTarget=m,t.StatTimer=function(){function e(){p(this,e),this.started=Object.create(null),this.times=[]}return _(e,[{key:"time",value:function(e){e in this.started&&(0,o.warn)("Timer is already running for ".concat(e)),this.started[e]=Date.now()}},{key:"timeEnd",value:function(e){e in this.started||(0,o.warn)("Timer has not been started for ".concat(e)),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e]}},{key:"toString",value:function(){var e,t=[],n=0,r=a(this.times);try{for(r.s();!(e=r.n()).done;){var i=e.value.name;i.length>n&&(n=i.length)}}catch(c){r.e(c)}finally{r.f()}var o,s=a(this.times);try{for(s.s();!(o=s.n()).done;){var l=o.value,u=l.end-l.start;t.push("".concat(l.name.padEnd(n)," ").concat(u,"ms\n"))}}catch(c){s.e(c)}finally{s.f()}return t.join("")}}]),e}(),t.PDFDateString=function(){function e(){p(this,e)}return _(e,null,[{key:"toDateObject",value:function(e){if(!e||!(0,o.isString)(e))return null;v||(v=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var t=v.exec(e);if(!t)return null;var n=parseInt(t[1],10),r=parseInt(t[2],10);r=r>=1&&r<=12?r-1:0;var i=parseInt(t[3],10);i=i>=1&&i<=31?i:1;var a=parseInt(t[4],10);a=a>=0&&a<=23?a:0;var s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;var l=parseInt(t[6],10);l=l>=0&&l<=59?l:0;var u=t[7]||"Z",c=parseInt(t[8],10);c=c>=0&&c<=23?c:0;var h=parseInt(t[9],10)||0;return h=h>=0&&h<=59?h:0,"-"===u?(a+=c,s+=h):"+"===u&&(a-=c,s-=h),new Date(Date.UTC(n,r,i,a,s,l))}}]),e}()},function(e,t,n){"use strict";e.exports=n(3)},function(e,t,n){"use strict";(function(e){function t(e){return(t="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)}var n=function(e){var n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n,r){var i=Object.create((t&&t.prototype instanceof h?t:h).prototype),o=new w(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=y(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===c)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,o),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=l;var c={};function h(){}function d(){}function f(){}var p={};p[o]=function(){return this};var g=Object.getPrototypeOf,_=g&&g(g(k([])));_&&_!==n&&r.call(_,o)&&(p=_);var A=f.prototype=h.prototype=Object.create(p);function v(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function m(e,n){var i;this._invoke=function(o,a){function s(){return new n((function(i,s){!function i(o,a,s,l){var c=u(e[o],e,a);if("throw"!==c.type){var h=c.arg,d=h.value;return d&&"object"===t(d)&&r.call(d,"__await")?n.resolve(d.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):n.resolve(d).then((function(e){h.value=e,s(h)}),(function(e){return i("throw",e,s,l)}))}l(c.arg)}(o,a,i,s)}))}return i=i?i.then(s,s):s()}}function y(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}
vendor: 5,887 bytes, line 1
1var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function k(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=A.constructor=f,f.constructor=d,f[s]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},v(m.prototype),m.prototype[a]=function(){return this},e.AsyncIterator=m,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new m(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(A),A[s]="Generator",A[o]=function(){return this},A.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=n}catch(r){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(4)(e))},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){return(r="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 i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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&&(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){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}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.arrayByteLength=v,t.arraysToBytes=function(e){var t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];for(var n=0,r=0;r<t;r++)n+=v(e[r]);for(var i=0,o=new Uint8Array(n),a=0;a<t;a++){var s=e[a];s instanceof Uint8Array||(s="string"==typeof s?A(s):new Uint8Array(s));var l=s.byteLength;o.set(s,i),i+=l}return o},t.assert=f,t.bytesToString=function(e){f(null!==e&&"object"===r(e)&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length;if(t<8192)return String.fromCharCode.apply(null,e);for(var n=[],i=0;i<t;i+=8192){var o=Math.min(i+8192,t),a=e.subarray(i,o);n.push(String.fromCharCode.apply(null,a))}return n.join("")},t.createPromiseCapability=function(){var e=Object.create(null),t=!1;return Object.defineProperty(e,"settled",{get:function(){return t}}),e.promise=new Promise((function(n,r){e.resolve=function(e){t=!0,n(e)},e.reject=function(e){t=!0,r(e)}})),e},t.getVerbosityLevel=function(){return c},t.info=function(e){c>=u.INFOS&&console.log("Info: ".concat(e))},t.isArrayBuffer=function(e){return"object"===r(e)&&null!==e&&void 0!==e.byteLength},t.isArrayEqual=function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}))},t.isBool=function(e){return"boolean"==typeof e},t.isEmptyObj=function(e){for(var t in e)return!1;return!0},t.isNum=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSameOrigin=function(e,t){var n;try{if(!(n=new URL(e)).origin||"null"===n.origin)return!1}catch(i){return!1}var r=new URL(t,n);return n.origin===r.origin},t.createValidAbsoluteUrl=function(e,t){if(!e)return null;try{var n=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(n))return n}catch(r){}return null},t.removeNullCharacters=function(e){return"string"!=typeof e?(h("The argument for removeNullCharacters must be a string."),e):e.replace(_,"")},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(c=e)},t.shadow=p,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=A,t.stringToPDFString=function(e){var t=e.length,n=[];if("\xfe"===e[0]&&"\xff"===e[1])for(var r=2;r<t;r+=2)n.push(String.fromCharCode(e.charCodeAt(r)<<8|e.charCodeAt(r+1)));else if("\xff"===e[0]&&"\xfe"===e[1])for(var i=2;i<t;i+=2)n.push(String.fromCharCode(e.charCodeAt(i+1)<<8|e.charCodeAt(i)));else for(var o=0;o<t;++o){var a=b[e.charCodeAt(o)];n.push(a?String.fromCharCode(a):e.charAt(o))}return n.join("")},t.stringToUTF8String=function(e){return decodeURIComponent(escape(e))},t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=h,t.unreachable=d,t.IsEvalSupportedCached=t.IsLittleEndianCached=t.createObjectURL=t.FormatError=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.MissingPDFException=t.InvalidPDFException=t.AbortException=t.CMapCompressionType=t.ImageKind=t.FontType=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.UNSUPPORTED_FEATURES=t.VerbosityLevel=t.OPS=t.IDENTITY_MATRIX=t.FONT_IDENTITY_MATRIX=t.BaseException=void 0,n(6),t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},t.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var u={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=u,t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2}
1,t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontGetPath:"errorFontGetPath"},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var c=u.WARNINGS;function h(e){c>=u.WARNINGS&&console.log("Warning: ".concat(e))}function d(e){throw new Error(e)}function f(e,t){e||d(t)}function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}var g=function(){function e(t){this.constructor===e&&d("Cannot initialize BaseException."),this.message=t,this.name=this.constructor.name}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=g,t.PasswordException=function(e){o(n,e);var t=a(n);function n(e,r){var o;return i(this,n),(o=t.call(this,e)).code=r,o}return n}(g),t.UnknownErrorException=function(e){o(n,e);var t=a(n);function n(e,r){var o;return i(this,n),(o=t.call(this,e)).details=r,o}return n}(g),t.InvalidPDFException=function(e){o(n,e);var t=a(n);function n(){return i(this,n),t.apply(this,arguments)}return n}(g),t.MissingPDFException=function(e){o(n,e);var t=a(n);function n(){return i(this,n),t.apply(this,arguments)}return n}(g),t.UnexpectedResponseException=function(e){o(n,e);var t=a(n);function n(e,r){var o;return i(this,n),(o=t.call(this,e)).status=r,o}return n}(g),t.FormatError=function(e){o(n,e);var t=a(n);function n(){return i(this,n),t.apply(this,arguments)}return n}(g),t.AbortException=function(e){o(n,e);var t=a(n);function n(){return i(this,n),t.apply(this,arguments)}return n}(g);var _=/\x00/g;function A(e){f("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,n=new Uint8Array(t),r=0;r<t;++r)n[r]=255&e.charCodeAt(r);return n}function v(e){return void 0!==e.length?e.length:(f(void 0!==e.byteLength,"arrayByteLength - invalid argument."),e.byteLength)}t.IsLittleEndianCached={get value(){return p(this,"value",((e=new Uint8Array(4))[0]=1,1===new Uint32Array(e.buffer,0,1)[0]));var e}},t.IsEvalSupportedCached={get value(){return p(this,"value",function(){try{return new Function(""),!0}catch(e){return!1}}())}};var m=["rgb(",0,",",0,",",0,")"];t.Util=function(){function e(){i(this,e)}var t;return(t=[{key:"makeCssRgb",value:function(e,t,n){return m[1]=e,m[3]=t,m[5]=n,m.join("")}},{key:"transform",value:function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}},{key:"applyTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}},{key:"applyInverseTransform",value:function(e,t){var n=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/n,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/n]}},{key:"getAxialAlignedBoundingBox",value:function(t,n){var r=e.applyTransform(t,n),i=e.applyTransform(t.slice(2,4),n),o=e.applyTransform([t[0],t[3]],n),a=e.applyTransform([t[2],t[1]],n);return[Math.min(r[0],i[0],o[0],a[0]),Math.min(r[1],i[1],o[1],a[1]),Math.max(r[0],i[0],o[0],a[0]),Math.max(r[1],i[1],o[1],a[1])]}},{key:"inverseTransform",value:function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}},{key:"apply3dTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],n=e[0]*t[0]+e[1]*t[2],r=e[2]*t[1]+e[3]*t[3],i=(n+r)/2,o=Math.sqrt((n+r)*(n+r)-4*(n*r-(e[2]*t[0]+e[3]*t[2])*(e[0]*t[1]+e[1]*t[3])))/2,a=i-o||1;return[Math.sqrt(i+o||1),Math.sqrt(a)]}},{key:"normalizeRect",value:function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}},{key:"intersect",value:function(t,n){function r(e,t){return e-t}var i=[t[0],t[2],n[0],n[2]].sort(r),o=[t[1],t[3],n[1],n[3]].sort(r),a=[];return t=e.normalizeRect(t),n=e.normalizeRect(n),i[0]===t[0]&&i[1]===n[0]||i[0]===n[0]&&i[1]===t[0]?(a[0]=i[1],a[2]=i[2],o[0]===t[1]&&o[1]===n[1]||o[0]===n[1]&&o[1]===t[1]?(a[1]=o[1],a[3]=o[2],a):null):null}}])&&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,t),e}();var y,b=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364],C=(y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=",function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!n&&URL.createObjectURL){var r=new Blob([e],{type:t});return URL.createObjectURL(r)}for(var i="data:".concat(t,";base64,"),o=0,a=e.length;o<a;o+=3){var s=255&e[o],l=255&e[o+1],u=255&e[o+2],c=s>>2,h=(3&s)<<4|l>>4,d=o+1<a?(15&l)<<2|u>>6:64,f=o+2<a?63&u:64;i+=y[c]+y[h]+y[d]+y[f]}return i});t.createObjectURL=C},function(e,t,n){"use strict";var r=n(7);function i(e){return(i="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)}if("undefined"==typeof globalThis||!globalThis._pdfjsCompatibilityChecked){"undefined"!=typeof globalThis&&globalThis.Math===Math||(globalThis=n(8)),globalThis._pdfjsCompatibilityChecked=!0;var o="object"===("undefined"==typeof window?"undefined":i(window))&&"object"===("undefined"==typeof document?"undefined":i(document)),a="undefined"!=typeof navigator&&navigator.userAgent||"",s=/Trident/.test(a);!globalThis.btoa&&r.isNodeJS&&(globalThis.btoa=function(e){return Buffer.from(e,"binary").toString("base64")}),!globalThis.atob&&r.isNodeJS&&(globalThis.atob=function(e){return Buffer.from(e,"base64").toString("binary")}),o&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),function(){if(o&&!r.isNodeJS){var e=document.createElement("div");if(e.classList.add("testOne","testTwo"),!0!==e.classList.contains("testOne")||!0!==e.classList.contains("testTwo")){var t=DOMTokenList.prototype.add,n=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];t.call(this,a)}},DOMTokenList.prototype.remove=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var i=0,o=t;i<o.length;i++){var a=o[i];n.call(this,a)}}}}}(),o&&!r.isNodeJS&&!1!==document.createElement("div").classList.toggle("test",0)&&(DOMTokenList.prototype.toggle=function(e){var t=arguments.length>1?!!arguments[1]:!this.contains(e);return this[t?"add":"remove"](e),t}),function(){if(o&&s){var e=window.history.pushState,t=window.history.replaceState;window.history.pushState=function(t,n,r){e.apply(this,void 0===r?[t,n]:[t,n,r])},window.history.replaceState=function(e,n,r){t.apply(this,void 0===r?[e,n]:[e,n,r])}}}(),String.prototype.startsWith||n(53),String.prototype.endsWith||n(64),String.prototype.includes||n(66),Array.prototype.includes||n(68),Array.from||n(76),Object.assign||n(98),Math.log2||(Math.log2=n(101)),Number.isNaN||(Number.isNaN=n(103)),Number.isInteger||(Number.isInteger=n(105)),Uint8Array.prototype.slice||n(108),globalThis.Promise&&globalThis.Promise.allSettled||(globalThis.Promise=n(113)),globalThis.URL=n(136),function(){var e=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),e=!0}catch(t){}e||(globalThis.ReadableStream=n(143).ReadableStream)}(),globalThis.Map&&globalThis.Map.prototype.entries||(globalThis.Map=n(144)),globalThis.Set&&globalThis.Set.prototype.entries||(globalThis.Set=n(151)),globalThis.WeakMap||(globalThis.WeakMap=n(153)),globalThis.WeakSet||(globalThis.WeakSet=n(159)),String.prototype.codePointAt||n(161),String.fromCodePoint||(String.fromCodePoint=n(163)),globalThis.Symbol||n(165),String.prototype.padStart||n(188),String.prototype.padEnd||n(193),Object.values||(Object.values=n(195))}},function(e,t,n){"use strict";function r(e){return(r="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)}Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;var i="object"===("undefined"==typeof process?"undefined":r(process))&&process+""=="[object process]"&&!process.versions.nw&&!process.versions.electron;t.isNodeJS=i},function(e,t,n){n(9),e.exports=n(11)},function(e,t,n){n(10)({global:!0},{globalThis:n(11)})},function(e,t,n){var r=n(11),i=n(12).f,o=n(26),a=n(29),s=n(30),l=n(40),u=n(52);e.exports=function(e,t){var n,c,h,d,f,p=e.target,g=e.global,_=e.stat;if(n=g?r:_?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in t){if(d=t[c],h=e.noTargetGet?(f=i(n,c))&&f.value:n[c],!u(g?c:p+(_?".":"#")+c,e.forced)&&void 0!==h){if(typeof d==typeof h)continue;l(d,h)}(e.sham||h&&h.sham)&&o(d,"sham",!0),a(n,c,d,e)}}},function(e,t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},function(e,t,n){var r=n(13),i=n(15),o=n(16),a=n(17),s=n(21),l=n(23),u=n(24),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(n){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,n){var r=n(14);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}}
vendor: 9,757 bytes, line 1
1)[1]}))},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(18),i=n(20);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(14),i=n(19),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(22);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(13),i=n(14),o=n(25);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(11),i=n(22),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(13),i=n(27),o=n(16);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(13),i=n(24),o=n(28),a=n(21),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(22);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(11),i=n(26),o=n(23),a=n(30),s=n(31),l=n(33),u=l.get,c=l.enforce,h=String(String).split("String");(e.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),c(n).source=h.join("string"==typeof t?t:"")),e!==r?(l?!d&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},function(e,t,n){var r=n(11),i=n(26);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(32),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(11),i=n(30),o=r["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t,n){var r,i,o,a=n(34),s=n(11),l=n(22),u=n(26),c=n(23),h=n(35),d=n(39);if(a){var f=new(0,s.WeakMap),p=f.get,g=f.has,_=f.set;r=function(e,t){return _.call(f,e,t),t},i=function(e){return p.call(f,e)||{}},o=function(e){return g.call(f,e)}}else{var A=h("state");d[A]=!0,r=function(e,t){return u(e,A,t),t},i=function(e){return c(e,A)?e[A]:{}},o=function(e){return c(e,A)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(11),i=n(31),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},function(e,t,n){var r=n(36),i=n(38),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,n){var r=n(37),i=n(32);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(23),i=n(41),o=n(12),a=n(27);e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];r(e,c)||s(e,c,l(t,c))}}},function(e,t,n){var r=n(42),i=n(44),o=n(51),a=n(28);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(43),i=n(11),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t,n){var r=n(11);e.exports=r},function(e,t,n){var r=n(45),i=n(50).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(23),i=n(17),o=n(46).indexOf,a=n(39);e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var r=n(17),i=n(47),o=n(49),a=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(48),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(48),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(14),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==u||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},function(e,t,n){n(54);var r=n(61);e.exports=r("String","startsWith")},function(e,t,n){"use strict";var r,i=n(10),o=n(12).f,a=n(47),s=n(55),l=n(20),u=n(60),c=n(37),h="".startsWith,d=Math.min,f=u("startsWith");i({target:"String",proto:!0,forced:!(!c&&!f&&(r=o(String.prototype,"startsWith"),r&&!r.writable)||f)},{startsWith:function(e){var t=String(l(this));s(e);var n=a(d(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return h?h.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){var r=n(56);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(22),i=n(19),o=n(57)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(11),i=n(36),o=n(23),a=n(38),s=n(58),l=n(59),u=i("wks"),c=r.Symbol,h=l?c:c&&c.withoutSetter||a;e.exports=function(e){return o(u,e)||(u[e]=s&&o(c,e)?c[e]:h("Symbol."+e)),u[e]}},function(e,t,n){var r=n(14);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(58);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(57)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(i){}}return!1}},function(e,t,n){var r=n(11),i=n(62),o=Function.call;e.exports=function(e,t,n){return i(o,r[e].prototype[t],n)}},function(e,t,n){var r=n(63);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){n(65);var r=n(61);e.exports=r("String","endsWith")},function(e,t,n){"use strict";var r,i=n(10),o=n(12).f,a=n(47),s=n(55),l=n(20),u=n(60),c=n(37),h="".endsWith,d=Math.min,f=u("endsWith");i({target:"String",proto:!0,forced:!(!c&&!f&&(r=o(String.prototype,"endsWith"),r&&!r.writable)||f)},{endsWith:function(e){var t=String(l(this));s(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),i=void 0===n?r:d(a(n),r),o=String(e);return h?h.call(t,o,i):t.slice(i-o.length,i)===o}})},function(e,t,n){n(67);var r=n(61);e.exports=r("String","includes")},function(e,t,n){"use strict";var r=n(10),i=n(55),o=n(20);r({target:"String",proto:!0,forced:!n(60)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(69);var r=n(61);e.exports=r("Array","includes")},function(e,t,n){"use strict";var r=n(10),i=n(46).includes,o=n(70);r({target:"Array",proto:!0,forced:!n(75)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(e,t,n){var r=n(57),i=n(71),o=n(27),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){var r,i=n(28),o=n(72),a=n(50),s=n(39),l=n(74),u=n(25),c=n(35)("IE_PROTO"),h=function(){},d=function(e){return"<script>"+e+"<\/script>"},f=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(i){}var e,t;f=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=u("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete f.prototype[a[n]];return f()};
vendor: 11,889 bytes, line 1
1s[c]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h.prototype=i(e),n=new h,h.prototype=null,n[c]=e):n=f(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(13),i=n(27),o=n(28),a=n(73);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,l=0;s>l;)i.f(e,n=r[l++],t[n]);return e}},function(e,t,n){var r=n(45),i=n(50);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(42);e.exports=r("document","documentElement")},function(e,t,n){var r=n(13),i=n(14),o=n(23),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,c=o(t,0)?t[0]:l,h=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,c,h)}))}},function(e,t,n){n(77),n(89);var r=n(43);e.exports=r.Array.from},function(e,t,n){"use strict";var r=n(78).charAt,i=n(33),o=n(79),a=i.set,s=i.getterFor("String Iterator");o(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(48),i=n(20),o=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){"use strict";var r=n(10),i=n(80),o=n(82),a=n(87),s=n(85),l=n(26),u=n(29),c=n(57),h=n(37),d=n(86),f=n(81),p=f.IteratorPrototype,g=f.BUGGY_SAFARI_ITERATORS,_=c("iterator"),A=function(){return this};e.exports=function(e,t,n,c,f,v,m){i(n,t,c);var y,b,C,w=function(e){if(e===f&&x)return x;if(!g&&e in S)return S[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",E=!1,S=e.prototype,O=S[_]||S["@@iterator"]||f&&S[f],x=!g&&O||w(f),P="Array"==t&&S.entries||O;if(P&&(y=o(P.call(new e)),p!==Object.prototype&&y.next&&(h||o(y)===p||(a?a(y,p):"function"!=typeof y[_]&&l(y,_,A)),s(y,k,!0,!0),h&&(d[k]=A))),"values"==f&&O&&"values"!==O.name&&(E=!0,x=function(){return O.call(this)}),h&&!m||S[_]===x||l(S,_,x),d[t]=x,f)if(b={values:w("values"),keys:v?x:w("keys"),entries:w("entries")},m)for(C in b)(g||E||!(C in S))&&u(S,C,b[C]);else r({target:t,proto:!0,forced:g||E},b);return b}},function(e,t,n){"use strict";var r=n(81).IteratorPrototype,i=n(71),o=n(16),a=n(85),s=n(86),l=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,u,!1,!0),s[u]=l,e}},function(e,t,n){"use strict";var r,i,o,a=n(82),s=n(26),l=n(23),u=n(57),c=n(37),h=u("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):d=!0),null==r&&(r={}),c||l(r,h)||s(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var r=n(23),i=n(83),o=n(35),a=n(84),s=o("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){var r=n(20);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(14);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(27).f,i=n(23),o=n(57)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t){e.exports={}},function(e,t,n){var r=n(28),i=n(88);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},function(e,t,n){var r=n(22);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(10),i=n(90);r({target:"Array",stat:!0,forced:!n(97)((function(e){Array.from(e)}))},{from:i})},function(e,t,n){"use strict";var r=n(62),i=n(83),o=n(91),a=n(92),s=n(47),l=n(93),u=n(94);e.exports=function(e){var t,n,c,h,d,f,p=i(e),g="function"==typeof this?this:Array,_=arguments.length,A=_>1?arguments[1]:void 0,v=void 0!==A,m=u(p),y=0;if(v&&(A=r(A,_>2?arguments[2]:void 0,2)),null==m||g==Array&&a(m))for(n=new g(t=s(p.length));t>y;y++)f=v?A(p[y],y):p[y],l(n,y,f);else for(d=(h=m.call(p)).next,n=new g;!(c=d.call(h)).done;y++)f=v?o(h,A,[c.value,y],!0):c.value,l(n,y,f);return n.length=y,n}},function(e,t,n){var r=n(28);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){var o=e.return;throw void 0!==o&&r(o.call(e)),a}}},function(e,t,n){var r=n(57),i=n(86),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){"use strict";var r=n(21),i=n(27),o=n(16);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){var r=n(95),i=n(86),o=n(57)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(96),i=n(19),o=n(57)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),o))?n:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r={};r[n(57)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(57)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(s){}return n}},function(e,t,n){n(99);var r=n(43);e.exports=r.Object.assign},function(e,t,n){var r=n(10),i=n(100);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t,n){"use strict";var r=n(13),i=n(14),o=n(73),a=n(51),s=n(15),l=n(83),u=n(18),c=Object.assign,h=Object.defineProperty;e.exports=!c||i((function(){if(r&&1!==c({b:1},c(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||"abcdefghijklmnopqrst"!=o(c({},t)).join("")}))?function(e,t){for(var n=l(e),i=arguments.length,c=1,h=a.f,d=s.f;i>c;)for(var f,p=u(arguments[c++]),g=h?o(p).concat(h(p)):o(p),_=g.length,A=0;_>A;)f=g[A++],r&&!d.call(p,f)||(n[f]=p[f]);return n}:c},function(e,t,n){n(102);var r=n(43);e.exports=r.Math.log2},function(e,t,n){var r=n(10),i=Math.log,o=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return i(e)/o}})},function(e,t,n){n(104);var r=n(43);e.exports=r.Number.isNaN},function(e,t,n){n(10)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){n(106);var r=n(43);e.exports=r.Number.isInteger},function(e,t,n){n(10)({target:"Number",stat:!0},{isInteger:n(107)})},function(e,t,n){var r=n(22),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){n(109)},function(e,t,n){"use strict";var r=n(110),i=n(112),o=n(14),a=r.aTypedArray,s=r.aTypedArrayConstructor,l=[].slice;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=l.call(a(this),e,t),r=i(this,this.constructor),o=0,u=n.length,c=new(s(r))(u);u>o;)c[o]=n[o++];return c}),o((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var r,i=n(111),o=n(13),a=n(11),s=n(22),l=n(23),u=n(95),c=n(26),h=n(29),d=n(27).f,f=n(82),p=n(87),g=n(57),_=n(38),A=a.Int8Array,v=A&&A.prototype,m=a.Uint8ClampedArray,y=m&&m.prototype,b=A&&f(A),C=v&&f(v),w=Object.prototype,k=w.isPrototypeOf,E=g("toStringTag"),S=_("TYPED_ARRAY_TAG"),O=i&&!!p&&"Opera"!==u(a.opera),x=!1,P={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T=function(e){return s(e)&&l(P,u(e))};for(r in P)a[r]||(O=!1);if((!O||"function"!=typeof b||b===Function.prototype)&&(b=function(){throw TypeError("Incorrect invocation")},O))for(r in P)a[r]&&p(a[r],b);if((!O||!C||C===w)&&(C=b.prototype,O))for(r in P)a[r]&&p(a[r].prototype,C);if(O&&f(y)!==C&&p(y,C),o&&!l(C,E))for(r in x=!0,d(C,E,{get:function(){return s(this)?this[S]:void 0}}),P)a[r]&&c(a[r],S,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:x&&S,aTypedArray:function(e){if(T(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(k.call(b,e))return e}else for(var t in P)if(l(P,r)){var n=a[t];if(n&&(e===n||k.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(o){if(n)for(var r in P){var i=a[r];i&&l(i.prototype,e)&&delete i.prototype[e]}C[e]&&!n||h(C,e,n?t:O&&v[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(o){if(p){if(n)for(r in P)(i=a[r])&&l(i,e)&&delete i[e];if(b[e]&&!n)return;try{return h(b,e,n?t:O&&A[e]||t)}catch(s){}}for(r in P)!(i=a[r])||i[e]&&!n||h(i,e,t)}},isView:function(e){var t=u(e);return"DataView"===t||l(P,t)},isTypedArray:T,TypedArray:b,TypedArrayPrototype:C}},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){var r=n(28),i=n(63),o=n(57)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){n(114),n(77),n(116),n(119),n(134),n(135);var r=n(43);e.exports=r.Promise},function(e,t,n){var r=n(96),i=n(29),o=n(115);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(e,t,n){"use strict";var r=n(96),i=n(95);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){var r=n(11),i=n(117),o=n(118),a=n(26),s=n(57),l=s("iterator"),u=s("toStringTag"),c=o.values;for(var h in i){var d=r[h],f=d&&d.prototype;if(f){if(f[l]!==c)try{a(f,l,c)}catch(g){f[l]=c}if(f[u]||a(f,u,h),i[h])for(var p in o)if(f[p]!==o[p])try{a(f,p,o[p])}catch(g){f[p]=o[p]}}}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){"use strict";var r=n(17),i=n(70),o=n(86),a=n(33),s=n(79),l=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){"use strict";var r,i,o,a,s=n(10),l=n(37),u=n(11),c=n(42),h=n(120),d=n(29),f=n(121),p=n(85),g=n(122),_=n(22),A=n(63),v=n(123),m=n(19),y=n(31),b=n(124),C=n(97),w=n(112),k=n(125).set,E=n(128),S=n(129),O=n(131),x=n(130),P=n(132),T=n(33),B=n(52),D=n(57),M=n(133),I=D("species"),R="Promise",F=T.get,L=T.set,U=T.getterFor(R),N=h,j=u.TypeError,H=u.document,Q=u.process,V=c("fetch"),K=x.f,W=K,z="process"==m(Q),q=!!(H&&H.createEvent&&u.dispatchEvent),Y=B(R,(function(){if(y(N)===String(N)){if(66===M)return!0;
vendor: 4,108 bytes, line 1
1if(!z&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!N.prototype.finally)return!0;if(M>=51&&/native code/.test(N))return!1;var e=N.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[I]=t,!(e.then((function(){}))instanceof t)})),G=Y||!C((function(e){N.all(e).catch((function(){}))})),X=function(e){var t;return!(!_(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;E((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,l,u,c=r[a++],h=o?c.ok:c.fail,d=c.resolve,f=c.reject,p=c.domain;try{h?(o||(2===t.rejection&&te(e,t),t.rejection=1),!0===h?s=i:(p&&p.enter(),s=h(i),p&&(p.exit(),u=!0)),s===c.promise?f(j("Promise-chain cycle")):(l=X(s))?l.call(s,d,f):d(s)):f(i)}catch(g){p&&!u&&p.exit(),f(g)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&$(e,t)}))}},Z=function(e,t,n){var r,i;q?((r=H.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},(i=u["on"+e])?i(r):"unhandledrejection"===e&&O("Unhandled promise rejection",n)},$=function(e,t){k.call(u,(function(){var n,r=t.value;if(ee(t)&&(n=P((function(){z?Q.emit("unhandledRejection",r,e):Z("unhandledrejection",e,r)})),t.rejection=z||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){k.call(u,(function(){z?Q.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(i){e(t,n,i,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,J(e,t,!0))},ie=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw j("Promise can't be resolved itself");var i=X(n);i?E((function(){var r={done:!1};try{i.call(n,ne(ie,e,r,t),ne(re,e,r,t))}catch(o){re(e,r,o,t)}})):(t.value=n,t.state=1,J(e,t,!1))}catch(o){re(e,{done:!1},o,t)}}};Y&&(N=function(e){v(this,N,R),A(e),r.call(this);var t=F(this);try{e(ne(ie,this,t),ne(re,this,t))}catch(n){re(this,t,n)}},(r=function(e){L(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(N.prototype,{then:function(e,t){var n=U(this),r=K(w(this,N));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=z?Q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=F(e);this.promise=e,this.resolve=ne(ie,e,t),this.reject=ne(re,e,t)},x.f=K=function(e){return e===N||e===o?new i(e):W(e)},l||"function"!=typeof h||(a=h.prototype.then,d(h.prototype,"then",(function(e,t){var n=this;return new N((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof V&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return S(N,V.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:Y},{Promise:N}),p(N,R,!1,!0),g(R),o=c(R),s({target:R,stat:!0,forced:Y},{reject:function(e){var t=K(this);return t.reject.call(void 0,e),t.promise}}),s({target:R,stat:!0,forced:l||Y},{resolve:function(e){return S(l&&this===o?N:this,e)}}),s({target:R,stat:!0,forced:G},{all:function(e){var t=this,n=K(t),r=n.resolve,i=n.reject,o=P((function(){var n=A(t.resolve),o=[],a=0,s=1;b(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=K(t),r=n.reject,i=P((function(){var i=A(t.resolve);b(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},function(e,t,n){var r=n(11);e.exports=r.Promise},function(e,t,n){var r=n(29);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){"use strict";var r=n(42),i=n(27),o=n(57),a=n(13),s=o("species");e.exports=function(e){var t=r(e);a&&t&&!t[s]&&(0,i.f)(t,s,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(28),i=n(92),o=n(47),a=n(62),s=n(94),l=n(91),u=function(e,t){this.stopped=e,this.result=t};
vendor: 4,395 bytes, line 1
1(e.exports=function(e,t,n,c,h){var d,f,p,g,_,A,v,m=a(t,n,c?2:1);if(h)d=e;else{if("function"!=typeof(f=s(e)))throw TypeError("Target is not iterable");if(i(f)){for(p=0,g=o(e.length);g>p;p++)if((_=c?m(r(v=e[p])[0],v[1]):m(e[p]))&&_ instanceof u)return _;return new u(!1)}d=f.call(e)}for(A=d.next;!(v=A.call(d)).done;)if("object"==typeof(_=l(d,m,v.value,c))&&_&&_ instanceof u)return _;return new u(!1)}).stop=function(e){return new u(!0,e)}},function(e,t,n){var r,i,o,a=n(11),s=n(14),l=n(19),u=n(62),c=n(74),h=n(25),d=n(126),f=a.location,p=a.setImmediate,g=a.clearImmediate,_=a.process,A=a.MessageChannel,v=a.Dispatch,m=0,y={},b=function(e){if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},C=function(e){return function(){b(e)}},w=function(e){b(e.data)},k=function(e){a.postMessage(e+"",f.protocol+"//"+f.host)};p&&g||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++m]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(m),m},g=function(e){delete y[e]},"process"==l(_)?r=function(e){_.nextTick(C(e))}:v&&v.now?r=function(e){v.now(C(e))}:A&&!d?(o=(i=new A).port2,i.port1.onmessage=w,r=u(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(k)||"file:"===f.protocol?r="onreadystatechange"in h("script")?function(e){c.appendChild(h("script")).onreadystatechange=function(){c.removeChild(this),b(e)}}:function(e){setTimeout(C(e),0)}:(r=k,a.addEventListener("message",w,!1))),e.exports={set:p,clear:g}},function(e,t,n){var r=n(127);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(42);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r,i,o,a,s,l,u,c,h=n(11),d=n(12).f,f=n(19),p=n(125).set,g=n(126),_=h.MutationObserver||h.WebKitMutationObserver,A=h.process,v=h.Promise,m="process"==f(A),y=d(h,"queueMicrotask"),b=y&&y.value;b||(r=function(){var e,t;for(m&&(e=A.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(n){throw i?a():o=void 0,n}}o=void 0,e&&e.enter()},m?a=function(){A.nextTick(r)}:_&&!g?(s=!0,l=document.createTextNode(""),new _(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):v&&v.resolve?(u=v.resolve(void 0),c=u.then,a=function(){c.call(u,r)}):a=function(){p.call(h,r)}),e.exports=b||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(28),i=n(22),o=n(130);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(63),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},function(e,t,n){var r=n(11);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t,n){var r,i,o=n(11),a=n(127),s=o.process,l=s&&s.versions,u=l&&l.v8;u?i=(r=u.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),e.exports=i&&+i},function(e,t,n){"use strict";var r=n(10),i=n(63),o=n(130),a=n(132),s=n(124);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=o.f(t),r=n.resolve,l=n.reject,u=a((function(){var n=i(t.resolve),o=[],a=0,l=1;s(e,(function(e){var i=a++,s=!1;o.push(void 0),l++,n.call(t,e).then((function(e){s||(s=!0,o[i]={status:"fulfilled",value:e},--l||r(o))}),(function(e){s||(s=!0,o[i]={status:"rejected",reason:e},--l||r(o))}))})),--l||r(o)}));return u.error&&l(u.value),n.promise}})},function(e,t,n){"use strict";var r=n(10),i=n(37),o=n(120),a=n(14),s=n(42),l=n(112),u=n(129),c=n(29);r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return u(t,e()).then((function(){return n}))}:e,n?function(n){return u(t,e()).then((function(){throw n}))}:e)}}),i||"function"!=typeof o||o.prototype.finally||c(o.prototype,"finally",s("Promise").prototype.finally)},function(e,t,n){n(137),n(142),n(140);var r=n(43);e.exports=r.URL},function(e,t,n){"use strict";n(77);var r,i=n(10),o=n(13),a=n(138),s=n(11),l=n(72),u=n(29),c=n(123),h=n(23),d=n(100),f=n(90),p=n(78).
vendor: 6,011 bytes, line 1
1codeAt,g=n(139),_=n(85),A=n(140),v=n(33),m=s.URL,y=A.URLSearchParams,b=A.getState,C=v.set,w=v.getterFor("URL"),k=Math.floor,E=Math.pow,S=/[A-Za-z]/,O=/[\d+-.A-Za-z]/,x=/\d/,P=/^(0x|0X)/,T=/^[0-7]+$/,B=/^\d+$/,D=/^[\dA-Fa-f]+$/,M=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,I=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,R=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,F=/[\u0009\u000A\u000D]/g,L=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=N(t.slice(1,-1))))return"Invalid host";e.host=n}else if(q(e)){if(t=g(t),M.test(t))return"Invalid host";if(null===(n=U(t)))return"Invalid host";e.host=n}else{if(I.test(t))return"Invalid host";for(n="",r=f(t),i=0;i<r.length;i++)n+=W(r[i],H);e.host=n}},U=function(e){var t,n,r,i,o,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=l[r]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=P.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?B:8==o?T:D).test(i))return e;a=parseInt(i,o)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=E(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*E(256,3-r);return s},N=function(e){var t,n,r,i,o,a,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,h=0,d=function(){return e.charAt(h)};if(":"==d()){if(":"!=e.charAt(1))return;h+=2,c=++u}for(;d();){if(8==u)return;if(":"!=d()){for(t=n=0;n<4&&D.test(d());)t=16*t+parseInt(d(),16),h++,n++;if("."==d()){if(0==n)return;if(h-=n,u>6)return;for(r=0;d();){if(i=null,r>0){if(!("."==d()&&r<4))return;h++}if(!x.test(d()))return;for(;x.test(d());){if(o=parseInt(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;h++}l[u]=256*l[u]+i,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==d()){if(h++,!d())return}else if(d())return;l[u++]=t}else{if(null!==c)return;h++,c=++u}}if(null!==c)for(a=u-c,u=7;0!=u&&a>0;)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s;else if(8!=u)return;return l},j=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=k(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},H={},Q=d({},H,{" ":1,'"':1,"<":1,">":1,"`":1}),V=d({},Q,{"#":1,"?":1,"{":1,"}":1}),K=d({},V,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),W=function(e,t){var n=p(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},q=function(e){return h(z,e.scheme)},Y=function(e){return""!=e.username||""!=e.password},G=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},X=function(e,t){var n;return 2==e.length&&S.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},J=function(e){var t;return e.length>1&&X(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Z=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&X(t[0],!0)||t.pop()},$=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},le={},ue={},ce={},he={},de={},fe={},pe={},ge={},_e={},Ae={},ve={},me={},ye={},be=function(e,t,n,i){var o,a,s,l,u,c=n||ee,d=0,p="",g=!1,_=!1,A=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(R,"")),t=t.replace(F,""),o=f(t);d<=o.length;){switch(a=o[d],c){case ee:if(!a||!S.test(a)){if(n)return"Invalid scheme";c=ne;continue}p+=a.toLowerCase(),c=te;break;case te:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";p="",c=ne,d=0;continue}if(n&&(q(e)!=h(z,p)||"file"==p&&(Y(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,n)return void(q(e)&&z[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?c=fe:q(e)&&i&&i.scheme==e.scheme?c=re:q(e)?c=se:"/"==o[d+1]?(c=ie,d++):(e.cannotBeABaseURL=!0,e.path.push(""),c=ve)}break;case ne:if(!i||i.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,c=ye;break}c="file"==i.scheme?fe:oe;continue;case re:if("/"!=a||"/"!=o[d+1]){c=oe;continue}c=le,d++;break;case ie:if("/"==a){c=ue;break}c=Ae;continue;case oe:if(e.scheme=i.scheme,a==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&q(e))c=ae;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",c=me;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),c=Ae;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",c=ye}break;case ae:if(!q(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,c=Ae;continue}c=ue}else c=le;break;case se:if(c=le,"/"!=a||"/"!=p.charAt(d+1))continue;d++;break;case le:if("/"!=a&&"\\"!=a){c=ue;continue}break;case ue:if("@"==a){g&&(p="%40"+p),g=!0,s=f(p);for(var v=0;v<s.length;v++){var m=s[v];if(":"!=m||A){var y=W(m,K);A?e.password+=y:e.username+=y}else A=!0}p=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&q(e)){if(g&&""==p)return"Invalid authority";d-=f(p).length+1,p="",c=ce}else p+=a;break;case ce:case he:if(n&&"file"==e.scheme){c=ge;continue}if(":"!=a||_){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&q(e)){if(q(e)&&""==p)return"Invalid host";if(n&&""==p&&(Y(e)||null!==e.port))return;if(l=L(e,p))return l;if(p="",c=_e,n)return;continue}"["==a?_=!0:"]"==a&&(_=!1),p+=a}else{if(""==p)return"Invalid host";if(l=L(e,p))return l;if(p="",c=de,n==he)return}break;case de:if(!x.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&q(e)||n){if
vendor: 12,073 bytes, line 1
1(""!=p){var b=parseInt(p,10);if(b>65535)return"Invalid port";e.port=q(e)&&b===z[e.scheme]?null:b,p=""}if(n)return;c=_e;continue}return"Invalid port"}p+=a;break;case fe:if(e.scheme="file","/"==a||"\\"==a)c=pe;else{if(!i||"file"!=i.scheme){c=Ae;continue}if(a==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",c=me;else{if("#"!=a){J(o.slice(d).join(""))||(e.host=i.host,e.path=i.path.slice(),Z(e)),c=Ae;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",c=ye}}break;case pe:if("/"==a||"\\"==a){c=ge;break}i&&"file"==i.scheme&&!J(o.slice(d).join(""))&&(X(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),c=Ae;continue;case ge:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&X(p))c=Ae;else if(""==p){if(e.host="",n)return;c=_e}else{if(l=L(e,p))return l;if("localhost"==e.host&&(e.host=""),n)return;p="",c=_e}continue}p+=a;break;case _e:if(q(e)){if(c=Ae,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(c=Ae,"/"!=a))continue}else e.fragment="",c=ye;else e.query="",c=me;break;case Ae:if(a==r||"/"==a||"\\"==a&&q(e)||!n&&("?"==a||"#"==a)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(Z(e),"/"==a||"\\"==a&&q(e)||e.path.push("")):$(p)?"/"==a||"\\"==a&&q(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&X(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",c=me):"#"==a&&(e.fragment="",c=ye)}else p+=W(a,V);break;case ve:"?"==a?(e.query="",c=me):"#"==a?(e.fragment="",c=ye):a!=r&&(e.path[0]+=W(a,H));break;case me:n||"#"!=a?a!=r&&("'"==a&&q(e)?e.query+="%27":e.query+="#"==a?"%23":W(a,H)):(e.fragment="",c=ye);break;case ye:a!=r&&(e.fragment+=W(a,Q))}d++}},Ce=function(e){var t,n,r=c(this,Ce,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=C(r,{type:"URL"});if(void 0!==i)if(i instanceof Ce)t=w(i);else if(n=be(t={},String(i)))throw TypeError(n);if(n=be(s,a,null,t))throw TypeError(n);var l=s.searchParams=new y,u=b(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},o||(r.href=ke.call(r),r.origin=Ee.call(r),r.protocol=Se.call(r),r.username=Oe.call(r),r.password=xe.call(r),r.host=Pe.call(r),r.hostname=Te.call(r),r.port=Be.call(r),r.pathname=De.call(r),r.search=Me.call(r),r.searchParams=Ie.call(r),r.hash=Re.call(r))},we=Ce.prototype,ke=function(){var e=w(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,l=e.fragment,u=t+":";return null!==i?(u+="//",Y(e)&&(u+=n+(r?":"+r:"")+"@"),u+=j(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},Ee=function(){var e=w(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&q(e)?t+"://"+j(e.host)+(null!==n?":"+n:""):"null"},Se=function(){return w(this).scheme+":"},Oe=function(){return w(this).username},xe=function(){return w(this).password},Pe=function(){var e=w(this),t=e.host,n=e.port;return null===t?"":null===n?j(t):j(t)+":"+n},Te=function(){var e=w(this).host;return null===e?"":j(e)},Be=function(){var e=w(this).port;return null===e?"":String(e)},De=function(){var e=w(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Me=function(){var e=w(this).query;return e?"?"+e:""},Ie=function(){return w(this).searchParams},Re=function(){var e=w(this).fragment;return e?"#"+e:""},Fe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&l(we,{href:Fe(ke,(function(e){var t=w(this),n=String(e),r=be(t,n);if(r)throw TypeError(r);b(t.searchParams).updateSearchParams(t.query)})),origin:Fe(Ee),protocol:Fe(Se,(function(e){var t=w(this);be(t,String(e)+":",ee)})),username:Fe(Oe,(function(e){var t=w(this),n=f(String(e));if(!G(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=W(n[r],K)}})),password:Fe(xe,(function(e){var t=w(this),n=f(String(e));if(!G(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=W(n[r],K)}})),host:Fe(Pe,(function(e){var t=w(this);t.cannotBeABaseURL||be(t,String(e),ce)})),hostname:Fe(Te,(function(e){var t=w(this);t.cannotBeABaseURL||be(t,String(e),he)})),port:Fe(Be,(function(e){var t=w(this);G(t)||(""==(e=String(e))?t.port=null:be(t,e,de))})),pathname:Fe(De,(function(e){var t=w(this);t.cannotBeABaseURL||(t.path=[],be(t,e+"",_e))})),search:Fe(Me,(function(e){var t=w(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",be(t,e,me)),b(t.searchParams).updateSearchParams(t.query)})),searchParams:Fe(Ie),hash:Fe(Re,(function(e){var t=w(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",be(t,e,ye)):t.fragment=null}))}),u(we,"toJSON",(function(){return ke.call(this)}),{enumerable:!0}),u(we,"toString",(function(){return ke.call(this)}),{enumerable:!0}),m){var Le=m.createObjectURL,Ue=m.revokeObjectURL;Le&&u(Ce,"createObjectURL",(function(e){return Le.apply(m,arguments)})),Ue&&u(Ce,"revokeObjectURL",(function(e){return Ue.apply(m,arguments)}))}_(Ce,"URL"),i({global:!0,forced:!a,sham:!o},{URL:Ce})},function(e,t,n){var r=n(14),i=n(57),o=n(37),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,l=function(e){return e+22+75*(e<26)},u=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},c=function(e){var t,n,r=[],i=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e)).length,c=128,h=0,d=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var f=r.length,p=f;for(f&&r.push("-");p<i;){var g=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=c&&n<g&&(g=n);var _=p+1;if(g-c>a((2147483647-h)/_))throw RangeError(o);for(h+=(g-c)*_,c=g,t=0;t<e.length;t++){if((n=e[t])<c&&++h>2147483647)throw RangeError(o);if(n==c){for(var A=h,v=36;;v+=36){var m=v<=d?1:v>=d+26?26:v-d;if(A<m)break;var y=A-m,b=36-m;r.push(s(l(m+y%b))),A=a(y/b)}r.push(s(l(A))),d=u(h,_,p==f),h=0,++p}}++h,++c}return r.join("")};e.exports=function(e){var t,n,o=[],a=e.toLowerCase().replace(i,".").split(".");for(t=0;t<a.length;t++)o.push(r.test(n=a[t])?"xn--"+c(n):n);return o.join(".")}},function(e,t,n){"use strict";n(118);var r=n(10),i=n(42),o=n(138),a=n(29),s=n(121),l=n(85),u=n(80),c=n(33),h=n(123),d=n(23),f=n(62),p=n(95),g=n(28),_=n(22),A=n(71),v=n(16),m=n(141),y=n(94),b=n(57),C=i("fetch"),w=i("Headers"),k=b("iterator"),E=c.set,S=c.getterFor("URLSearchParams"),O=c.getterFor("URLSearchParamsIterator"),x=/\+/g,P=Array(4),T=function(e){return P[e-1]||(P[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},B=function(e){try{return decodeURIComponent(e)}catch(t){return e}},D=function(e){var t=e.replace(x," "),n=4;try{return decodeURIComponent(t)}catch(r){for(;n;)t=t.replace(T(n--),B);return t}},M=/[!'()~]|%20/g,I={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},R=function(e){return I[e]},F=function(e){return encodeURIComponent(e).replace(M,R)},L=function(e,t){if(t)for(var n,r,i=t.split("&"),o=0;o<i.length;)(n=i[o++]).length&&(r=n.split("="),e.push({key:D(r.shift()),value:D(r.join("="))}))},U=function(e){this.entries.length=0,L(this.entries,e)},N=function(e,t){if(e<t)throw TypeError("Not enough arguments")},j=u((function(e,t){E(this,{type:"URLSearchParamsIterator",iterator:m(S(e).entries),kind:t})}),"Iterator",(function(){var e=O(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),H=function(){h(this,H,"URLSearchParams");var e,t,n,r,i,o,a,s,l,u=arguments.length>0?arguments[0]:void 0,c=this,f=[];if(E(c,{type:"URLSearchParams",entries:f,updateURL:function(){},updateSearchParams:U}),void 0!==u)if(_(u))if("function"==typeof(e=y(u)))for(n=(t=e.call(u)).next;!(r=n.call(t)).done;){if((a=(o=(i=m(g(r.value))).next).call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");f.push({key:a.value+"",value:s.value+""})}else for(l in u)d(u,l)&&f.push({key:l,value:u[l]+""});else L(f,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},Q=H.prototype;s(Q,{append:function(e,t){N(arguments.length,2);var n=S(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){N(arguments.length,1);for(var t=S(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL()},get:function(e){N(arguments.length,1);for(var t=S(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){N(arguments.length,1);for(var t=S(this).entries,n=e+"",r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){N(arguments.length,1);for(var t=S(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){N(arguments.length,1);for(var n,r=S(this),i=r.entries,o=!1,a=e+"",s=t+"",l=0;l<i.length;l++)(n=i[l]).key===a&&(o?i.splice(l--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=S(this),i=r.entries,o=i.slice();for(i.length=0,n=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===n&&i.push(e)}r.updateURL()},forEach:function(e){for(var t,n=S(this).entries,r=f(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new j(this,"keys")},values:function(){return new j(this,"values")},entries:function(){return new j(this,"entries")}},{enumerable:!0}),a(Q,k,Q.entries),a(Q,"toString",(function(){for(var e,t=S(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(F(e.key)+"="+F(e.value));return n.join("&")}),{enumerable:!0}),l(H,"URLSearchParams"),r({global:!0,forced:!o},{URLSearchParams:H}),o||"function"!=typeof C||"function"!=typeof w||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,i=[e];return arguments.length>1&&(_(t=arguments[1])&&"URLSearchParams"===p(n=t.body)&&((r=t.headers?new w(t.headers):new w).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=A(t,{body:v(0,String(n)),headers:v(0,r)})),i.push(t)),C.apply(this,i)}}),e.exports={URLSearchParams:H,getState:S}},function(e,t,n){var r=n(28),i=n(94);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){"use strict";n(10)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(e,t,n){!function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol:function(e){return"Symbol("+e+")"};function n(){}var r=Number.isNaN||function(e){return e!=e},i=n;function o(e){return"object"==typeof e&&null!==e||"function"==typeof e}function a(e){return e.slice()}function s(e){return!1!==function(e){return!("number"!=typeof e||r(e)||e<0)}(e)&&e!==1/0}function l(e,t,n){if("function"!=typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,n)}function u(e,t,n,r){var i=e[t];if(void 0!==i){if("function"!=typeof i)throw new TypeError(i+" is not a method");switch(n){case 0:return function(){return h(i,e,r)};case 1:return function(t){var n=[t].concat(r);return h(i,e,n)}}}return function(){return m(void 0)}}
vendor: 8,733 bytes, line 1
1function c(e,t,n){var r=e[t];if(void 0!==r)return l(r,e,n)}function h(e,t,n){try{return m(l(e,t,n))}catch(r){return y(r)}}function d(e){if(e=Number(e),r(e)||e<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e}function f(e){if(void 0===e)return function(){return 1};if("function"!=typeof e)throw new TypeError("size property of a queuing strategy must be a function");return function(t){return e(t)}}var p=Promise,g=Promise.prototype.then,_=Promise.resolve.bind(p),A=Promise.reject.bind(p);function v(e){return new p(e)}function m(e){return _(e)}function y(e){return A(e)}function b(e,t,n){return g.call(e,t,n)}function C(e,t,n){b(b(e,t,n),void 0,i)}function w(e,t){C(e,t)}function k(e,t){C(e,void 0,t)}function E(e,t,n){return b(e,t,n)}function S(e){b(e,void 0,i)}var O=function(){function e(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(e.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.push=function(e){var t=this._back,n=t;16383===t._elements.length&&(n={_elements:[],_next:void 0}),t._elements.push(e),n!==t&&(this._back=n,t._next=n),++this._size},e.prototype.shift=function(){var e=this._front,t=e,n=this._cursor,r=n+1,i=e._elements,o=i[n];return 16384===r&&(t=e._next,r=0),--this._size,this._cursor=r,e!==t&&(this._front=t),i[n]=void 0,o},e.prototype.forEach=function(e){for(var t=this._cursor,n=this._front,r=n._elements;!(t===r.length&&void 0===n._next||t===r.length&&(t=0,0===(r=(n=n._next)._elements).length));)e(r[t]),++t},e.prototype.peek=function(){return this._front._elements[this._cursor]},e}();function x(e,t,n){var r=null;!0===n&&(r=Object.prototype);var i=Object.create(r);return i.value=e,i.done=t,i}function P(e,t){e._forAuthorCode=!0,e._ownerReadableStream=t,t._reader=e,"readable"===t._state?M(e):"closed"===t._state?function(e){M(e),F(e)}(e):I(e,t._storedError)}function T(e,t){return Ut(e._ownerReadableStream,t)}function B(e){"readable"===e._ownerReadableStream._state?R(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(e,t){I(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness"))}(e),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function D(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function M(e){e._closedPromise=v((function(t,n){e._closedPromise_resolve=t,e._closedPromise_reject=n}))}function I(e,t){M(e),R(e,t)}function R(e,t){S(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function F(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}var L=t("[[CancelSteps]]"),U=t("[[PullSteps]]");function N(e,t){void 0===t&&(t=!1);var n=new z(e);return n._forAuthorCode=t,n}function j(e){return v((function(t,n){e._reader._readRequests.push({_resolve:t,_reject:n})}))}function H(e,t,n){var r=e._reader;r._readRequests.shift()._resolve(x(t,n,r._forAuthorCode))}function Q(e){return e._reader._readRequests.length}function V(e){var t=e._reader;return void 0!==t&&!!q(t)}var K,W,z=function(){function e(e){if(!1===Ft(e))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===Lt(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");P(this,e),this._readRequests=new O}return Object.defineProperty(e.prototype,"closed",{get:function(){return q(this)?this._closedPromise:y(G("closed"))},enumerable:!0,configurable:!0}),e.prototype.cancel=function(e){return q(this)?void 0===this._ownerReadableStream?y(D("cancel")):T(this,e):y(G("cancel"))},e.prototype.read=function(){return q(this)?void 0===this._ownerReadableStream?y(D("read from")):Y(this):y(G("read"))},e.prototype.releaseLock=function(){if(!q(this))throw G("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");B(this)}},e}();function q(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")}function Y(e){var t=e._ownerReadableStream;return t._disturbed=!0,"closed"===t._state?m(x(void 0,!0,e._forAuthorCode)):"errored"===t._state?y(t._storedError):t._readableStreamController[U]()}function G(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}"symbol"==typeof t.asyncIterator&&((K={})[t.asyncIterator]=function(){return this},W=K,Object.defineProperty(W,t.asyncIterator,{enumerable:!1}));var X={next:function(){if(!1===J(this))return y(Z("next"));var e=this._asyncIteratorReader;return void 0===e._ownerReadableStream?y(D("iterate")):E(Y(e),(function(t){var n=t.done;return n&&B(e),x(t.value,n,!0)}))},return:function(e){if(!1===J(this))return y(Z("next"));var t=this._asyncIteratorReader;if(void 0===t._ownerReadableStream)return y(D("finish iterating"));if(t._readRequests.length>0)return y(new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled"));if(!1===this._preventCancel){var n=T(t,e);return B(t),E(n,(function(){return x(e,!0,!0)}))}return B(t),m(x(e,!0,!0))}};function J(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorReader")}function Z(e){return new TypeError("ReadableStreamAsyncIterator."+e+" can only be used on a ReadableSteamAsyncIterator")}function $(e){var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function ee(e,t,n){if(!s(n=Number(n)))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:n}),e._queueTotalSize+=n}function te(e){e._queue=new O,e._queueTotalSize=0}void 0!==W&&Object.setPrototypeOf(X,W),Object.defineProperty(X,"next",{enumerable:!1}),Object.defineProperty(X,"return",{enumerable:!1});var ne=t("[[AbortSteps]]"),re=t("[[ErrorSteps]]"),ie=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),ae(this);var n=t.size,r=t.highWaterMark;if(void 0!==e.type)throw new RangeError("Invalid type is specified");var i=f(n);void 0===r&&(r=1),function(e,t,n,r){var i=Object.create(we.prototype),o=u(t,"write",1,[i]),a=u(t,"close",0,[]),s=u(t,"abort",1,[]);ke(e,i,(function(){return c(t,"start",[i])}),o,a,s,n,r)}(this,e,r=d(r),i)}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!1===se(this))throw Be("locked");return le(this)},enumerable:!0,configurable:!0}),e.prototype.abort=function(e){return!1===se(this)?y(Be("abort")):!0===le(this)?y(new TypeError("Cannot abort a stream that already has a writer")):ue(this,e)},e.prototype.close=function(){return!1===se(this)?y(Be("close")):!0===le(this)?y(new TypeError("Cannot close a stream that already has a writer")):!0===pe(this)?y(new TypeError("Cannot close an already-closing stream")):ce(this)},e.prototype.getWriter=function(){if(!1===se(this))throw Be("getWriter");return oe(this)},e}();function oe(e){return new Ae(e)}function ae(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new O,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function se(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")}function le(e){return void 0!==e._writer}function ue(e,t){var n=e._state;if("closed"===n||"errored"===n)return m(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;var r=!1;"erroring"===n&&(r=!0,t=void 0);var i=v((function(n,i){e._pendingAbortRequest={_promise:void 0,_resolve:n,_reject:i,_reason:t,_wasAlreadyErroring:r}}));return e._pendingAbortRequest._promise=i,!1===r&&de(e,t),i}function ce(e){var t=e._state;if("closed"===t||"errored"===t)return y(new TypeError("The stream (in "+t+" state) is not in the writable state and cannot be closed"));var n,r=v((function(t,n){e._closeRequest={_resolve:t,_reject:n}})),i=e._writer;return void 0!==i&&!0===e._backpressure&&"writable"===t&&Qe(i),ee(n=e._writableStreamController,"close",0),Oe(n),r}function he(e,t){"writable"!==e._state?fe(e):de(e,t)}function de(e,t){var n=e._writableStreamController;e._state="erroring",e._storedError=t;var r=e._writer;void 0!==r&&ye(r,t),!1===function(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}(e)&&!0===n._started&&fe(e)}function fe(e){e._state="errored",e._writableStreamController[re]();var t=e._storedError;
1if(e._writeRequests.forEach((function(e){e._reject(t)})),e._writeRequests=new O,void 0!==e._pendingAbortRequest){var n=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,!0===n._wasAlreadyErroring)return n._reject(t),void ge(e);C(e._writableStreamController[ne](n._reason),(function(){n._resolve(),ge(e)}),(function(t){n._reject(t),ge(e)}))}else ge(e)}function pe(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function ge(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&Fe(t,e._storedError)}function _e(e,t){var n=e._writer;void 0!==n&&t!==e._backpressure&&(!0===t?function(e){Ue(e)}(n):Qe(n)),e._backpressure=t}var Ae=function(){function e(e){if(!1===se(e))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===le(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;var t=e._state;if("writable"===t)!1===pe(e)&&!0===e._backpressure?Ue(this):je(this),Ie(this);else if("erroring"===t)Ne(this,e._storedError),Ie(this);else if("closed"===t)je(this),Ie(this),Le(this);else{var n=e._storedError;Ne(this,n),Re(this,n)}}return Object.defineProperty(e.prototype,"closed",{get:function(){return!1===ve(this)?y(De("closed")):this._closedPromise},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===ve(this))throw De("desiredSize");if(void 0===this._ownerWritableStream)throw Me("desiredSize");return"errored"===(t=(e=this._ownerWritableStream)._state)||"erroring"===t?null:"closed"===t?0:Se(e._writableStreamController);var e,t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ready",{get:function(){return!1===ve(this)?y(De("ready")):this._readyPromise},enumerable:!0,configurable:!0}),e.prototype.abort=function(e){return!1===ve(this)?y(De("abort")):void 0===this._ownerWritableStream?y(Me("abort")):function(e,t){return ue(e._ownerWritableStream,t)}(this,e)},e.prototype.close=function(){if(!1===ve(this))return y(De("close"));var e=this._ownerWritableStream;return void 0===e?y(Me("close")):!0===pe(e)?y(new TypeError("Cannot close an already-closing stream")):me(this)},e.prototype.releaseLock=function(){if(!1===ve(this))throw De("releaseLock");void 0!==this._ownerWritableStream&&be(this)},e.prototype.write=function(e){return!1===ve(this)?y(De("write")):void 0===this._ownerWritableStream?y(Me("write to")):Ce(this,e)},e}();function ve(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")}function me(e){return ce(e._ownerWritableStream)}function ye(e,t){"pending"===e._readyPromiseState?He(e,t):function(e,t){Ne(e,t)}(e,t)}function be(e){var t=e._ownerWritableStream,n=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");ye(e,n),function(e,t){"pending"===e._closedPromiseState?Fe(e,t):function(e,t){Re(e,t)}(e,t)}(e,n),t._writer=void 0,e._ownerWritableStream=void 0}function Ce(e,t){var n=e._ownerWritableStream,r=n._writableStreamController,i=function(e,t){try{return e._strategySizeAlgorithm(t)}catch(n){return xe(e,n),1}}(r,t);if(n!==e._ownerWritableStream)return y(Me("write to"));var o=n._state;if("errored"===o)return y(n._storedError);if(!0===pe(n)||"closed"===o)return y(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===o)return y(n._storedError);var a=function(e){return v((function(t,n){e._writeRequests.push({_resolve:t,_reject:n})}))}(n);return function(e,t,n){var r={chunk:t};try{ee(e,r,n)}catch(o){return void xe(e,o)}var i=e._controlledWritableStream;!1===pe(i)&&"writable"===i._state&&_e(i,Pe(e)),Oe(e)}(r,t,i),a}var we=function(){function e(){throw new TypeError("WritableStreamDefaultController cannot be constructed explicitly")}return e.prototype.error=function(e){if(0==(!!o(this)&&!!Object.prototype.hasOwnProperty.call(this,"_controlledWritableStream")))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&Te(this,e)},e.prototype[ne]=function(e){var t=this._abortAlgorithm(e);return Ee(this),t},e.prototype[re]=function(){te(this)},e}();function ke(e,t,n,r,i,o,a,s){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,te(t),t._started=!1,t._strategySizeAlgorithm=s,t._strategyHWM=a,t._writeAlgorithm=r,t._closeAlgorithm=i,t._abortAlgorithm=o;var l=Pe(t);_e(e,l),C(m(n()),(function(){t._started=!0,Oe(t)}),(function(n){t._started=!0,he(e,n)}))}function Ee(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function Se(e){return e._strategyHWM-e._queueTotalSize}function Oe(e){var t=e._controlledWritableStream;if(!1!==e._started&&void 0===t._inFlightWriteRequest)if("erroring"!==t._state){if(0!==e._queue.length){var n=e._queue.peek().value;"close"===n?function(e){var t=e._controlledWritableStream;(function(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0})(t),$(e);var n=e._closeAlgorithm();Ee(e),C(n,(function(){!function(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,"erroring"===e._state&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";var t=e._writer;void 0!==t&&Le(t)}(t)}),(function(e){!function(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),he(e,t)}(t,e)}))}(e):function(e,t){var n=e._controlledWritableStream;(function(e){e._inFlightWriteRequest=e._writeRequests.shift()})(n),C(e._writeAlgorithm(t),(function(){!function(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}(n);var t=n._state;if($(e),!1===pe(n)&&"writable"===t){var r=Pe(e);_e(n,r)}Oe(e)}
1),(function(t){"writable"===n._state&&Ee(e),function(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,he(e,t)}(n,t)}))}(e,n.chunk)}}else fe(t)}function xe(e,t){"writable"===e._controlledWritableStream._state&&Te(e,t)}function Pe(e){return Se(e)<=0}function Te(e,t){var n=e._controlledWritableStream;Ee(e),de(n,t)}function Be(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function De(e){return new TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function Me(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function Ie(e){e._closedPromise=v((function(t,n){e._closedPromise_resolve=t,e._closedPromise_reject=n,e._closedPromiseState="pending"}))}function Re(e,t){Ie(e),Fe(e,t)}function Fe(e,t){S(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function Le(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved"}function Ue(e){e._readyPromise=v((function(t,n){e._readyPromise_resolve=t,e._readyPromise_reject=n})),e._readyPromiseState="pending"}function Ne(e,t){Ue(e),He(e,t)}function je(e){Ue(e),Qe(e)}function He(e,t){S(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function Qe(e){e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}function Ve(e){if("object"!=typeof e||null===e)return!1;try{return"boolean"==typeof e.aborted}catch(K){return!1}}var Ke,We="undefined"!=typeof DOMException?DOMException:void 0,ze=function(e){if("function"!=typeof e&&"object"!=typeof e)return!1;try{return new e,!0}catch(K){return!1}}(We)?We:((Ke=function(e,t){this.message=e||"",this.name=t||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}).prototype=Object.create(Error.prototype),Object.defineProperty(Ke.prototype,"constructor",{value:Ke,writable:!0,configurable:!0}),Ke);function qe(e,t,r,i,o,a){var s=N(e),l=oe(t);e._disturbed=!0;var u=!1,c=m(void 0);return v((function(h,d){var f,p,g;if(void 0!==a){if(f=function(){var n=new ze("Aborted","AbortError"),r=[];!1===i&&r.push((function(){return"writable"===t._state?ue(t,n):m(void 0)})),!1===o&&r.push((function(){return"readable"===e._state?Ut(e,n):m(void 0)})),O((function(){return Promise.all(r.map((function(e){return e()})))}),!0,n)},!0===a.aborted)return void f();a.addEventListener("abort",f)}if(E(e,s._closedPromise,(function(e){!1===i?O((function(){return ue(t,e)}),!0,e):x(!0,e)})),E(t,l._closedPromise,(function(t){!1===o?O((function(){return Ut(e,t)}),!0,t):x(!0,t)})),p=s._closedPromise,g=function(){!1===r?O((function(){return function(e){var t=e._ownerWritableStream,n=t._state;return!0===pe(t)||"closed"===n?m(void 0):"errored"===n?y(t._storedError):me(e)}(l)})):x()},"closed"===e._state?g():w(p,g),!0===pe(t)||"closed"===t._state){var _=new TypeError("the destination writable stream closed before all data could be piped to it");!1===o?O((function(){return Ut(e,_)}),!0,_):x(!0,_)}function A(){var e=c;return b(c,(function(){return e!==c?A():void 0}))}function E(e,t,n){"errored"===e._state?n(e._storedError):k(t,n)}function O(e,n,r){function i(){C(e(),(function(){return P(n,r)}),(function(e){return P(!0,e)}))}!0!==u&&(u=!0,"writable"===t._state&&!1===pe(t)?w(A(),i):i())}function x(e,n){!0!==u&&(u=!0,"writable"===t._state&&!1===pe(t)?w(A(),(function(){return P(e,n)})):P(e,n))}function P(e,t){be(l),B(s),void 0!==a&&a.removeEventListener("abort",f),e?d(t):h(void 0)}S(v((function(e,t){!function r(i){i?e():b(!0===u?m(!0):b(l._readyPromise,(function(){return b(Y(s),(function(e){return!0===e.done||(c=b(Ce(l,e.value),void 0,n),!1)}))})),r,t)}(!1)})))}))}var Ye=function(){function e(){throw new TypeError}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===Ge(this))throw ot("desiredSize");return nt(this)},enumerable:!0,configurable:!0}),e.prototype.close=function(){if(!1===Ge(this))throw ot("close");if(!1===rt(this))throw new TypeError("The stream is not in a state that permits close");$e(this)},e.prototype.enqueue=function(e){if(!1===Ge(this))throw ot("enqueue");if(!1===rt(this))throw new TypeError("The stream is not in a state that permits enqueue");return et(this,e)},e.prototype.error=function(e){if(!1===Ge(this))throw ot("error");tt(this,e)},e.prototype[L]=function(e){te(this);var t=this._cancelAlgorithm(e);return Ze(this),t},e.prototype[U]=function(){var e=this._controlledReadableStream;if(this._queue.length>0){var t=$(this);return!0===this._closeRequested&&0===this._queue.length?(Ze(this),Nt(e)):Xe(this),m(x(t,!1,e._reader._forAuthorCode))}var n=j(e);return Xe(this),n},e}();function Ge(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")}function Xe(e){!1!==Je(e)&&(!0!==e._pulling?(e._pulling=!0,C(e._pullAlgorithm(),(function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,Xe(e))}),(function(t){tt(e,t)}))):e._pullAgain=!0)}function Je(e){var t=e._controlledReadableStream;return!1!==rt(e)&&!1!==e._started&&(!0===Lt(t)&&Q(t)>0||nt(e)>0)}function Ze(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function $e(e){var t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(Ze(e),Nt(t))}function et(e,t){var n=e._controlledReadableStream;if(!0===Lt(n)&&Q(n)>0)H(n,t,!1);else{var r=void 0;try{r=e._strategySizeAlgorithm(t)}catch(i){throw tt(e,i),i}try{ee(e,t,r)}catch(o){throw tt(e,o),o}}Xe(e)}function tt(e,t){var n=e._controlledReadableStream;"readable"===n._state&&(te(e),Ze(e),jt(n,t))}function nt(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function rt(e){return!1===e._closeRequested&&"readable"===e._controlledReadableStream._state}function it(e,t,n,r,i,o,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,te(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=o,t._pullAlgorithm=r,t._cancelAlgorithm=i,e._readableStreamController=t,C(m(n()),(function(){t._started=!0,Xe(t)}),(function(e){tt(t,e)}))}function ot(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}var at=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},st=function(){function e(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}return Object.defineProperty(e.prototype,"view",{get:function(){if(!1===ct(this))throw Et("view");return this._view},enumerable:!0,configurable:!0}),e.prototype.respond=function(e){if(!1===ct(this))throw Et("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");!function(e,t){if(!1===s(t=Number(t)))throw new RangeError("bytesWritten must be a finite");yt(e,t)}(this._associatedReadableByteStreamController,e)},e.prototype.respondWithNewView=function(e){if(!1===ct(this))throw Et("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");!function(e,t){var n=e._pendingPullIntos.peek();if(n.byteOffset+n.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");
vendor: 11,867 bytes, line 1
1if(n.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");n.buffer=t.buffer,yt(e,t.byteLength)}(this._associatedReadableByteStreamController,e)},e}(),lt=function(){function e(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}return Object.defineProperty(e.prototype,"byobRequest",{get:function(){if(!1===ut(this))throw St("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var e=this._pendingPullIntos.peek(),t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled),n=Object.create(st.prototype);!function(e,t,n){e._associatedReadableByteStreamController=t,e._view=n}(n,this,t),this._byobRequest=n}return this._byobRequest},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===ut(this))throw St("desiredSize");return kt(this)},enumerable:!0,configurable:!0}),e.prototype.close=function(){if(!1===ut(this))throw St("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");!function(e){var t=e._controlledReadableByteStream;if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0&&e._pendingPullIntos.peek().bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw wt(e,n),n}Ct(e),Nt(t)}}(this)},e.prototype.enqueue=function(e){if(!1===ut(this))throw St("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(e))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");!function(e,t){var n=e._controlledReadableByteStream,r=t.byteOffset,i=t.byteLength,o=t.buffer;!0===V(n)?0===Q(n)?pt(e,o,r,i):H(n,new Uint8Array(o,r,i),!1):!0===Pt(n)?(pt(e,o,r,i),mt(e)):pt(e,o,r,i),ht(e)}(this,e)},e.prototype.error=function(e){if(!1===ut(this))throw St("error");wt(this,e)},e.prototype[L]=function(e){this._pendingPullIntos.length>0&&(this._pendingPullIntos.peek().bytesFilled=0),te(this);var t=this._cancelAlgorithm(e);return Ct(this),t},e.prototype[U]=function(){var e=this._controlledReadableByteStream;if(this._queueTotalSize>0){var t=this._queue.shift();this._queueTotalSize-=t.byteLength,At(this);var n=void 0;try{n=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(s){return y(s)}return m(x(n,!1,e._reader._forAuthorCode))}var r=this._autoAllocateChunkSize;if(void 0!==r){var i=void 0;try{i=new ArrayBuffer(r)}catch(l){return y(l)}var o={buffer:i,byteOffset:0,byteLength:r,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(o)}var a=j(e);return ht(this),a},e}();function ut(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")}function ct(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}function ht(e){!1!==function(e){var t=e._controlledReadableByteStream;return"readable"===t._state&&!0!==e._closeRequested&&!1!==e._started&&(!0===V(t)&&Q(t)>0||!0===Pt(t)&&xt(t)>0||kt(e)>0)}(e)&&(!0!==e._pulling?(e._pulling=!0,C(e._pullAlgorithm(),(function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,ht(e))}),(function(t){wt(e,t)}))):e._pullAgain=!0)}function dt(e,t){var n=!1;"closed"===e._state&&(n=!0);var r=ft(t);"default"===t.readerType?H(e,r,n):function(e,t,n){var r=e._reader;r._readIntoRequests.shift()._resolve(x(t,n,r._forAuthorCode))}(e,r,n)}function ft(e){return new e.ctor(e.buffer,e.byteOffset,e.bytesFilled/e.elementSize)}function pt(e,t,n,r){e._queue.push({buffer:t,byteOffset:n,byteLength:r}),e._queueTotalSize+=r}function gt(e,t){var n=t.elementSize,r=t.bytesFilled-t.bytesFilled%n,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),o=t.bytesFilled+i,a=o-o%n,s=i,l=!1;a>r&&(s=a-t.bytesFilled,l=!0);for(var u,c,h,d,f=e._queue;s>0;){var p=f.peek(),g=Math.min(s,p.byteLength);u=t.byteOffset+t.bytesFilled,c=p.buffer,h=p.byteOffset,d=g,new Uint8Array(t.buffer).set(new Uint8Array(c,h,d),u),p.byteLength===g?f.shift():(p.byteOffset+=g,p.byteLength-=g),e._queueTotalSize-=g,_t(e,g,t),s-=g}return l}function _t(e,t,n){vt(e),n.bytesFilled+=t}function At(e){0===e._queueTotalSize&&!0===e._closeRequested?(Ct(e),Nt(e._controlledReadableByteStream)):ht(e)}function vt(e){void 0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function mt(e){for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos.peek();!0===gt(e,t)&&(bt(e),dt(e._controlledReadableByteStream,t))}}function yt(e,t){var n=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function(e,t){t.buffer=t.buffer;var n=e._controlledReadableByteStream;if(!0===Pt(n))for(;xt(n)>0;)dt(n,bt(e))}(e,n)}else!function(e,t,n){if(n.bytesFilled+t>n.byteLength)throw new RangeError("bytesWritten out of range");if(_t(e,t,n),!(n.bytesFilled<n.elementSize)){bt(e);var r=n.bytesFilled%n.elementSize;if(r>0){var i=n.byteOffset+n.bytesFilled,o=n.buffer.slice(i-r,i);pt(e,o,0,o.byteLength)}n.buffer=n.buffer,n.bytesFilled-=r,dt(e._controlledReadableByteStream,n),mt(e)}}(e,t,n);ht(e)}function bt(e){var t=e._pendingPullIntos.shift();return vt(e),t}function Ct(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function wt(e,t){var n=e._controlledReadableByteStream;"readable"===n._state&&(function(e){vt(e),e._pendingPullIntos=new O}(e),te(e),Ct(e),jt(n,t))}function kt(e){var t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function Et(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function St(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function Ot(e){return v((function(t,n){e._reader._readIntoRequests.push({_resolve:t,_reject:n})}))}function xt(e){return e._reader._readIntoRequests.length}function Pt(e){var t=e._reader;return void 0!==t&&!!Bt(t)}var Tt=function(){function e(e){if(!Ft(e))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===ut(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(Lt(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");P(this,e),this._readIntoRequests=new O}return Object.defineProperty(e.prototype,"closed",{get:function(){return Bt(this)?this._closedPromise:y(Dt("closed"))},enumerable:!0,configurable:!0}),e.prototype.cancel=function(e){return Bt(this)?void 0===this._ownerReadableStream?y(D("cancel")):T(this,e):y(Dt("cancel"))},e.prototype.read=function(e){return Bt(this)?void 0===this._ownerReadableStream?y(D("read from")):ArrayBuffer.isView(e)?0===e.byteLength?y(new TypeError("view must have non-zero byteLength")):function(e,t){var n=e._ownerReadableStream;return n._disturbed=!0,"errored"===n._state?y(n._storedError):function(e,t){var n=e._controlledReadableByteStream,r=1;t.constructor!==DataView&&(r=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,o={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:r,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(o),Ot(n);if("closed"===n._state)return m(x(new i(o.buffer,o.byteOffset,0),!0,n._reader._forAuthorCode));if(e._queueTotalSize>0){if(!0===gt(e,o)){var a=ft(o);return At(e),m(x(a,!1,n._reader._forAuthorCode))}if(!0===e._closeRequested){var s=new TypeError("Insufficient bytes to fill elements in the given buffer");return wt(e,s),y(s)}}e._pendingPullIntos.push(o);var l=Ot(n);return ht(e),l}(n._readableStreamController,t)}(this,e):y(new TypeError("view must be an array buffer view")):y(Dt("read"))},e.prototype.releaseLock=function(){if(!Bt(this))throw Dt("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");B(this)}},e}();function Bt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}function Dt(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}var Mt=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Rt(this);var n=t.size,r=t.highWaterMark,i=e.type;if("bytes"===String(i)){if(void 0!==n)throw new RangeError("The strategy for a byte stream cannot have a size function");void 0===r&&(r=0),function(e,t,n){var r=Object.create(lt.prototype),i=u(t,"pull",0,[r]),o=u(t,"cancel",1,[]),a=t.autoAllocateChunkSize;if(void 0!==a&&(a=Number(a),!1===at(a)||a<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");!function(e,t,n,r,i,o,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=void 0,t._queue=t._queueTotalSize=void 0,te(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=d(o),t._pullAlgorithm=r,t._cancelAlgorithm=i,t._autoAllocateChunkSize=a,t._pendingPullIntos=new O,e._readableStreamController=t,C(m(n()),(function(){t._started=!0,ht(t)}),(function(e){wt(t,e)}))}(e,r,(function(){return c(t,"start",[r])}),i,o,n,a)}(this,e,r=d(r))}else{if(void 0!==i)throw new RangeError("Invalid type is specified");var o=f(n);void 0===r&&(r=1),function(e,t,n,r){var i=Object.create(Ye.prototype),o=u(t,"pull",0,[i]),a=u(t,"cancel",1,[]);it(e,i,(function(){return c(t,"start",[i])}),o,a,n,r)}(this,e,r=d(r),o)}}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!1===Ft(this))throw Ht("locked");return Lt(this)},enumerable:!0,configurable:!0}),e.prototype.cancel=function(e){return!1===Ft(this)?y(Ht("cancel")):!0===Lt(this)?y(new TypeError("Cannot cancel a stream that already has a reader")):Ut(this,e)},e.prototype.getReader=function(e){var t=(void 0===e?{}:e).mode;if(!1===Ft(this))throw Ht("getReader");if(void 0===t)return N(this,!0);if("byob"===(t=String(t)))return function(e,t){void 0===t&&(t=!1);var n=new Tt(e);return n._forAuthorCode=t,n}(this,!0);throw new RangeError("Invalid mode is specified")},e.prototype.pipeThrough=function(e,t){var n=e.writable,r=e.readable,i=void 0===t?{}:t,o=i.preventClose,a=i.preventAbort,s=i.preventCancel,l=i.signal;if(!1===Ft(this))throw Ht("pipeThrough");if(!1===se(n))throw new TypeError("writable argument to pipeThrough must be a WritableStream");if(!1===Ft(r))throw new TypeError("readable argument to pipeThrough must be a ReadableStream");if(o=Boolean(o),a=Boolean(a),s=Boolean(s),void 0!==l&&!Ve(l))throw new TypeError("ReadableStream.prototype.pipeThrough's signal option must be an AbortSignal");if(!0===Lt(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(!0===le(n))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return S(qe(this,n,o,a,s,l)),r},e.prototype.pipeTo=function(e,t){var n=void 0===t?{}:t,r=n.preventClose,i=n.preventAbort,o=n.preventCancel,a=n.signal;return!1===Ft(this)?y(Ht("pipeTo")):!1===se(e)?y(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream")):(r=Boolean(r),i=Boolean(i),o=Bo
1olean(o),void 0===a||Ve(a)?!0===Lt(this)?y(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):!0===le(e)?y(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):qe(this,e,r,i,o,a):y(new TypeError("ReadableStream.prototype.pipeTo's signal option must be an AbortSignal")))},e.prototype.tee=function(){if(!1===Ft(this))throw Ht("tee");var e=function(e,t){var n,r,i,o,s,l=N(e),u=!1,c=!1,h=!1,d=v((function(e){s=e}));function f(){return!0===u||(u=!0,S(E(Y(l),(function(e){if(u=!1,!0===e.done)return!1===c&&$e(i._readableStreamController),void(!1===h&&$e(o._readableStreamController));var t=e.value,n=t;!1===c&&et(i._readableStreamController,t),!1===h&&et(o._readableStreamController,n)})))),m(void 0)}function p(){}return i=It(p,f,(function(t){if(c=!0,n=t,!0===h){var i=a([n,r]),o=Ut(e,i);s(o)}return d})),o=It(p,f,(function(t){if(h=!0,r=t,!0===c){var i=a([n,r]),o=Ut(e,i);s(o)}return d})),k(l._closedPromise,(function(e){tt(i._readableStreamController,e),tt(o._readableStreamController,e)})),[i,o]}(this);return a(e)},e.prototype.getIterator=function(e){var t=(void 0===e?{}:e).preventCancel,n=void 0!==t&&t;if(!1===Ft(this))throw Ht("getIterator");return function(e,t){void 0===t&&(t=!1);var n=N(e),r=Object.create(X);return r._asyncIteratorReader=n,r._preventCancel=Boolean(t),r}(this,n)},e}();function It(e,t,n,r,i){void 0===r&&(r=1),void 0===i&&(i=function(){return 1});var o=Object.create(Mt.prototype);return Rt(o),it(o,Object.create(Ye.prototype),e,t,n,r,i),o}function Rt(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function Ft(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")}function Lt(e){return void 0!==e._reader}function Ut(e,t){return e._disturbed=!0,"closed"===e._state?m(void 0):"errored"===e._state?y(e._storedError):(Nt(e),E(e._readableStreamController[L](t),n))}function Nt(e){e._state="closed";var t=e._reader;void 0!==t&&(q(t)&&(t._readRequests.forEach((function(e){e._resolve(x(void 0,!0,t._forAuthorCode))})),t._readRequests=new O),F(t))}function jt(e,t){e._state="errored",e._storedError=t;var n=e._reader;void 0!==n&&(q(n)?(n._readRequests.forEach((function(e){e._reject(t)})),n._readRequests=new O):(n._readIntoRequests.forEach((function(e){e._reject(t)})),n._readIntoRequests=new O),R(n,t))}function Ht(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}"symbol"==typeof t.asyncIterator&&Object.defineProperty(Mt.prototype,t.asyncIterator,{value:Mt.prototype.getIterator,enumerable:!1,writable:!0,configurable:!0});var Qt=function(){function e(e){this.highWaterMark=e.highWaterMark}return e.prototype.size=function(e){return e.byteLength},e}(),Vt=function(){function e(e){this.highWaterMark=e.highWaterMark}return e.prototype.size=function(){return 1},e}(),Kt=function(){function e(e,t,n){void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n={});var r=t.size,i=t.highWaterMark,o=n.size,a=n.highWaterMark;if(void 0!==e.writableType)throw new RangeError("Invalid writable type specified");var s=f(r);if(void 0===i&&(i=1),i=d(i),void 0!==e.readableType)throw new RangeError("Invalid readable type specified");var l,p=f(o);void 0===a&&(a=0),a=d(a),function(e,t,n,r,i,o){function a(){return t}e._writable=function(e,t,n,r,i,o){void 0===i&&(i=1),void 0===o&&(o=function(){return 1});var a=Object.create(ie.prototype);return ae(a),ke(a,Object.create(we.prototype),e,t,n,r,i,o),a}(a,(function(t){return function(e,t){var n=e._transformStreamController;return!0===e._backpressure?E(e._backpressureChangePromise,(function(){var r=e._writable;if("erroring"===r._state)throw r._storedError;return $t(n,t)})):$t(n,t)}(e,t)}),(function(){return function(e){var t=e._readable,n=e._transformStreamController,r=n._flushAlgorithm();return Jt(n),E(r,(function(){if("errored"===t._state)throw t._storedError;var e=t._readableStreamController;!0===rt(e)&&$e(e)}),(function(n){throw zt(e,n),t._storedError}))}(e)}),(function(t){return function(e,t){return zt(e,t),m(void 0)}(e,t)}),n,r),e._readable=It(a,(function(){return function(e){return Yt(e,!1),e._backpressureChangePromise}(e)}),(function(t){return qt(e,t),m(void 0)}),i,o),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Yt(e,!0),e._transformStreamController=void 0}(this,v((function(e){l=e})),i,s,a,p),function(e,t){var n=Object.create(Gt.prototype),r=function(e){try{return Zt(n,e),m(void 0)}catch(t){return y(t)}},i=t.transform;if(void 0!==i){if("function"!=typeof i)throw new TypeError("transform is not a method");r=function(e){return h(i,t,[e,n])}}var o=u(t,"flush",0,[n]);!function(e,t,n,r){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=n,t._flushAlgorithm=r}(e,n,r,o)}(this,e);var g=c(e,"start",[this._transformStreamController]);l(g)}return Object.defineProperty(e.prototype,"readable",{get:function(){if(!1===Wt(this))throw tn("readable");return this._readable},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"writable",{get:function(){if(!1===Wt(this))throw tn("writable");return this._writable},enumerable:!0,configurable:!0}),e}();function Wt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")}function zt(e,t){tt(e._readable._readableStreamController,t),qt(e,t)}function qt(e,t){Jt(e._transformStreamController),xe(e._writable._writableStreamController,t),!0===e._backpressure&&Yt(e,!1)}function Yt(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=v((function(t){e._backpressureChangePromise_resolve=t})),e._backpressure=t}var Gt=function(){function e(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===Xt(this))throw en("desiredSize");return nt(this._controlledTransformStream._readable._readableStreamController)},enumerable:!0,configurable:!0}),e.prototype.enqueue=function(e){if(!1===Xt(this))throw en("enqueue");Zt(this,e)},e.prototype.error=function(e){if(!1===Xt(this))throw en("error");zt(this._controlledTransformStream,e)},e.prototype.terminate=function(){if(!1===Xt(this))throw en("terminate");var e,t;!0===rt(t=(e=this._controlledTransformStream)._readable._readableStreamController)&&$e(t),qt(e,new TypeError("TransformStream terminated"))},e}();function Xt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")}function Jt(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function Zt(e,t){var n=e._controlledTransformStream,r=n._readable._readableStreamController;if(!1===rt(r))throw new TypeError("Readable side is not in a state that permits enqueue");try{et(r,t)}catch(i){throw qt(n,i),n._readable._storedError}(function(e){return!0!==Je(e)})(r)!==n._backpressure&&Yt(n,!0)}function $t(e,t){return E(e._transformAlgorithm(t),void 0,(function(t){throw zt(e._controlledTransformStream,t),t}))}function en(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function tn(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}e.ByteLengthQueuingStrategy=Qt,e.CountQueuingStrategy=Vt,e.ReadableStream=Mt,e.TransformStream=Kt,e.WritableStream=ie,Object.defineProperty(e,"__esMo
1dule",{value:!0})}(t)},function(e,t,n){n(145),n(114),n(77),n(116);var r=n(43);e.exports=r.Map},function(e,t,n){"use strict";var r=n(146),i=n(150);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},function(e,t,n){"use strict";var r=n(10),i=n(11),o=n(52),a=n(29),s=n(147),l=n(124),u=n(123),c=n(22),h=n(14),d=n(97),f=n(85),p=n(149);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),_=-1!==e.indexOf("Weak"),A=g?"set":"add",v=i[e],m=v&&v.prototype,y=v,b={},C=function(e){var t=m[e];a(m,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(_&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return _&&!c(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(_&&!c(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(o(e,"function"!=typeof v||!(_||m.forEach&&!h((function(){(new v).entries().next()})))))y=n.getConstructor(t,e,g,A),s.REQUIRED=!0;else if(o(e,!0)){var w=new y,k=w[A](_?{}:-0,1)!=w,E=h((function(){w.has(1)})),S=d((function(e){new v(e)})),O=!_&&h((function(){for(var e=new v,t=5;t--;)e[A](t,t);return!e.has(-0)}));S||((y=t((function(t,n){u(t,y,e);var r=p(new v,t,y);return null!=n&&l(n,r[A],r,g),r}))).prototype=m,m.constructor=y),(E||O)&&(C("delete"),C("has"),g&&C("get")),(O||k)&&C(A),_&&m.clear&&delete m.clear}return b[e]=y,r({global:!0,forced:y!=v},b),f(y,e),_||n.setStrong(y,e,g),y}},function(e,t,n){var r=n(39),i=n(22),o=n(23),a=n(27).f,s=n(38),l=n(148),u=s("meta"),c=0,h=Object.isExtensible||function(){return!0},d=function(e){a(e,u,{value:{objectID:"O"+ ++c,weakData:{}}})},f=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,u)){if(!h(e))return"F";if(!t)return"E";d(e)}return e[u].objectID},getWeakData:function(e,t){if(!o(e,u)){if(!h(e))return!0;if(!t)return!1;d(e)}return e[u].weakData},onFreeze:function(e){return l&&f.REQUIRED&&h(e)&&!o(e,u)&&d(e),e}};r[u]=!0},function(e,t,n){var r=n(14);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var r=n(22),i=n(87);e.exports=function(e,t,n){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},function(e,t,n){"use strict";var r=n(27).f,i=n(71),o=n(121),a=n(62),s=n(123),l=n(124),u=n(79),c=n(122),h=n(13),d=n(147).fastKey,f=n(33),p=f.set,g=f.getterFor;e.exports={getConstructor:function(e,t,n,u){var c=e((function(e,r){s(e,c,t),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),h||(e.size=0),null!=r&&l(r,e[u],e,n)})),f=g(t),_=function(e,t,n){var r,i,o=f(e),a=A(e,t);return a?a.value=n:(o.last=a={index:i=d(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),h?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},A=function(e,t){var n,r=f(e),i=d(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(c.prototype,{clear:function(){for(var e=f(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,h?e.size=0:this.size=0},delete:function(e){var t=f(this),n=A(this,e);if(n){var r=n.next,i=n.previous;delete t.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),t.first==n&&(t.first=r),t.last==n&&(t.last=i),h?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=f(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!A(this,e)}}),o(c.prototype,n?{get:function(e){var t=A(this,e);return t&&t.value},set:function(e,t){return _(this,0===e?0:e,t)}}:{add:function(e){return _(this,e=0===e?0:e,e)}}),h&&r(c.prototype,"size",{get:function(){return f(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=g(t),o=g(r);u(e,t,(function(e,t){p(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},function(e,t,n){n(152),n(114),n(77),n(116);var r=n(43);e.exports=r.Set},function(e,t,n){"use strict";var r=n(146),i=n(150);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},function(e,t,n){n(114),n(154),n(116);var r=n(43);e.exports=r.WeakMap},function(e,t,n){"use strict";var r,i=n(11),o=n(121),a=n(147),s=n(146),l=n(155),u=n(22),c=n(33).enforce,h=n(34),d=!i.ActiveXObject&&"ActiveXObject"in i,f=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},g=e.exports=s("WeakMap",p,l);if(h&&d){r=l.getConstructor(p,"WeakMap",!0),a.REQUIRED=!0;var _=g.prototype,A=_.delete,v=_.has,m=_.get,y=_.set;o(_,{delete:function(e){if(u(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new r),A.call(this,e)||t.frozen.delete(e)}return A.call(this,e)},has:function(e){if(u(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new r),v.call(this,e)||t.frozen.has(e)}return v.call(this,e)},get:function(e){if(u(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new r),v.call(this,e)?m.call(this,e):t.frozen.get(e)}return m.call(this,e)},set:function(e,t){if(u(e)&&!f(e)){var n=c(this);n.frozen||(n.frozen=new r),v.call(this,e)?y.call(this,e,t):n.frozen.set(e,t)}else y.call(this,e,t);return this}})}},function(e,t,n){"use strict";var r=n(121),i=n(147).getWeakData,o=n(28),a=n(22),s=n(123),l=n(124),u=n(156),c=n(23),h=n(33),d=h.set,f=h.getterFor,p=u.find,g=u.findIndex,_=0,A=function(e){return e.frozen||(e.frozen=new v)},v=function(){this.entries=[]},m=function(e,t){return p(e.entries,(function(e){return e[0]===t}))};v.prototype={get:function(e){var t=m(this,e);if(t)return t[1]},has:function(e){return!!m(this,e)},set:function(e,t){var n=m(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,u){var h=e((function(e,r){s(e,h,t),d(e,{type:t,id:_++,frozen:void 0}),null!=r&&l(r,e[u],e,n)})),p=f(t),g=function(e,t,n){var r=p(e),a=i(o(t),!0);return!0===a?A(r).set(t,n):a[r.id]=n,e};return r(h.prototype,{delete:function(e){var t=p(this);if(!a(e))return!1;var n=i(e);return!0===n?A(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=p(this);if(!a(e))return!1;var n=i(e);return!0===n?A(t).has(e):n&&c(n,t.id)}}),r(h.prototype,n?{get:function(e){var t=p(this);if(a(e)){var n=i(e);return!0===n?A(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),h}}},function(e,t,n){var r=n(62),i=n(18),o=n(83),a=n(47),s=n(157),l=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,c=4==e,h=6==e,d=5==e||h;return function(f,p,g,_){for(var A,v,m=o(f),y=i(m),b=r(p,g,3),C=a(y.length),w=0,k=_||s,E=t?k(f,C):n?k(f,0):void 0;C>w;w++)if((d||w in y)&&(v=b(A=y[w],w,m),e))if(t)E[w]=v;else if(v)switch(e){case 3:return!0;case 5:return A;case 6:return w;case 2:l.call(E,A)}else if(c)return!1;return h?-1:u||c?c:E}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(e,t,n){var r=n(22),i=n(158),o=n(57)("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(19);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){n(114),n(160),n(116);var r=n(43);e.exports=r.WeakSet},function(e,t,n){"use strict";n(146)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(155))},function(e,t,n){n(162);var r=n(61);e.exports=r("String","codePointAt")},function(e,t,n){"use strict";var r=n(10),i=n(78).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return i(this,e)}})},function(e,t,n){n(164);var r=n(43);e.exports=r.String.fromCodePoint},function(e,t,n){var r=n(10),i=n(49),o=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){n(166),n(114),n(168),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187);var r=n(43);e.exports=r.Symbol},function(e,t,n){"use strict";var r=n(10),i=n(14),o=n(158),a=n(22),s=n(83),l=n(47),u=n(93),c=n(157),h=n(167),d=n(57),f=n(133),p=d("isConcatSpreadable"),g=f>=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),_=h("concat"),A=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,forced:!g||!_},{concat:function(e){var t,n,r,i,o,a=s(this),h=c(a,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(A(o=-1===t?a:arguments[t])){if(d+(i=l(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,d++)n in o&&u(h,d,o[n])}else{if(d>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(h,d++,o)}return h.length=d,h}})},function(e,t,n){var r=n(14),i=n(57),o=n(133),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}
vendor: 6,073 bytes, line 1
1},1!==t[e](Boolean).foo}))}},function(e,t,n){"use strict";var r=n(10),i=n(11),o=n(42),a=n(37),s=n(13),l=n(58),u=n(59),c=n(14),h=n(23),d=n(158),f=n(22),p=n(28),g=n(83),_=n(17),A=n(21),v=n(16),m=n(71),y=n(73),b=n(44),C=n(169),w=n(51),k=n(12),E=n(27),S=n(15),O=n(26),x=n(29),P=n(36),T=n(35),B=n(39),D=n(38),M=n(57),I=n(170),R=n(171),F=n(85),L=n(33),U=n(156).forEach,N=T("hidden"),j=M("toPrimitive"),H=L.set,Q=L.getterFor("Symbol"),V=Object.prototype,K=i.Symbol,W=o("JSON","stringify"),z=k.f,q=E.f,Y=C.f,G=S.f,X=P("symbols"),J=P("op-symbols"),Z=P("string-to-symbol-registry"),$=P("symbol-to-string-registry"),ee=P("wks"),te=i.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&c((function(){return 7!=m(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=z(V,t);r&&delete V[t],q(e,t,n),r&&e!==V&&q(V,t,r)}:q,ie=function(e,t){var n=X[e]=m(K.prototype);return H(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},oe=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof K},ae=function(e,t,n){e===V&&ae(J,t,n),p(e);var r=A(t,!0);return p(n),h(X,r)?(n.enumerable?(h(e,N)&&e[N][r]&&(e[N][r]=!1),n=m(n,{enumerable:v(0,!1)})):(h(e,N)||q(e,N,v(1,{})),e[N][r]=!0),re(e,r,n)):q(e,r,n)},se=function(e,t){p(e);var n=_(t),r=y(n).concat(he(n));return U(r,(function(t){s&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=A(e,!0),n=G.call(this,t);return!(this===V&&h(X,t)&&!h(J,t))&&(!(n||!h(this,t)||!h(X,t)||h(this,N)&&this[N][t])||n)},ue=function(e,t){var n=_(e),r=A(t,!0);if(n!==V||!h(X,r)||h(J,r)){var i=z(n,r);return!i||!h(X,r)||h(n,N)&&n[N][r]||(i.enumerable=!0),i}},ce=function(e){var t=Y(_(e)),n=[];return U(t,(function(e){h(X,e)||h(B,e)||n.push(e)})),n},he=function(e){var t=e===V,n=Y(t?J:_(e)),r=[];return U(n,(function(e){!h(X,e)||t&&!h(V,e)||r.push(X[e])})),r};l||(x((K=function(){if(this instanceof K)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=D(e),n=function(e){this===V&&n.call(J,e),h(this,N)&&h(this[N],t)&&(this[N][t]=!1),re(this,t,v(1,e))};return s&&ne&&re(V,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",(function(){return Q(this).tag})),x(K,"withoutSetter",(function(e){return ie(D(e),e)})),S.f=le,E.f=ae,k.f=ue,b.f=C.f=ce,w.f=he,I.f=function(e){return ie(M(e),e)},s&&(q(K.prototype,"description",{configurable:!0,get:function(){return Q(this).description}}),a||x(V,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:K}),U(y(ee),(function(e){R(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(h(Z,t))return Z[t];var n=K(t);return Z[t]=n,$[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(h($,e))return $[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?m(e):se(m(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ce,getOwnPropertySymbols:he}),r({target:"Object",stat:!0,forced:c((function(){w.f(1)}))},{getOwnPropertySymbols:function(e){return w.f(g(e))}}),W&&r({target:"JSON",stat:!0,forced:!l||c((function(){var e=K();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))}))},{stringify:function(e,t,n){for(var r,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=t,(f(t)||void 0!==e)&&!oe(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),i[1]=t,W.apply(null,i)}}),K.prototype[j]||O(K.prototype,j,K.prototype.valueOf),F(K,"Symbol"),B[N]=!0},function(e,t,n){var r=n(17),i=n(44).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(t){return a.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(57);t.f=r},function(e,t,n){var r=n(43),i=n(23),o=n(170),a=n(27).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t,n){n(171)("asyncIterator")},function(e,t,n){"use strict";var r=n(10),i=n(13),o=n(11),a=n(23),s=n(22),l=n(27).f,u=n(40),c=o.Symbol;if(i&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var h={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new c(e):void 0===e?c():c(e);return""===e&&(h[t]=!0),t};u(d,c);var f=d.prototype=c.prototype;f.constructor=d;var p=f.toString,g="Symbol(test)"==String(c("test")),_=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(a(h,e))return"";var n=g?t.slice(7,-1):t.replace(_,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},function(e,t,n){n(171)("hasInstance")},function(e,t,n){n(171)("isConcatSpreadable")},function(e,t,n){n(171)("iterator")},function(e,t,n){n(171)("match")},function(e,t,n){n(171)("matchAll")},function(e,t,n){n(171)("replace")},function(e,t,n){n(171)("search")},function(e,t,n){n(171)("species")},function(e,t,n){n(171)("split")},function(e,t,n){n(171)("toPrimitive")},function(e,t,n){n(171)("toStringTag")},function(e,t,n){n(171)("unscopables")},function(e,t,n){n(85)(Math,"Math",!0)},function(e,t,n){var r=n(11);n(85)(r.JSON,"JSON",!0)},function(e,t,n){n(189);var r=n(61);e.exports=r("String","padStart")},function(e,t,n){"use strict";var r=n(10),i=n(190).start;r({target:"String",proto:!0,forced:n(192)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(47),i=n(191),o=n(20),a=Math.ceil,s=function(e){return function(t,n,s){var l,u,c=String(o(t)),h=c.length,d=void 0===s?" ":String(s),f=r(n);return f<=h||""==d?c:((u=i.call(d,a((l=f-h)/d.length))).length>l&&(u=u.slice(0,l)),e?c+u:u+c)}};e.exports={start:s(!1),end:s(!0)}},function(e,t,n){"use strict";var r=n(48),i=n(20);e.exports="".repeat||function(e){var t=String(i(this)),n="",o=r(e);
1if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},function(e,t,n){var r=n(127);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){n(194);var r=n(61);e.exports=r("String","padEnd")},function(e,t,n){"use strict";var r=n(10),i=n(190).end;r({target:"String",proto:!0,forced:n(192)},{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(196);var r=n(43);e.exports=r.Object.values},function(e,t,n){var r=n(10),i=n(197).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},function(e,t,n){var r=n(13),i=n(73),o=n(17),a=n(15).f,s=function(e){return function(t){for(var n,s=o(t),l=i(s),u=l.length,c=0,h=[];u>c;)n=l[c++],r&&!a.call(s,n)||h.push(e?[n,s[n]]:s[n]);return h}};e.exports={entries:s(!0),values:s(!1)}},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.build=exports.version=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFWorker=exports.PDFDataRangeTransport=exports.LoopbackPort=void 0;var _regenerator=_interopRequireDefault(__w_pdfjs_require__(2)),_util=__w_pdfjs_require__(5),_display_utils=__w_pdfjs_require__(1),_font_loader=__w_pdfjs_require__(199),_api_compatibility=__w_pdfjs_require__(200),_canvas=__w_pdfjs_require__(201),_worker_options=__w_pdfjs_require__(203),_is_node=__w_pdfjs_require__(7),_message_handler=__w_pdfjs_require__(204),_metadata=__w_pdfjs_require__(205),_transport_stream=__w_pdfjs_require__(207),_webgl=__w_pdfjs_require__(208);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function asyncGeneratorStep(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){asyncGeneratorStep(o,r,i,a,s,"next",e)}function s(e){asyncGeneratorStep(o,r,i,a,s,"throw",e)}a(void 0)}))}}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 _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}function _slicedToArray(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 _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 _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(l){i=!0,o=l}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 _typeof(e){return(_typeof="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)}var DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100,createPDFNetworkStream;function setPDFNetworkStreamFactory(e){createPDFNetworkStream=e}function getDocument(e){var t,n=new PDFDocumentLoadingTask;if("string"==typeof e)t={url:e};else if((0,_util.isArrayBuffer)(e))t={data:e};else if(e instanceof PDFDataRangeTransport)t={range:e};else{if("object"!==_typeof(e))throw new Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");
1if(!e.url&&!e.data&&!e.range)throw new Error("Invalid parameter object: need either .data, .range or .url");t=e}var r=Object.create(null),i=null,o=null;for(var a in t)if("url"!==a||"undefined"==typeof window)if("range"!==a)if("worker"!==a)if("data"!==a||t[a]instanceof Uint8Array)r[a]=t[a];else{var s=t[a];if("string"==typeof s)r[a]=(0,_util.stringToBytes)(s);else if("object"!==_typeof(s)||null===s||isNaN(s.length)){if(!(0,_util.isArrayBuffer)(s))throw new Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.");r[a]=new Uint8Array(s)}else r[a]=new Uint8Array(s)}else o=t[a];else i=t[a];else r[a]=new URL(t[a],window.location).href;if(r.rangeChunkSize=r.rangeChunkSize||DEFAULT_RANGE_CHUNK_SIZE,r.CMapReaderFactory=r.CMapReaderFactory||_display_utils.DOMCMapReaderFactory,r.ignoreErrors=!0!==r.stopAtErrors,r.fontExtraProperties=!0===r.fontExtraProperties,r.pdfBug=!0===r.pdfBug,Number.isInteger(r.maxImageSize)||(r.maxImageSize=-1),"boolean"!=typeof r.isEvalSupported&&(r.isEvalSupported=!0),"boolean"!=typeof r.disableFontFace&&(r.disableFontFace=_api_compatibility.apiCompatibilityParams.disableFontFace||!1),"boolean"!=typeof r.disableRange&&(r.disableRange=!1),"boolean"!=typeof r.disableStream&&(r.disableStream=!1),"boolean"!=typeof r.disableAutoFetch&&(r.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(r.verbosity),!o){var l={verbosity:r.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};o=l.port?PDFWorker.fromPort(l):new PDFWorker(l),n._worker=o}var u=n.docId;return o.promise.then((function(){if(n.destroyed)throw new Error("Loading aborted");var e=_fetchDocument(o,r,i,u),t=new Promise((function(e){var t;i?t=new _transport_stream.PDFDataTransportStream({length:r.length,initialData:r.initialData,progressiveDone:r.progressiveDone,disableRange:r.disableRange,disableStream:r.disableStream},i):r.data||(t=createPDFNetworkStream({url:r.url,length:r.length,httpHeaders:r.httpHeaders,withCredentials:r.withCredentials,rangeChunkSize:r.rangeChunkSize,disableRange:r.disableRange,disableStream:r.disableStream})),e(t)}));return Promise.all([e,t]).then((function(e){var t=_slicedToArray(e,2),i=t[0],a=t[1];if(n.destroyed)throw new Error("Loading aborted");var s=new _message_handler.MessageHandler(u,i,o.port);s.postMessageTransfers=o.postMessageTransfers;var l=new WorkerTransport(s,n,a,r);n._transport=l,s.send("Ready",null)}))})).catch(n._capability.reject),n}function _fetchDocument(e,t,n,r){return e.destroyed?Promise.reject(new Error("Worker was destroyed")):(n&&(t.length=n.length,t.initialData=n.initialData,t.progressiveDone=n.progressiveDone),e.messageHandler.sendWithPromise("GetDocRequest",{docId:r,apiVersion:"2.5.207",source:{data:t.data,url:t.url,password:t.password,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize,length:t.length},maxImageSize:t.maxImageSize,disableFontFace:t.disableFontFace,postMessageTransfers:e.postMessageTransfers,docBaseUrl:t.docBaseUrl,ignoreErrors:t.ignoreErrors,isEvalSupported:t.isEvalSupported,fontExtraProperties:t.fontE
1xtraProperties}).then((function(t){if(e.destroyed)throw new Error("Worker was destroyed");return t})))}var PDFDocumentLoadingTask=(nextDocumentId=0,function(){function e(){_classCallCheck(this,e),this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+nextDocumentId++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return _createClass(e,[{key:"destroy",value:function(){var e=this;return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then((function(){e._transport=null,e._worker&&(e._worker.destroy(),e._worker=null)}))}},{key:"promise",get:function(){return this._capability.promise}}]),e}()),nextDocumentId,PDFDataRangeTransport=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.length=t,this.initialData=n,this.progressiveDone=r,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}return _createClass(e,[{key:"addRangeListener",value:function(e){this._rangeListeners.push(e)}},{key:"addProgressListener",value:function(e){this._progressListeners.push(e)}},{key:"addProgressiveReadListener",value:function(e){this._progressiveReadListeners.push(e)}},{key:"addProgressiveDoneListener",value:function(e){this._progressiveDoneListeners.push(e)}},{key:"onDataRange",value:function(e,t){var n,r=_createForOfIteratorHelper(this._rangeListeners);try{for(r.s();!(n=r.n()).done;)(0,n.value)(e,t)}catch(i){r.e(i)}finally{r.f()}}},{key:"onDataProgress",value:function(e,t){var n=this;this._readyCapability.promise.then((function(){var r,i=_createForOfIteratorHelper(n._progressListeners);try{for(i.s();!(r=i.n()).done;)(0,r.value)(e,t)}catch(o){i.e(o)}finally{i.f()}}))}},{key:"onDataProgressiveRead",value:function(e){var t=this;this._readyCapability.promise.then((function(){var n,r=_createForOfIteratorHelper(t._progressiveReadListeners);try{for(r.s();!(n=r.n()).done;)(0,n.value)(e)}catch(i){r.e(i)}finally{r.f()}}))}},{key:"onDataProgressiveDone",value:function(){var e=this;this._readyCapability.promise.then((function(){var t,n=_createForOfIteratorHelper(e._progressiveDoneListeners);try{for(n.s();!(t=n.n()).done;)(0,t.value)()}catch(r){n.e(r)}finally{n.f()}}))}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(e,t){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}]),e}();exports.PDFDataRangeTransport=PDFDataRangeTransport;var PDFDocumentProxy=function(){function e(t,n){_classCallCheck(this,e),this._pdfInfo=t,this._transport=n}return _createClass(e,[{key:"getPage",value:function(e){return this._transport.getPage(e)}},{key:"getPageIndex",value:function(e){return this._transport.getPageIndex(e)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(e){return this._transport.getDestination(e)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenAction",value:function(){return this._transport.getOpenAction()}},{key:"getOpenActionDestination",value:function(){return(0,_display_utils.deprecated)("getOpenActionDestination, use getOpenAction instead."),this.getOpenAction().then((function(e){return e&&e.dest?e.dest:null}))}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJavaScript",value:function(){return this._transport.getJavaScript()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"getStats",value:function(){return this._transport.getStats()}},{key:"cleanup",value:function(){return this._transport.startCleanup()}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprint",get:function(){return this._pdfInfo.fingerprint}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}}]),e}();exports.PDFDocumentProxy=PDFDocumentProxy;var PDFPageProxy=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];_classCallCheck(this,e),this._pageIndex=t,this._pageInfo=n,this._transport=r,this._stats=i?new _display_utils.StatTimer:null,this._pdfBug=i,this.commonObjs=r.commonObjs,this.objs=new PDFObjects,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return _createClass(e,[{key:"getViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scale,n=e.rotation,r=void 0===n?this.rotate:n,i=e.offsetX,o=void 0===i?0:i,a=e.offsetY,s=void 0===a?0:a,l=e.dontFlip,u=void 0!==l&&l;return new _display_utils.PageViewport({viewBox:this.view,scale:t,rotation:r,offsetX:o,offsetY:s,dontFlip:u})}},{key:"getAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intent,n=void 0===t?null:t;
1return this.annotationsPromise&&this.annotationsIntent===n||(this.annotationsPromise=this._transport.getAnnotations(this._pageIndex,n),this.annotationsIntent=n),this.annotationsPromise}},{key:"render",value:function(e){var t=this,n=e.canvasContext,r=e.viewport,i=e.intent,o=void 0===i?"display":i,a=e.enableWebGL,s=void 0!==a&&a,l=e.renderInteractiveForms,u=void 0!==l&&l,c=e.transform,h=void 0===c?null:c,d=e.imageLayer,f=void 0===d?null:d,p=e.canvasFactory,g=void 0===p?null:p,_=e.background,A=void 0===_?null:_;this._stats&&this._stats.time("Overall");var v="print"===o?"print":"display";this.pendingCleanup=!1,this.intentStates[v]||(this.intentStates[v]=Object.create(null));var m=this.intentStates[v];m.streamReaderCancelTimeout&&(clearTimeout(m.streamReaderCancelTimeout),m.streamReaderCancelTimeout=null);var y=g||new _display_utils.DOMCanvasFactory,b=new _webgl.WebGLContext({enable:s});m.displayReadyCapability||(m.displayReadyCapability=(0,_util.createPromiseCapability)(),m.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList({pageIndex:this._pageIndex,intent:v,renderInteractiveForms:!0===u}));var C=function(e){var n=m.renderTasks.indexOf(w);n>=0&&m.renderTasks.splice(n,1),(t.cleanupAfterRender||"print"===v)&&(t.pendingCleanup=!0),t._tryCleanup(),e?(w.capability.reject(e),t._abortOperatorList({intentState:m,reason:e})):w.capability.resolve(),t._stats&&(t._stats.timeEnd("Rendering"),t._stats.timeEnd("Overall"))},w=new InternalRenderTask({callback:C,params:{canvasContext:n,viewport:r,transform:h,imageLayer:f,background:A},objs:this.objs,commonObjs:this.commonObjs,operatorList:m.operatorList,pageIndex:this._pageIndex,canvasFactory:y,webGLContext:b,useRequestAnimationFrame:"print"!==v,pdfBug:this._pdfBug});m.renderTasks||(m.renderTasks=[]),m.renderTasks.push(w);var k=w.task;return m.displayReadyCapability.promise.then((function(e){t.pendingCleanup?C():(t._stats&&t._stats.time("Rendering"),w.initializeGraphics(e),w.operatorListChanged())})).catch(C),k}},{key:"getOperatorList",value:function(){this.intentStates.oplist||(this.intentStates.oplist=Object.create(null));var e,t=this.intentStates.oplist;return t.opListReadCapability||((e={}).operatorListChanged=function(){if(t.operatorList.lastChunk){t.opListReadCapability.resolve(t.operatorList);var n=t.renderTasks.indexOf(e);n>=0&&t.renderTasks.splice(n,1)}},t.opListReadCapability=(0,_util.createPromiseCapability)(),t.renderTasks=[],t.renderTasks.push(e),t.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList({pageIndex:this._pageIndex,intent:"oplist"})),t.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.normalizeWhitespace,n=void 0!==t&&t,r=e.disableCombineTextItems,i=void 0!==r&&r,o=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,normalizeWhitespace:!0===n,combineTextItems:!0!==i},{highWaterMark:o,size:function(e){return e.items.length}})}},{key:"getTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.streamTextContent(e);return new Promise((function(e,n){var r=t.getReader(),i={items:[],styles:Object.create(null)};!function t(){r.read().then((function(n){var r,o=n.value;n.done?e(i):(Object.assign(i.styles,o.styles),(r=i.items).push.apply(r,_toConsumableArray(o.items)),t())}),n)}()}))}},{key:"_destroy",value:function(){var e=this;this.destroyed=!0,this._transport.pageCache[this._pageIndex]=null;var t=[];return Object.keys(this.intentStates).forEach((function(n){var r=e.intentStates[n];e._abortOperatorList({intentState:r,reason:new Error("Page was destroyed."),force:!0}),"oplist"!==n&&r.renderTasks.forEach((function(e){var n=e.capability.promise.catch((function(){}));t.push(n),e.cancel()}))})),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(t)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pendingCleanup=!0,this._tryCleanup(e)}},{key:"_tryCleanup",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!(!this.pendingCleanup||Object.keys(this.intentStates).some((function(t){var n=e.intentStates[t];return 0!==n.renderTasks.length||!n.operatorList.lastChunk}
1))||(Object.keys(this.intentStates).forEach((function(t){delete e.intentStates[t]})),this.objs.clear(),this.annotationsPromise=null,t&&this._stats&&(this._stats=new _display_utils.StatTimer),this.pendingCleanup=!1,0))}},{key:"_startRenderPage",value:function(e,t){var n=this.intentStates[t];n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(e))}},{key:"_renderPageChunk",value:function(e,t){for(var n=0,r=e.length;n<r;n++)t.operatorList.fnArray.push(e.fnArray[n]),t.operatorList.argsArray.push(e.argsArray[n]);t.operatorList.lastChunk=e.lastChunk;for(var i=0;i<t.renderTasks.length;i++)t.renderTasks[i].operatorListChanged();e.lastChunk&&this._tryCleanup()}},{key:"_pumpOperatorList",value:function(e){var t=this;(0,_util.assert)(e.intent,'PDFPageProxy._pumpOperatorList: Expected "intent" argument.');var n=this._transport.messageHandler.sendWithStream("GetOperatorList",e).getReader(),r=this.intentStates[e.intent];r.streamReader=n,function e(){n.read().then((function(n){var i=n.value;n.done?r.streamReader=null:t._transport.destroyed||(t._renderPageChunk(i,r),e())}),(function(e){if(r.streamReader=null,!t._transport.destroyed){if(r.operatorList){r.operatorList.lastChunk=!0;for(var n=0;n<r.renderTasks.length;n++)r.renderTasks[n].operatorListChanged();t._tryCleanup()}if(r.displayReadyCapability)r.displayReadyCapability.reject(e);else{if(!r.opListReadCapability)throw e;r.opListReadCapability.reject(e)}}}))}()}},{key:"_abortOperatorList",value:function(e){var t=this,n=e.intentState,r=e.reason,i=e.force,o=void 0!==i&&i;if((0,_util.assert)(r instanceof Error||"object"===_typeof(r)&&null!==r,'PDFPageProxy._abortOperatorList: Expected "reason" argument.'),n.streamReader){if(!o){if(0!==n.renderTasks.length)return;if(r instanceof _display_utils.RenderingCancelledException)return void(n.streamReaderCancelTimeout=setTimeout((function(){t._abortOperatorList({intentState:n,reason:r,force:!0}),n.streamReaderCancelTimeout=null}),RENDERING_CANCELLED_TIMEOUT))}n.streamReader.cancel(new _util.AbortException(r&&r.message)),n.streamReader=null,this._transport.destroyed||(Object.keys(this.intentStates).some((function(e){return t.intentStates[e]===n&&(delete t.intentStates[e],!0)})),this.cleanup())}}},{key:"pageNumber",get:function(){return this._pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"stats",get:function(){return this._stats}}]),e}();exports.PDFPageProxy=PDFPageProxy;var LoopbackPort=function(){function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];_classCallCheck(this,e),this._listeners=[],this._defer=t,this._deferred=Promise.resolve(void 0)}return _createClass(e,[{key:"postMessage",value:function(e,t){var n=this;if(this._defer){var r=new WeakMap,i={data:function e(n){if("object"!==_typeof(n)||null===n)return n;if(r.has(n))return r.get(n);var i,o;if((i=n.buffer)&&(0,_util.isArrayBuffer)(i))return o=t&&t.includes(i)?new n.constructor(i,n.byteOffset,n.byteLength):new n.constructor(n),r.set(n,o),o;for(var a in o=Array.isArray(n)?[]:{},r.set(n,o),n){for(var s=void 0,l=n;!(s=Object.getOwnPropertyDescriptor(l,a));)l=Object.getPrototypeOf(l);if(void 0!==s.value)if("function"!=typeof s.value)o[a]=e(s.value);else if(n.hasOwnProperty&&n.hasOwnProperty(a))throw new Error("LoopbackPort.postMessage - cannot clone: ".concat(n[a]))}return o}(e)};this._deferred.then((function(){n._listeners.forEach((function(e){e.call(n,i)}))}))}else this._listeners.forEach((function(t){t.call(n,{data:e})}))}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var n=this._listeners.indexOf(t);this._listeners.splice(n,1)}},{key:"terminate",value:function(){this._listeners.length=0}}]),e}();exports.LoopbackPort=LoopbackPort;var PDFWorker=function PDFWorkerClosure(){var pdfWorkerPorts=new WeakMap,isWorkerDisabled=!1,fallbackWorkerSrc,nextFakeWorkerId=0,fakeWorkerCapability;if(_is_node.isNodeJS)isWorkerDisabled=!0,fallbackWorkerSrc="./pdf.worker.js";else if("object"===("undefined"==typeof document?"undefined":_typeof(document))&&"currentScript"in document){var pdfjsFilePath=document.currentScript&&document.currentScript.src;pdfjsFilePath&&(fallbackWorkerSrc=pdfjsFilePath.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}function _getWorkerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(void 0!==fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}function getMainThreadWorkerMessageHandler(){var e;try{e=globalThis.pdfjsWorker&&globalThis.pdfjsWorker.WorkerMessageHandler}catch(t){}return e||null}function setupFakeWorkerGlobal(){if(fakeWorkerCapability)return fakeWorkerCapability.promise;fakeWorkerCapability=(0,_util.createPromiseCapability)();var loader=function(){var _ref10=_asyncToGenerator(_regenerator.default.mark((function _callee(){var mainWorkerMessageHandler,worker;return _regenerator.default.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(mainWorkerMessageHandler=getMainThreadWorkerMessageHandler(),!mainWorkerMessageHandler){_context.next=3;break}return _context.abrupt("return",mainWorkerMessageHandler);case 3:if(!_is_node.isNodeJS){_context.next=6;break}return worker=eval("require")(_getWorkerSrc()),_context.abrupt("return",worker.WorkerMessageHandler);case 6:return _context.next=8,(0,_display_utils.loadScript)(_getWorkerSrc());case 8:return _context.abrupt("return",window.pdfjsWorker.WorkerMessageHandler);case 9:case"end":return _context.stop()}}),_callee)})));return function(){return _ref10.apply(this,arguments)}}();return loader().then(fakeWorkerCapability.resolve,fakeWorkerCapability.reject),fakeWorkerCapability.promise}function createCDNWrapper(e){return URL.createObjectURL(new Blob(["importScripts('"+e+"');"]))}var PDFWorker=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.name,r=void 0===n?null:n,i=t.port,o=void 0===i?null:i,a=t.verbosity,s=void 0===a?(0,_util.getVerbosityLevel)():a;if(_classCallCheck(this,e),o&&pdfWorkerPorts.has(o))throw new Error("Cannot use more than one PDFWorker per port");if(this.name=r,this.destroyed=!1,this.postMessageTransfers=!0,this.verbosity=s,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,o)return pdfWorkerPorts.set(o,this),void this._initializeFromPort(o);this._initialize()}return _createClass(e,[{key:"_initializeFromPort",value:function(e){this._port=e,this._messageHandler=new _message_handler.MessageHandler("main","worker",e),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}},{key:"_initialize",value:function(){var e=this;if("undefined"!=typeof Worker&&!isWorkerDisabled&&!getMainThreadWorkerMessageHandler()){var t=_getWorkerSrc();try{(0,_util.isSameOrigin)(window.location.href,t)||(t=createCDNWrapper(new URL(t,window.location).href));var n=new Worker(t),r=new _message_handler.MessageHandler("main","worker",n),i=function(){n.removeEventListener("error",o),r.destroy(),n.terminate(),e.destroyed?e._readyCapability.reject(new Error("Worker was destroyed")):e._setupFakeWorker()},o=function(){e._webWorker||i()};n.addEventListener("error",o),r.on("test",(function(t){n.removeEventListener("error",o),e.destroyed?i():t?(e._messageHandler=r,e._port=n,e._webWorker=n,t.supportTransfers||(e.postMessageTransfers=!1),e._readyCapability.resolve(),r.send("configure",{verbosity:e.verbosity})):(e._setupFakeWorker(),r.destroy(),n.terminate())})),r.on("ready",(function(t){if(n.removeEventListener("error",o),e.destroyed)i();else try{a()}catch(r){e._setupFakeWorker()}}));var a=function(){var t=new Uint8Array([e.postMessageTransfers?255:0]);try{r.send("test",t,[t.buffer])}catch(n){(0,_util.warn)("Cannot use postMessage transfers."),t[0]=0,r.send("test",t)}};return void a()}catch(s){(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}},{key:"_setupFakeWorker",value:function(){var e=this;isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),isWorkerDisabled=!0),setupFakeWorkerGlobal().then((function(t){if(e.destroyed)e._readyCapability.reject(new Error("Worker was destroyed"));else{var n=new LoopbackPort;e._port=n;var r="fake"+nextFakeWorkerId++,i=new _message_handler.MessageHandler(r+"_worker",r,n);t.setup(i,n);var o=new _message_handler.MessageHandler(r,r+"_worker",n);e._messageHandler=o,e._readyCapability.resolve(),o.send("configure",{verbosity:e.verbosity})}})).catch((function(t){e._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(t.message,'".')))}))}},{key:"destroy",value:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),pdfWorkerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},{key:"promise",get:function(){return this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}}],[{key:"fromPort",value:function(t){if(!t||!t.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return pdfWorkerPorts.has(t.port)?pdfWorkerPorts.get(t.port):new e(t)}},{key:"getWorkerSrc",value:function(){return _getWorkerSrc()}}]),e}();return PDFWorker}();exports.PDFWorker=PDFWorker;var WorkerTransport=function(){function e(t,n,r,i){_classCallCheck(this,e),this.messageHandler=t,this.loadingTask=n,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:n.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this)}),this._params=i,this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=r,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}return _createClass(e,[{key:"destroy",value:function(){var e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));var t=[];this.pageCache.forEach((function(e){e&&t.push(e._destroy())})),this.pageCache.length=0,this.pagePromises.length=0;
1var n=this.messageHandler.sendWithPromise("Terminate",null);return t.push(n),Promise.all(t).then((function(){e.fontLoader.clear(),e._networkStream&&e._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var e=this,t=this.messageHandler,n=this.loadingTask;t.on("GetReader",(function(t,n){(0,_util.assert)(e._networkStream,"GetReader - no `IPDFStream` instance available."),e._fullReader=e._networkStream.getFullReader(),e._fullReader.onProgress=function(t){e._lastProgress={loaded:t.loaded,total:t.total}},n.onPull=function(){e._fullReader.read().then((function(e){var t=e.value;e.done?n.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(t),1,[t]))})).catch((function(e){n.error(e)}))},n.onCancel=function(t){e._fullReader.cancel(t)}})),t.on("ReaderHeadersReady",(function(t){var r=(0,_util.createPromiseCapability)(),i=e._fullReader;return i.headersReady.then((function(){i.isStreamingSupported&&i.isRangeSupported||(e._lastProgress&&n.onProgress&&n.onProgress(e._lastProgress),i.onProgress=function(e){n.onProgress&&n.onProgress({loaded:e.loaded,total:e.total})}),r.resolve({isStreamingSupported:i.isStreamingSupported,isRangeSupported:i.isRangeSupported,contentLength:i.contentLength})}),r.reject),r.promise})),t.on("GetRangeReader",(function(t,n){(0,_util.assert)(e._networkStream,"GetRangeReader - no `IPDFStream` instance available.");var r=e._networkStream.getRangeReader(t.begin,t.end);r?(n.onPull=function(){r.read().then((function(e){var t=e.value;e.done?n.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetRangeReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(t),1,[t]))})).catch((function(e){n.error(e)}))},n.onCancel=function(e){r.cancel(e)}):n.close()})),t.on("GetDoc",(function(t){var r=t.pdfInfo;e._numPages=r.numPages,n._capability.resolve(new PDFDocumentProxy(r,e))})),t.on("DocException",(function(e){var t;switch(e.name){case"PasswordException":t=new _util.PasswordException(e.message,e.code);break;case"InvalidPDFException":t=new _util.InvalidPDFException(e.message);break;case"MissingPDFException":t=new _util.MissingPDFException(e.message);break;case"UnexpectedResponseException":t=new _util.UnexpectedResponseException(e.message,e.status);break;case"UnknownErrorException":t=new _util.UnknownErrorException(e.message,e.details)}n._capability.reject(t)})),t.on("PasswordRequest",(function(t){if(e._passwordCapability=(0,_util.createPromiseCapability)(),n.onPassword)try{n.onPassword((function(t){e._passwordCapability.resolve({password:t})}),t.code)}catch(r){e._passwordCapability.reject(r)}else e._passwordCapability.reject(new _util.PasswordException(t.message,t.code));return e._passwordCapability.promise})),t.on("DataLoaded",(function(t){n.onProgress&&n.onProgress({loaded:t.length,total:t.length}),e.downloadInfoCapability.resolve(t)})),t.on("StartRenderPage",(function(t){e.destroyed||e.pageCache[t.pageIndex]._startRenderPage(t.transparency,t.intent)})),t.on("commonobj",(function(n){if(!e.destroyed){var r=_slicedToArray(n,3),i=r[0],o=r[1],a=r[2];if(!e.commonObjs.has(i))switch(o){case"Font":var s=e._params;if("error"in a){var l=a.error;(0,_util.warn)("Error during font loading: ".concat(l)),e.commonObjs.resolve(i,l);break}var u=null;s.pdfBug&&globalThis.FontInspector&&globalThis.FontInspector.enabled&&(u={registerFont:function(e,t){globalThis.FontInspector.fontAdded(e,t)}});var c=new _font_loader.FontFaceObject(a,{isEvalSupported:s.isEvalSupported,disableFontFace:s.disableFontFace,ignoreErrors:s.ignoreErrors,onUnsupportedFeature:e._onUnsupportedFeature.bind(e),fontRegistry:u});e.fontLoader.bind(c).catch((function(e){return t.sendWithPromise("FontFallback",{id:i})})).finally((function(){!s.fontExtraProperties&&c.data&&(c.data=null),e.commonObjs.resolve(i,c)}));break;case"FontPath":case"FontType3Res":case"Image":e.commonObjs.resolve(i,a);break;default:throw new Error("Got unknown common object type ".concat(o))}}})),t.on("obj",(function(t){if(!e.destroyed){var n=_slicedToArray(t,4),r=n[0],i=n[2],o=n[3],a=e.pageCache[n[1]];if(!a.objs.has(r))switch(i){case"Image":a.objs.resolve(r,o),o&&"data"in o&&o.data.length>8e6&&(a.cleanupAfterRender=!0);break;default:throw new Error("Got unknown object type ".concat(i))}}})),t.on("DocProgress",(function(t){e.destroyed||n.onProgress&&n.onProgress({loaded:t.loaded,total:t.total})})),t.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),t.on("FetchBuiltInCMap",(function(t,n){if(e.destroyed)n.error(new Error("Worker was destroyed"));else{var r=!1;n.onPull=function(){r?n.close():(r=!0,e.CMapReaderFactory.fetch(t).then((function(e){n.enqueue(e,1,[e.cMapData.buffer])})).catch((function(e){n.error(e)})))}}}))}},{key:"_onUnsupportedFeature",value:function(e){this.destroyed||this.loadingTask.onUnsupportedFeature&&this.loadingTask.onUnsupportedFeature(e.featureId)}},{key:"getData",value:function(){return this.messageHandler.sendWithProm
1ise("GetData",null)}},{key:"getPage",value:function(e){var t=this;if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request"));var n=e-1;if(n in this.pagePromises)return this.pagePromises[n];var r=this.messageHandler.sendWithPromise("GetPage",{pageIndex:n}).then((function(e){if(t.destroyed)throw new Error("Transport destroyed");var r=new PDFPageProxy(n,e,t,t._params.pdfBug);return t.pageCache[n]=r,r}));return this.pagePromises[n]=r,r}},{key:"getPageIndex",value:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e}).catch((function(e){return Promise.reject(new Error(e))}))}},{key:"getAnnotations",value:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(e){return"string"!=typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenAction",value:function(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getJavaScript",value:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var e=this;return this.messageHandler.sendWithPromise("GetMetadata",null).then((function(t){return{info:t[0],metadata:t[1]?new _metadata.Metadata(t[1]):null,contentDispositionFilename:e._fullReader?e._fullReader.filename:null}}))}},{key:"getStats",value:function(){return this.messageHandler.sendWithPromise("GetStats",null)}},{key:"startCleanup",value:function(){var e=this;return this.messageHandler.sendWithPromise("Cleanup",null).then((function(){for(var t=0,n=e.pageCache.length;t<n;t++){var r=e.pageCache[t];if(r&&!r.cleanup())throw new Error("startCleanup: Page ".concat(t+1," is currently rendering."))}e.commonObjs.clear(),e.fontLoader.clear()}))}},{key:"loadingParams",get:function(){var e=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:e.disableAutoFetch,disableFontFace:e.disableFontFace})}}]),e}(),PDFObjects=function(){function e(){_classCallCheck(this,e),this._objs=Object.create(null)}return _createClass(e,[{key:"_ensureObj",value:function(e){return this._objs[e]?this._objs[e]:this._objs[e]={capability:(0,_util.createPromiseCapability)(),data:null,resolved:!1}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return this._ensureObj(e).capability.promise.then(t),null;var n=this._objs[e];if(!n||!n.resolved)throw new Error("Requesting object that isn't resolved yet ".concat(e,"."));return n.data}},{key:"has",value:function(e){var t=this._objs[e];return!!t&&t.resolved}},{key:"resolve",value:function(e,t){var n=this._ensureObj(e);n.resolved=!0,n.data=t,n.capability.resolve(t)}},{key:"clear",value:function(){this._objs=Object.create(null)}}]),e}(),RenderTask=function(){function e(t){_classCallCheck(this,e),this._internalRenderTask=t,this.onContinue=null}return _createClass(e,[{key:"cancel",value:function(){this._internalRenderTask.cancel()}},{key:"promise",get:function(){return this._internalRenderTask.capability.promise}}]),e}(),InternalRenderTask=(canvasInRendering=new WeakSet,function(){function e(t){var n=t.callback,r=t.params,i=t.objs,o=t.commonObjs,a=t.operatorList,s=t.pageIndex,l=t.canvasFactory,u=t.webGLContext,c=t.useRequestAnimationFrame,h=void 0!==c&&c,d=t.pdfBug,f=void 0!==d&&d;_classCallCheck(this,e),this.callback=n,this.params=r,this.objs=i,this.commonObjs=o,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=s,this.canvasFactory=l,this.webGLContext=u,this._pdfBug=f,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===h&&"undefined"!=typeof window,this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=r.canvasContext.canvas}var t;return _createClass(e,[{key:"initializeGraphics",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];
1if(!this.cancelled){if(this._canvas){if(canvasInRendering.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");canvasInRendering.add(this._canvas)}this._pdfBug&&globalThis.StepperManager&&globalThis.StepperManager.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var t=this.params,n=t.canvasContext,r=t.viewport,i=t.transform,o=t.imageLayer,a=t.background;this.gfx=new _canvas.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,this.webGLContext,o),this.gfx.beginDrawing({transform:i,viewport:r,transparency:e,background:a}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}}},{key:"cancel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&canvasInRendering.delete(this._canvas),this.callback(e||new _display_utils.RenderingCancelledException("Rendering cancelled, page ".concat(this._pageIndex+1),"canvas"))}},{key:"operatorListChanged",value:function(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var e=this;this._useRequestAnimationFrame?window.requestAnimationFrame((function(){e._nextBound().catch(e.cancel.bind(e))})):Promise.resolve().then(this._nextBound).catch(this.cancel.bind(this))}},{key:"_next",value:(t=_asyncToGenerator(_regenerator.default.mark((function e(){return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.cancelled){e.next=2;break}return e.abrupt("return");case 2:this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&canvasInRendering.delete(this._canvas),this.callback()));case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}()),canvasInRendering,version="2.5.207";exports.version=version;var build="0974d605";exports.build=build},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(e){return(a="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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(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 f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}var p,g=function(){function e(t){var n=t.docId,r=t.onUnsupportedFeature;h(this,e),this.constructor===e&&(0,o.unreachable)("Cannot initialize BaseFontLoader."),this.docId=n,this._onUnsupportedFeature=r,this.nativeFontFaces=[],this.styleElement=null}var t,n;return f(e,[{key:"addNativeFontFace",value:function(e){this.nativeFontFaces.push(e),document.fonts.add(e)}},{key:"insertRule",value:function(e){var t=this.styleElement;t||((t=this.styleElement=document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_".concat(this.docId),document.documentElement.getElementsByTagName("head")[0].appendChild(t));var n=t.sheet;n.insertRule(e,n.cssRules.length)}}
vendor: 4,548 bytes, line 1
1,{key:"clear",value:function(){this.nativeFontFaces.forEach((function(e){document.fonts.delete(e)})),this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"bind",value:(t=i.default.mark((function e(t){var n,r,a=this;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.attached&&!t.missingFile){e.next=2;break}return e.abrupt("return");case 2:if(t.attached=!0,!this.isFontLoadingAPISupported){e.next=19;break}if(!(n=t.createNativeFontFace())){e.next=18;break}return this.addNativeFontFace(n),e.prev=7,e.next=10,n.loaded;case 10:e.next=18;break;case 12:throw e.prev=12,e.t0=e.catch(7),this._onUnsupportedFeature({featureId:o.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,o.warn)("Failed to load font '".concat(n.family,"': '").concat(e.t0,"'.")),t.disableFontFace=!0,e.t0;case 18:return e.abrupt("return");case 19:if(!(r=t.createFontFaceRule())){e.next=26;break}if(this.insertRule(r),!this.isSyncFontLoadingSupported){e.next=24;break}return e.abrupt("return");case 24:return e.next=26,new Promise((function(e){var n=a._queueLoadingCallback(e);a._prepareFontLoadEvent([r],[t],n)}));case 26:case"end":return e.stop()}}),e,this,[[7,12]])})),n=function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(e){c(o,r,i,a,s,"next",e)}function s(e){c(o,r,i,a,s,"throw",e)}a(void 0)}))},function(e){return n.apply(this,arguments)})},{key:"_queueLoadingCallback",value:function(e){(0,o.unreachable)("Abstract method `_queueLoadingCallback`.")}},{key:"_prepareFontLoadEvent",value:function(e,t,n){(0,o.unreachable)("Abstract method `_prepareFontLoadEvent`.")}},{key:"isFontLoadingAPISupported",get:function(){var e="undefined"!=typeof document&&!!document.fonts;return(0,o.shadow)(this,"isFontLoadingAPISupported",e)}},{key:"isSyncFontLoadingSupported",get:function(){(0,o.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}},{key:"_loadTestFont",get:function(){(0,o.unreachable)("Abstract method `_loadTestFont`.")}}]),e}();t.FontLoader=p,t.FontLoader=p=function(e){!function(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&&s(e,t)}(i,e);var t,n,r=(t=i,n=function(){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(){var e,r=u(t);if(n){var i=u(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return l(this,e)});function i(e){var t;return h(this,i),(t=r.call(this,e)).loadingContext={requests:[],nextRequestId:0},t.loadTestFontId=0,t}return f(i,[{key:"_queueLoadingCallback",value:function(e){var t=this.loadingContext,n={id:"pdfjs-font-loading-".concat(t.nextRequestId++),done:!1,complete:function(){for((0,o.assert)(!n.done,"completeRequest() cannot be called twice."),n.done=!0;t.requests.length>0&&t.requests[0].done;){var e=t.requests.shift();setTimeout(e.callback,0)}},callback:e};return t.requests.push(n),n}},{key:"_prepareFontLoadEvent",value:function(e,t,n){function r(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function i(e,t,n,r){return e.substring(0,t)+r+e.substring(t+n)}var a,s,l=document.createElement("canvas");l.width=1,l.height=1;var u=l.getContext("2d"),c=0,h="lt".concat(Date.now()).concat(this.loadTestFontId++),d=this._loadTestFont,f=r(d=i(d,976,h.length,h),16);for(a=0,s=h.length-3;a<s;a+=4)f=f-1482184792+r(h,a)|0;a<h.length&&(f=f-1482184792+r(h+"XXX",a)|0),d=i(d,16,4,(0,o.string32)(f));var p="url(data:font/opentype;base64,".concat(btoa(d),");"),g='@font-face {font-family:"'.concat(h,'";src:').concat(p,"}");this.insertRule(g);var _=[];for(a=0,s=t.length;a<s;a++)_.push(t[a].loadedName);_.push(h);var A=document.createElement("div");for(A.style.visibility="hidden",A.style.width=A.style.height="10px",A.style.position="absolute",A.style.top=A.style.left="0px",a=0,s=_.length;a<s;++a){var v=document.createElement("span");v.textContent="Hi",v.style.fontFamily=_[a],A.appendChild(v)}document.body.appendChild(A),function e(t,n){if(++c>30)return(0,o.warn)("Load test font never loaded."),void n();u.font="30px "+t,u.fillText(".",0,20),u.getImageData(0,0,1,1).data[3]>0?n():setTimeout(e.bind(null,t,n))}(h,(function(){document.body.removeChild(A),n.complete()}
1))}},{key:"isSyncFontLoadingSupported",get:function(){var e=!1;if("undefined"==typeof navigator)e=!0;else{var t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);t&&t[1]>=14&&(e=!0)}return(0,o.shadow)(this,"isSyncFontLoadingSupported",e)}},{key:"_loadTestFont",get:function(){return(0,o.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}}]),i}(g),t.FontFaceObject=function(){function e(t,n){var r=n.isEvalSupported,i=void 0===r||r,o=n.disableFontFace,a=void 0!==o&&o,s=n.ignoreErrors,l=void 0!==s&&s,u=n.onUnsupportedFeature,c=void 0===u?null:u,d=n.fontRegistry,f=void 0===d?null:d;for(var p in h(this,e),this.compiledGlyphs=Object.create(null),t)this[p]=t[p];this.isEvalSupported=!1!==i,this.disableFontFace=!0===a,this.ignoreErrors=!0===l,this._onUnsupportedFeature=c,this.fontRegistry=f}return f(e,[{key:"createNativeFontFace",value:function(){if(!this.data||this.disableFontFace)return null;var e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}},{key:"createFontFaceRule",value:function(){if(!this.data||this.disableFontFace)return null;var e=(0,o.bytesToString)(new Uint8Array(this.data)),t="url(data:".concat(this.mimetype,";base64,").concat(btoa(e),");"),n='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(t,"}");return this.fontRegistry&&this.fontRegistry.registerFont(this,t),n}},{key:"getPathGenerator",value:function(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];var n,r;try{n=e.get(this.loadedName+"_path_"+t)}catch(u){if(!this.ignoreErrors)throw u;return this._onUnsupportedFeature&&this._onUnsupportedFeature({featureId:o.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,o.warn)('getPathGenerator - ignoring character: "'.concat(u,'".')),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&o.IsEvalSupportedCached.value){for(var i,a="",s=0,l=n.length;s<l;s++)i=void 0!==(r=n[s]).args?r.args.join(","):"",a+="c."+r.cmd+"("+i+");\n";return this.compiledGlyphs[t]=new Function("c","size",a)}return this.compiledGlyphs[t]=function(e,t){for(var i=0,o=n.length;i<o;i++)"scale"===(r=n[i]).cmd&&(r.args=[t,-t]),e[r.cmd].apply(e,r.args)}}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.apiCompatibilityParams=void 0;var r=n(7),i=Object.create(null);r.isNodeJS&&(i.disableFontFace=!0);var o=Object.freeze(i);t.apiCompatibilityParams=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var r=n(5),i=n(202);function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,void 0);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)?a(e,void 0):void 0}}(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}
1}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,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function a(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 s(e){e.mozCurrentTransform||(e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[],Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){var e=this._transformMatrix,t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],s=t*i-n*r,l=n*r-t*i;return[i/s,n/l,r/l,t/s,(i*o-r*a)/l,(n*o-t*a)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var n=this._transformMatrix;n[4]=n[0]*e+n[2]*t+n[4],n[5]=n[1]*e+n[3]*t+n[5],this._originalTranslate(e,t)},e.scale=function(e,t){var n=this._transformMatrix;n[0]=n[0]*e,n[1]=n[1]*e,n[2]=n[2]*t,n[3]=n[3]*t,this._originalScale(e,t)},e.transform=function(t,n,r,i,o,a){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*n,s[1]*t+s[3]*n,s[0]*r+s[2]*i,s[1]*r+s[3]*i,s[0]*o+s[2]*a+s[4],s[1]*o+s[3]*a+s[5]],e._originalTransform(t,n,r,i,o,a)},e.setTransform=function(t,n,r,i,o,a){this._transformMatrix=[t,n,r,i,o,a],e._originalSetTransform(t,n,r,i,o,a)},e.rotate=function(e){var t=Math.cos(e),n=Math.sin(e),r=this._transformMatrix;this._transformMatrix=[r[0]*t+r[2]*n,r[1]*t+r[3]*n,r[0]*-n+r[2]*t,r[1]*-n+r[3]*t,r[4],r[5]],this._originalRotate(e)})}var l=function(){function e(e){this.canvasFactory=e,this.cache=Object.create(null)}return e.prototype={getCanvas:function(e,t,n,r){var i;return void 0!==this.cache[e]?(this.canvasFactory.reset(i=this.cache[e],t,n),i.context.setTransform(1,0,0,1,0,0)):(i=this.canvasFactory.create(t,n),this.cache[e]=i),r&&s(i.context),i},clear:function(){for(var e in this.cache)this.canvasFactory.destroy(this.cache[e]),delete this.cache[e]}},e}(),u=function(){function e(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=r.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=r.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}(),c=function(){function e(e,t,n,r,i,o){this.ctx=e,this.current=new u,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=n,this.canvasFactory=r,this.webGLContext=i,this.imageLayer=o,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new l(this.canvasFactory),e&&s(e),this._cachedGetSinglePixelWidth=null}function t(e,t){if("undefined"!=typeof ImageData&&t instanceof ImageData)e.putImageData(t,0,0);else{var n,i,o,a,s,l=t.height,u=t.width,c=l%16,h=(l-c)/16,d=0===c?h:h+1,f=e.createImageData(u,16),p=0,g=t.data,_=f.data;if(t.kind===r.ImageKind.GRAYSCALE_1BPP){var A=g.byteLength,v=new Uint32Array(_.buffer,0,_.byteLength>>2),m=v.length,y=u+7>>3,b=4294967295,C=r.IsLittleEndianCached.value?4278190080:255;for(i=0;i<d;i++){for(a=i<h?16:c,n=0,o=0;o<a;o++){for(var w=A-p,k=0,E=w>y?u:8*w-7,S=-8&E,O=0,x=0;k<S;k+=8)x=g[p++],v[n++]=128&x?b:C,v[n++]=64&x?b:C,v[n++]=32&x?b:C,v[n++]=16&x?b
1:C,v[n++]=8&x?b:C,v[n++]=4&x?b:C,v[n++]=2&x?b:C,v[n++]=1&x?b:C;for(;k<E;k++)0===O&&(x=g[p++],O=128),v[n++]=x&O?b:C,O>>=1}for(;n<m;)v[n++]=0;e.putImageData(f,0,16*i)}}else if(t.kind===r.ImageKind.RGBA_32BPP){for(o=0,s=16*u*4,i=0;i<h;i++)_.set(g.subarray(p,p+s)),p+=s,e.putImageData(f,0,o),o+=16;i<d&&(_.set(g.subarray(p,p+(s=u*c*4))),e.putImageData(f,0,o))}else{if(t.kind!==r.ImageKind.RGB_24BPP)throw new Error("bad image kind: ".concat(t.kind));for(s=u*(a=16),i=0;i<d;i++){for(i>=h&&(s=u*(a=c)),n=0,o=s;o--;)_[n++]=g[p++],_[n++]=g[p++],_[n++]=g[p++],_[n++]=255;e.putImageData(f,0,16*i)}}}}function n(e,t){for(var n=t.height,r=t.width,i=n%16,o=(n-i)/16,a=0===i?o:o+1,s=e.createImageData(r,16),l=0,u=t.data,c=s.data,h=0;h<a;h++){for(var d=h<o?16:i,f=3,p=0;p<d;p++)for(var g=0,_=0;_<r;_++){if(!g){var A=u[l++];g=128}c[f]=A&g?0:255,f+=4,g>>=1}e.putImageData(s,0,16*h)}}function a(e,t){for(var n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],r=0,i=n.length;r<i;r++){var o=n[r];void 0!==e[o]&&(t[o]=e[o])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function c(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function h(e,t,n,r){for(var i=e.length,o=3;o<i;o+=4){var a=e[o];if(0===a)e[o-3]=t,e[o-2]=n,e[o-1]=r;else if(a<255){var s=255-a;e[o-3]=e[o-3]*a+t*s>>8,e[o-2]=e[o-2]*a+n*s>>8,e[o-1]=e[o-1]*a+r*s>>8}}}function d(e,t,n){for(var r=e.length,i=3;i<r;i+=4)t[i]=t[i]*(n?n[e[i]]:e[i])*(1/255)|0}function f(e,t,n){for(var r=e.length,i=3;i<r;i+=4){var o=77*e[i-3]+152*e[i-2]+28*e[i-1];t[i]=n?t[i]*n[o>>8]>>8:t[i]*o>>16}}function p(e,t,n,r){var i=t.canvas,o=t.context;e.setTransform(t.scaleX,0,0,t.scaleY,t.offsetX,t.offsetY);var a=t.backdrop||null;if(!t.transferMap&&r.isEnabled){var s=r.composeSMask({layer:n.canvas,mask:i,properties:{subtype:t.subtype,backdrop:a}});return e.setTransform(1,0,0,1,0,0),void e.drawImage(s,t.offsetX,t.offsetY)}!function(e,t,n,r,i,o,a){var s,l=!!o,u=l?o[0]:0,c=l?o[1]:0,p=l?o[2]:0;s="Luminosity"===i?f:d;for(var g=Math.min(r,Math.ceil(1048576/n)),_=0;_<r;_+=g){var A=Math.min(g,r-_),v=e.getImageData(0,_,n,A),m=t.getImageData(0,_,n,A);l&&h(v.data,u,c,p),s(v.data,m.data,a),e.putImageData(m,0,_)}}(o,n,i.width,i.height,t.subtype,a,t.transferMap),e.drawImage(i,0,0)}var g=["butt","round","square"],_=["miter","round","bevel"],A={},v={};for(var m in e.prototype={beginDrawing:function(e){var t=e.transform,n=e.viewport,r=e.transparency,i=void 0!==r&&r,o=e.background,a=void 0===o?null:o,s=this.ctx.canvas.width,l=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=a||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,s,l),this.ctx.restore(),i){var u=this.cachedCanvases.getCanvas("transparent",s,l,!0);this.compositeCtx=this.ctx,this.transparentCanvas=u.canvas,this.ctx=u.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),c(this.ctx),t&&this.ctx.transform.apply(this.ctx,t),this.ctx.transform.apply(this.ctx,n.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(e,t,n,i){var a=e.argsArray,s=e.fnArray,l=t||0,u=a.length;if(u===l)return l;for(var c,h=u-l>10&&"function"==typeof n,d=h?Date.now()+15:0,f=0,p=this.commonObjs,g=this.objs;;){if(void 0!==i&&l===i.nextBreakPoint)return i.breakIt(l,n),l;if((c=s[l])!==r.OPS.dependency)this[c].apply(this,a[l]);else{var _,A=o(a[l]);try{for(A.s();!(_=A.n()).done;){var v=_.value,m=v.startsWith("g_")?p:g;if(!m.has(v))return m.get(v,n),l}}catch(y){A.e(y)}finally{A.f()}}if(++l===u)return l;if(h&&++f>10){if(Date.now()>d)return n(),l;f=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(
1),this.transparentCanvas=null),this.cachedCanvases.clear(),this.webGLContext.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e},setLineCap:function(e){this.ctx.lineCap=g[e]},setLineJoin:function(e){this.ctx.lineJoin=_[e]},setMiterLimit:function(e){this.ctx.miterLimit=e},setDash:function(e,t){var n=this.ctx;void 0!==n.setLineDash&&(n.setLineDash(e),n.lineDashOffset=t)},setRenderingIntent:function(e){},setFlatness:function(e){},setGState:function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t],i=r[1];switch(r[0]){case"LW":this.setLineWidth(i);break;case"LC":this.setLineCap(i);break;case"LJ":this.setLineJoin(i);break;case"ML":this.setMiterLimit(i);break;case"D":this.setDash(i[0],i[1]);break;case"RI":this.setRenderingIntent(i);break;case"FL":this.setFlatness(i);break;case"Font":this.setFont(i[0],i[1]);break;case"CA":this.current.strokeAlpha=r[1];break;case"ca":this.current.fillAlpha=r[1],this.ctx.globalAlpha=r[1];break;case"BM":this.ctx.globalCompositeOperation=i;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=i?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function(){var e=this.current.activeSMask,t=this.cachedCanvases.getCanvas("smaskGroupAt"+this.groupLevel,e.canvas.width,e.canvas.height,!0),n=this.ctx,r=n.mozCurrentTransform;this.ctx.save();var i=t.context;i.scale(1/e.scaleX,1/e.scaleY),i.translate(-e.offsetX,-e.offsetY),i.transform.apply(i,r),e.startTransformInverse=i.mozCurrentTransformInverse,a(n,i),this.ctx=i,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(n),this.groupLevel++},suspendSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),p(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),this.ctx.save(),a(e,this.ctx),this.current.resumeSMaskCtx=e;var t=r.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t),e.save(),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.restore()},resumeSMaskGroup:function(){var e=this.ctx;this.ctx=this.current.resumeSMaskCtx,this.groupStack.push(e),this.groupLevel++},endSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),p(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),a(e,this.ctx);var t=r.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t)},save:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null===this.current.activeSMask||0!==this.stateStack.length&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask||this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null)},transform:function(e,t,n,r,i,o){this.ctx.transform(e,t,n,r,i,o),this._cachedGetSinglePixelWidth=null},constructPath:function(e,t){for(var n=this.ctx,i=this.current,o=i.x,a=i.y,s=0,l=0,u=e.length;s<u;s++)switch(0|e[s]){case r.OPS.rectangle:o=t[l++],a=t[l++];var c=t[l++],h=t[l++];0===c&&(c=this.getSinglePixelWidth()),0===h&&(h=this.getSinglePixelWidth());var d=o+c,f=a+h;this.ctx.moveTo(o,a),this.ctx.lineTo(d,a),this.ctx.lineTo(d,f),this.ctx.lineTo(o,f),this.ctx.lineTo(o,a),this.ctx.closePath();break;case r.OPS.moveTo:o=t[l++],a=t[l++],n.moveTo(o,a);break;case r.OPS.lineTo:o=t[l++],a=t[l++],n.lineTo(o,a);break;case r.OPS.curveTo:n.bezierCurveTo(t[l],t[l+1],t[l+2],t[l+3],o=t[l+4],a=t[l+5]),l+=6;break;case r.OPS.curveTo2:n.bezierCurveTo(o,a,t[l],t[l+1],t[l+2],t[l+3]),o=t[l+2],a=t[l+3],l+=4;break;case r.OPS.curveTo3:n.bezierCurveTo(t[l],t[l+1],o=t[l+2],a=t[l+3],o,a),l+=4;break;case r.OPS.closePath:n.closePath()}i.setCurrentPoint(o,a)},closePath:function(){this.ctx.closePath()},stroke:function(e){e=void 0===e||e;var t=this.ctx,n=this.current.strokeColor;if(t.globalAlpha=this.current.strokeAlpha,n&&n.hasOwnProperty("type")&&"Pattern"===n.type){t.save();var i=r.Util.singularValueDecompose2dScale(t.mozCurrentTransform)[0];t.strokeStyle=n.getPattern(t,this),t.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth*i),t.stroke(),t.restore(
1)}else t.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth),t.stroke();e&&this.consumePath(),t.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(e){e=void 0===e||e;var t=this.ctx,n=this.current.fillColor,r=!1;this.current.patternFill&&(t.save(),this.baseTransform&&t.setTransform.apply(t,this.baseTransform),t.fillStyle=n.getPattern(t,this),r=!0),this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill(),r&&t.restore(),e&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=A},eoClip:function(){this.pendingClip=v},beginText:function(){this.current.textMatrix=r.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0!==e){t.save(),t.beginPath();for(var n=0;n<e.length;n++){var r=e[n];t.setTransform.apply(t,r.transform),t.translate(r.x,r.y),r.addToPath(t,r.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}else t.beginPath()},setCharSpacing:function(e){this.current.charSpacing=e},setWordSpacing:function(e){this.current.wordSpacing=e},setHScale:function(e){this.current.textHScale=e/100},setLeading:function(e){this.current.leading=-e},setFont:function(e,t){var n=this.commonObjs.get(e),i=this.current;if(!n)throw new Error("Can't find font for ".concat(e));if(i.fontMatrix=n.fontMatrix?n.fontMatrix:r.FONT_IDENTITY_MATRIX,0!==i.fontMatrix[0]&&0!==i.fontMatrix[3]||(0,r.warn)("Invalid font matrix for font "+e),t<0?(t=-t,i.fontDirection=-1):i.fontDirection=1,this.current.font=n,this.current.fontSize=t,!n.isType3Font){var o="normal";n.black?o="900":n.bold&&(o="bold");var a=n.italic?"italic":"normal",s='"'.concat(n.loadedName||"sans-serif",'", ').concat(n.fallbackName),l=t;t<16?l=16:t>100&&(l=100),this.current.fontSizeScale=t/l,this.ctx.font="".concat(a," ").concat(o," ").concat(l,"px ").concat(s)}},setTextRenderingMode:function(e){this.current.textRenderingMode=e},setTextRise:function(e){this.current.textRise=e},moveText:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},setTextMatrix:function(e,t,n,r,i,o){this.current.textMatrix=[e,t,n,r,i,o],this.current.textMatrixScale=Math.sqrt(e*e+t*t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(e,t,n,i){var o,a=this.ctx,s=this.current,l=s.font,u=s.textRenderingMode,c=s.fontSize/s.fontSizeScale,h=u&r.TextRenderingMode.FILL_STROKE_MASK,d=!!(u&r.TextRenderingMode.ADD_TO_PATH_FLAG),f=s.patternFill&&!l.missingFile;(l.disableFontFace||d||f)&&(o=l.getPathGenerator(this.commonObjs,e)),l.disableFontFace||f?(a.save(),a.translate(t,n),a.beginPath(),o(a,c),i&&a.setTransform.apply(a,i),h!==r.TextRenderingMode.FILL&&h!==r.TextRenderingMode.FILL_STROKE||a.fill(),h!==r.TextRenderingMode.STROKE&&h!==r.TextRenderingMode.FILL_STROKE||a.stroke(),a.restore()):(h!==r.TextRenderingMode.FILL&&h!==r.TextRenderingMode.FILL_STROKE||a.fillText(e,t,n),h!==r.TextRenderingMode.STROKE&&h!==r.TextRenderingMode.FILL_STROKE||a.strokeText(e,t,n)),d&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:a.mozCurrentTransform,x:t,y:n,fontSize:c,addToPath:o})},get isFontSubpixelAAEnabled(){var e=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10).context;e.scale(1.5,1),e.fillText("I",0,10);for(var t=e.getImageData(0,0,10,10).data,n=!1,i=3;i<t.length;i+=4)if(t[i]>0&&t[i]<255){n=!0;break}return(0,r.shadow)(this,"isFontSubpixelAAEnabled",n)},showText:function(e){var t=this.current,n=t.font;if(n.isType3Font)return this.showType3Text(e);var i=t.fontSize;if(0!==i){var o,a=this.ctx,s=t.fontSizeScale,l=t.charSpacing,u=t.wordSpacing,c=t.fontDirection,h=t.textHScale*c,d=e.length,f=n.vertical,p=f?1:-1,g=n.defaultVMetrics,_=i*t.fontMatrix[0],A=t.textRenderingMode===r.TextRenderingMode.FILL&&!n.disableFontFace&&!t.patternFill;if(a.save(),t.patternFill){a.save();var v=t.fillColor.getPattern(a,this);
1o=a.mozCurrentTransform,a.restore(),a.fillStyle=v}a.transform.apply(a,t.textMatrix),a.translate(t.x,t.y+t.textRise),a.scale(h,c>0?-1:1);var m=t.lineWidth,y=t.textMatrixScale;if(0===y||0===m){var b=t.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;b!==r.TextRenderingMode.STROKE&&b!==r.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,m=.65*this.getSinglePixelWidth())}else m/=y;1!==s&&(a.scale(s,s),m/=s),a.lineWidth=m;var C,w=0;for(C=0;C<d;++C){var k=e[C];if((0,r.isNum)(k))w+=p*k*i/1e3;else{var E,S,O,x,P=!1,T=(k.isSpace?u:0)+l,B=k.fontChar,D=k.accent,M=k.width;if(f?(O=k.vmetric||g,x=k.vmetric?O[1]:.5*M,M=O?-O[0]:M,E=(x=-x*_)/s,S=(w+O[2]*_)/s):(E=w/s,S=0),n.remeasure&&M>0){var I=1e3*a.measureText(B).width/i*s;if(M<I&&this.isFontSubpixelAAEnabled){var R=M/I;P=!0,a.save(),a.scale(R,1),E/=R}else M!==I&&(E+=(M-I)/2e3*i/s)}(k.isInFont||n.missingFile)&&(A&&!D?a.fillText(B,E,S):(this.paintChar(B,E,S,o),D&&this.paintChar(D.fontChar,E+D.offset.x/s,S-D.offset.y/s,o))),w+=f?M*_-T*c:M*_+T*c,P&&a.restore()}}f?t.y-=w:t.x+=w*h,a.restore()}},showType3Text:function(e){var t,n,i,o,a=this.ctx,s=this.current,l=s.font,u=s.fontSize,c=s.fontDirection,h=l.vertical?1:-1,d=s.charSpacing,f=s.wordSpacing,p=s.textHScale*c,g=s.fontMatrix||r.FONT_IDENTITY_MATRIX,_=e.length;if(s.textRenderingMode!==r.TextRenderingMode.INVISIBLE&&0!==u){for(this._cachedGetSinglePixelWidth=null,a.save(),a.transform.apply(a,s.textMatrix),a.translate(s.x,s.y),a.scale(p,c),t=0;t<_;++t)if((0,r.isNum)(n=e[t]))this.ctx.translate(o=h*n*u/1e3,0),s.x+=o*p;else{var A=(n.isSpace?f:0)+d,v=l.charProcOperatorList[n.operatorListId];if(v){this.processingType3=n,this.save(),a.scale(u,u),a.transform.apply(a,g),this.executeOperatorList(v),this.restore();var m=r.Util.applyTransform([n.width,0],g);a.translate(i=m[0]*u+A,0),s.x+=i*p}else(0,r.warn)('Type3 character "'.concat(n.operatorListId,'" is not available.'))}a.restore(),this.processingType3=null}},setCharWidth:function(e,t){},setCharWidthAndBounds:function(e,t,n,r,i,o){this.ctx.rect(n,r,i-n,o-r),this.clip(),this.endPath()},getColorN_Pattern:function(t){var n,r=this;if("TilingPattern"===t[0]){var o=t[1],a=this.baseTransform||this.ctx.mozCurrentTransform.slice();n=new i.TilingPattern(t,o,this.ctx,{createCanvasGraphics:function(t){return new e(t,r.commonObjs,r.objs,r.canvasFactory,r.webGLContext)}},a)}else n=(0,i.getShadingPatternFromIR)(t);return n},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(e,t,n){var i=r.Util.makeCssRgb(e,t,n);this.ctx.strokeStyle=i,this.current.strokeColor=i},setFillRGBColor:function(e,t,n){var i=r.Util.makeCssRgb(e,t,n);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1},shadingFill:function(e){var t=this.ctx;this.save();var n=(0,i.getShadingPatternFromIR)(e);t.fillStyle=n.getPattern(t,this,!0);var o=t.mozCurrentTransformInverse;if(o){var a=t.canvas,s=a.width,l=a.height,u=r.Util.applyTransform([0,0],o),c=r.Util.applyTransform([0,l],o),h=r.Util.applyTransform([s,0],o),d=r.Util.applyTransform([s,l],o),f=Math.min(u[0],c[0],h[0],d[0]),p=Math.min(u[1],c[1],h[1],d[1]),g=Math.max(u[0],c[0],h[0],d[0]),_=Math.max(u[1],c[1],h[1],d[1]);this.ctx.fillRect(f,p,g-f,_-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){(0,r.unreachable)("Should not call beginInlineImage")},beginImageData:function(){(0,r.unreachable)("Should not call beginImageData")},paintFormXObjectBegin:function(e,t){this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,t&&(this.ctx.rect(t[0],t[1],t[2]-t[0],t[3]-t[1]),this.clip(),this.endPath())},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(e){this.save();var t=this.ctx;e.isolated||(0,r.info)("TODO: Support non-isolated groups."),e.knockout&&(0,r.warn)("Knockout groups not supported.");var n=t.mozCurrentTransform;if(e.matrix&&t.transform.apply(t,e.matrix),!e.bbox)throw new Error("Bounding box is required.");var i=r.Util.getAxialAlignedBoundingBox(e.bbox,t.mozCurrentTransform);i=r.Util.intersect(i,[0,0,t.canvas.width,t.canvas.height])||[0,0,0,0];var o=Math.floor(i[0]),s=Math.floor(i[1]),l=Math.max(Math.ceil(i[2])-o,1),u=Math.max(Math.ceil(i[3])-s,1),c=1,h=1;l>4096&&(c=l/4096,l=4096),u>4096&&(h=u/4096,u=4096);var d="groupAt"+this.groupLevel;e.smask&&(d+="_smask_"+this.smaskCounter++%2);var f=this.cachedCanvases.getCanvas(d,l,u,!0),p=f.context;p.scale(1/c,1/h),p.translate(-o,-s),p.transform.apply(p,n),e.smask?this.smaskStack.push({canvas:f.canvas,context:p,offsetX:o,offsetY:s,scaleX:c,scaleY:h,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(o,s),t.scale(c,h)),a(t,p),this.ctx=p,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++,this.current.activeSMask=null},endGroup:function(e){this.groupLevel--;var t=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,e.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(t.canvas,0,0),this.restore(
1)},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(e,t,n){this.save(),c(this.ctx),this.current=new u,Array.isArray(e)&&4===e.length&&(this.ctx.rect(e[0],e[1],e[2]-e[0],e[3]-e[1]),this.clip(),this.endPath()),this.transform.apply(this,t),this.transform.apply(this,n)},endAnnotation:function(){this.restore()},paintImageMaskXObject:function(e){var t=this.ctx,r=e.width,i=e.height,o=this.current.fillColor,a=this.current.patternFill,s=this.processingType3;if(s&&void 0===s.compiled&&(s.compiled=r<=1e3&&i<=1e3?function(e){var t,n,r,i,o=e.width,a=e.height,s=o+1,l=new Uint8Array(s*(a+1)),u=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),c=o+7&-8,h=e.data,d=new Uint8Array(c*a),f=0;for(t=0,i=h.length;t<i;t++)for(var p=128,g=h[t];p>0;)d[f++]=g&p?0:255,p>>=1;var _=0;for(0!==d[f=0]&&(l[0]=1,++_),n=1;n<o;n++)d[f]!==d[f+1]&&(l[n]=d[f]?2:1,++_),f++;for(0!==d[f]&&(l[n]=2,++_),t=1;t<a;t++){r=t*s,d[(f=t*c)-c]!==d[f]&&(l[r]=d[f]?1:8,++_);var A=(d[f]?4:0)+(d[f-c]?8:0);for(n=1;n<o;n++)u[A=(A>>2)+(d[f+1]?4:0)+(d[f-c+1]?8:0)]&&(l[r+n]=u[A],++_),f++;if(d[f-c]!==d[f]&&(l[r+n]=d[f]?2:4,++_),_>1e3)return null}for(r=t*s,0!==d[f=c*(a-1)]&&(l[r]=8,++_),n=1;n<o;n++)d[f]!==d[f+1]&&(l[r+n]=d[f]?4:8,++_),f++;if(0!==d[f]&&(l[r+n]=4,++_),_>1e3)return null;var v=new Int32Array([0,s,-1,0,-s,0,0,0,1]),m=[];for(t=0;_&&t<=a;t++){for(var y=t*s,b=y+o;y<b&&!l[y];)y++;if(y!==b){var C,w=[y%s,t],k=l[y],E=y;do{var S=v[k];do{y+=S}while(!l[y]);5!==(C=l[y])&&10!==C?(k=C,l[y]=0):l[y]&=(k=C&51*k>>4)>>2|k<<2,w.push(y%s),w.push(y/s|0),l[y]||--_}while(E!==y);m.push(w),--t}}return function(e){e.save(),e.scale(1/o,-1/a),e.translate(0,-a),e.beginPath();for(var t=0,n=m.length;t<n;t++){var r=m[t];e.moveTo(r[0],r[1]);for(var i=2,s=r.length;i<s;i+=2)e.lineTo(r[i],r[i+1])}e.fill(),e.beginPath(),e.restore()}}({data:e.data,width:r,height:i}):null),s&&s.compiled)s.compiled(t);else{var l=this.cachedCanvases.getCanvas("maskCanvas",r,i),u=l.context;u.save(),n(u,e),u.globalCompositeOperation="source-in",u.fillStyle=a?o.getPattern(u,this):o,u.fillRect(0,0,r,i),u.restore(),this.paintInlineImageXObject(l.canvas)}},paintImageMaskXObjectRepeat:function(e,t,r,i){var o=e.width,a=e.height,s=this.current.fillColor,l=this.current.patternFill,u=this.cachedCanvases.getCanvas("maskCanvas",o,a),c=u.context;c.save(),n(c,e),c.globalCompositeOperation="source-in",c.fillStyle=l?s.getPattern(c,this):s,c.fillRect(0,0,o,a),c.restore();for(var h=this.ctx,d=0,f=i.length;d<f;d+=2)h.save(),h.transform(t,0,0,r,i[d],i[d+1]),h.scale(1,-1),h.drawImage(u.canvas,0,0,o,a,0,-1,1,1),h.restore()},paintImageMaskXObjectGroup:function(e){for(var t=this.ctx,r=this.current.fillColor,i=this.current.patternFill,o=0,a=e.length;o<a;o++){var s=e[o],l=s.width,u=s.height,c=this.cachedCanvases.getCanvas("maskCanvas",l,u),h=c.context;h.save(),n(h,s),h.globalCompositeOperation="source-in",h.fillStyle=i?r.getPattern(h,this):r,h.fillRect(0,0,l,u),h.restore(
1),t.save(),t.transform.apply(t,s.transform),t.scale(1,-1),t.drawImage(c.canvas,0,0,l,u,0,-1,1,1),t.restore()}},paintImageXObject:function(e){var t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)("Dependent image isn't ready yet")},paintImageXObjectRepeat:function(e,t,n,i){var o=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);if(o){for(var a=o.width,s=o.height,l=[],u=0,c=i.length;u<c;u+=2)l.push({transform:[t,0,0,n,i[u],i[u+1]],x:0,y:0,w:a,h:s});this.paintInlineImageXObjectGroup(o,l)}else(0,r.warn)("Dependent image isn't ready yet")},paintInlineImageXObject:function(e){var n=e.width,r=e.height,i=this.ctx;this.save(),i.scale(1/n,-1/r);var o,a,s=i.mozCurrentTransformInverse,l=s[0],u=s[1],c=Math.max(Math.sqrt(l*l+u*u),1),h=s[2],d=s[3],f=Math.max(Math.sqrt(h*h+d*d),1);if("function"==typeof HTMLElement&&e instanceof HTMLElement||!e.data)o=e;else{var p=(a=this.cachedCanvases.getCanvas("inlineImage",n,r)).context;t(p,e),o=a.canvas}for(var g=n,_=r,A="prescale1";c>2&&g>1||f>2&&_>1;){var v=g,m=_;c>2&&g>1&&(c/=g/(v=Math.ceil(g/2))),f>2&&_>1&&(f/=_/(m=Math.ceil(_/2))),(p=(a=this.cachedCanvases.getCanvas(A,v,m)).context).clearRect(0,0,v,m),p.drawImage(o,0,0,g,_,0,0,v,m),o=a.canvas,g=v,_=m,A="prescale1"===A?"prescale2":"prescale1"}if(i.drawImage(o,0,0,g,_,0,-r,n,r),this.imageLayer){var y=this.getCanvasPosition(0,-r);this.imageLayer.appendImage({imgData:e,left:y[0],top:y[1],width:n/s[0],height:r/s[3]})}this.restore()},paintInlineImageXObjectGroup:function(e,n){var r=this.ctx,i=e.width,o=e.height,a=this.cachedCanvases.getCanvas("inlineImage",i,o);t(a.context,e);for(var s=0,l=n.length;s<l;s++){var u=n[s];if(r.save(),r.transform.apply(r,u.transform),r.scale(1,-1),r.drawImage(a.canvas,u.x,u.y,u.w,u.h,0,-1,1,1),this.imageLayer){var c=this.getCanvasPosition(u.x,u.y);this.imageLayer.appendImage({imgData:e,left:c[0],top:c[1],width:i,height:o})}r.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){(0,r.warn)("Unsupported 'paintXObject' command.")},markPoint:function(e){},markPointProps:function(e,t){},beginMarkedContent:function(e){},beginMarkedContentProps:function(e,t){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var e=this.ctx;this.pendingClip&&(this.pendingClip===v?e.clip("evenodd"):e.clip(),this.pendingClip=null),e.beginPath()},getSinglePixelWidth:function(e){if(null===this._cachedGetSinglePixelWidth){var t=this.ctx.mozCurrentTransformInverse;this._cachedGetSinglePixelWidth=Math.sqrt(Math.max(t[0]*t[0]+t[1]*t[1],t[2]*t[2]+t[3]*t[3]))}return this._cachedGetSinglePixelWidth},getCanvasPosition:function(e,t){var n=this.ctx.mozCurrentTransform;return[n[0]*e+n[2]*t+n[4],n[1]*e+n[3]*t+n[5]]}},r.OPS)e.prototype[r.OPS[m]]=e.prototype[m];return e}();t.CanvasGraphics=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getShadingPatternFromIR=function(e){var t=i[e[0]];if(!t)throw new Error("Unknown IR type: ".concat(e[0]));return t.fromIR(e)},t.TilingPattern=void 0;var r=n(5),i={};function o(e,t){if(t&&"undefined"!=typeof Path2D){var n=t[2]-t[0],r=t[3]-t[1],i=new Path2D;i.rect(t[0],t[1],n,r),e.clip(i)}}i.RadialAxial={fromIR:function(e){var t=e[1],n=e[2],r=e[3],i=e[4],a=e[5],s=e[6],l=e[7];return{type:"Pattern",getPattern:function(e){var u;o(e,n),"axial"===t?u=e.createLinearGradient(i[0],i[1],a[0],a[1]):"radial"===t&&(u=e.createRadialGradient(i[0],i[1],s,a[0],a[1],l));for(var c=0,h=r.length;c<h;++c){var d=r[c];u.addColorStop(d[0],d[1])}return u}}}};var a=function(){function e(e,t,n,r,i,o,a,s){var l,u=t.coords,c=t.colors,h=e.data,d=4*e.width;u[n+1]>u[r+1]&&(l=n,n=r,r=l,l=o,o=a,a=l),u[r+1]>u[i+1]&&(l=r,r=i,i=l,l=a,a=s,s=l),u[n+1]>u[r+1]&&(l=n,n=r,r=l,l=o,o=a,a=l);var f=(u[n]+t.offsetX)*t.scaleX,p=(u[n+1]+t.offsetY)*t.scaleY,g=(u[r]+t.offsetX)*t.scaleX,_=(u[r+1]+t.offsetY)*t.scaleY,A=(u[i]+t.offsetX)*t.scaleX,v=(u[i+1]+t.offsetY)*t.scaleY;if(!(p>=v))for(var m,y,b,C,w,k,E,S,O=c[o],x=c[o+1],P=c[o+2],T=c[a],B=c[a+1],D=c[a+2],M=c[s],I=c[s+1],R=c[s+2],F=Math.round(p),L=Math.round(v),U=F;U<=L;U++){var N,j;U<_?(m=f-(f-g)*(N=U<p?0:p===_?1:(p-U)/(p-_)),y=O-(O-T)*N,b=x-(x-B)*N,C=P-(P-D)*N):(m=g-(g-A)*(j=U>v?1:_===v?0:(_-U)/(_-v)),y=T-(T-M)*j,b=B-(B-I)*j,C=D-(D-R)*j);var H=void 0;w=f-(f-A)*(H=U<p?0:U>v?1:(p-U)/(p-v)),k=O-(O-M)*H,E=x-(x-I)*H,S=P-(P-R)*H;for(var Q=Math.round(Math.min(m,w)),V=Math.round(Math.max(m,w)),K=d*U+4*Q,W=Q;W<=V;W++)(H=(m-W)/(m-w))<0?H=0:H>1&&(H=1),h[K++]=y-(y-k)*H|0,h[K++]=b-(b-E)*H|0,h[K++]=C-(C-S)*H|0,h[K++]=255}}function t(t,n,r){var i,o,a=n.coords,s=n.colors;switch(n.type){case"lattice":var l=n.verticesPerRow,u=Math.floor(a.length/l)-1,c=l-1;for(i=0;i<u;i++)for(var h=i*l,d=0;d<c;d++,h++)e(t,r,a[h],a[h+1],a[h+l],s[h],s[h+1],s[h+l]),e(t,r,a[h+l+1],a[h+1],a[h+l],s[h+l+1],s[h+1],s[h+l]);break;case"triangles":for(i=0,o=a.length;i<o;i+=3)e(t,r,a[i],a[i+1],a[i+2],s[i],s[i+1],s[i+2]);break;default:throw new Error("illegal figure")}}return function(e,n,r,i,o,a,s,l){var u,c,h,d,f=Math.floor(e[0]),p=Math.floor(e[1]),g=Math.ceil(e[2])-f,_=Math.ceil(e[3])-p,A=Math.min(Math.ceil(Math.abs(g*n[0]*1.1)),3e3),v=Math.min(Math.ceil(Math.abs(_*n[1]*1.1)),3e3),m=g/A,y=_/v,b={coords:r,colors:i,offsetX:-f,offsetY:-p,scaleX:1/m,scaleY:1/y},C=A+4,w=v+4;if(l.isEnabled)u=l.drawFigures({width:A,height:v,backgroundColor:a,figures:o,context:b}),(c=s.getCanvas("mesh",C,w,!1)).context.drawImage(u,2,2),u=c.canvas;else{var k=(c=s.getCanvas("mesh",C,w,!1)).context,E=k.createImageData(A,v);if(a){var S=E.data;for(h=0,d=S.length;h<d;h+=4)S[h]=a[0],S[h+1]=a[1],S[h+2]=a[2],S[h+3]=255}for(h=0;h<o.length;h++)t(E,o[h],b);k.putImageData(E,2,2),u=c.canvas}return{canvas:u,offsetX:f-2*m,offsetY:p-2*y,scaleX:m,scaleY:y}}}();i.Mesh={fromIR:function(e){var t=e[2],n=e[3],i=e[4],s=e[5],l=e[6],u=e[7],c=e[8];return{type:"Pattern",getPattern:function(e,h,d){var f;if(o(e,u),d)f=r.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(f=r.Util.singularValueDecompose2dScale(h.baseTransform),l){var p=r.Util.singularValueDecompose2dScale(l);
1f=[f[0]*p[0],f[1]*p[1]]}var g=a(s,f,t,n,i,d?null:c,h.cachedCanvases,h.webGLContext);return d||(e.setTransform.apply(e,h.baseTransform),l&&e.transform.apply(e,l)),e.translate(g.offsetX,g.offsetY),e.scale(g.scaleX,g.scaleY),e.createPattern(g.canvas,"no-repeat")}}}},i.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var s=function(){function e(e,t,n,r,i){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.canvasGraphicsFactory=r,this.baseTransform=i,this.type="Pattern",this.ctx=n}return e.prototype={createPatternCanvas:function(e){var t=this.operatorList,n=this.bbox,i=this.xstep,o=this.ystep,a=this.paintType,s=this.color,l=this.canvasGraphicsFactory;(0,r.info)("TilingType: "+this.tilingType);var u=n[0],c=n[1],h=n[2],d=n[3],f=r.Util.singularValueDecompose2dScale(this.matrix),p=r.Util.singularValueDecompose2dScale(this.baseTransform),g=[f[0]*p[0],f[1]*p[1]],_=this.getSizeAndScale(i,this.ctx.canvas.width,g[0]),A=this.getSizeAndScale(o,this.ctx.canvas.height,g[1]),v=e.cachedCanvases.getCanvas("pattern",_.size,A.size,!0),m=l.createCanvasGraphics(v.context);return m.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(m,a,s),m.transform(_.scale,0,0,A.scale,0,0),m.transform(1,0,0,1,-u,-c),this.clipBbox(m,n,u,c,h,d),m.executeOperatorList(t),this.ctx.transform(1,0,0,1,u,c),this.ctx.scale(1/_.scale,1/A.scale),v.canvas},getSizeAndScale:function(e,t,n){e=Math.abs(e);var r=Math.max(3e3,t),i=Math.ceil(e*n);return i>=r?i=r:n=i/e,{scale:n,size:i}},clipBbox:function(e,t,n,r,i,o){Array.isArray(t)&&4===t.length&&(e.ctx.rect(n,r,i-n,o-r),e.clip(),e.endPath())},setFillAndStrokeStyleToContext:function(e,t,n){var i=e.ctx,o=e.current;switch(t){case 1:var a=this.ctx;i.fillStyle=a.fillStyle,i.strokeStyle=a.strokeStyle,o.fillColor=a.fillStyle,o.strokeColor=a.strokeStyle;break;case 2:var s=r.Util.makeCssRgb(n[0],n[1],n[2]);i.fillStyle=s,i.strokeStyle=s,o.fillColor=s,o.strokeColor=s;break;default:throw new r.FormatError("Unsupported paint type: ".concat(t))}},getPattern:function(e,t){(e=this.ctx).setTransform.apply(e,this.baseTransform),e.transform.apply(e,this.matrix);var n=this.createPatternCanvas(t);return e.createPattern(n,"repeat")}},e}();t.TilingPattern=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;var r=Object.create(null);t.GlobalWorkerOptions=r,r.workerPort=void 0===r.workerPort?null:r.workerPort,r.workerSrc=void 0===r.workerSrc?"":r.workerSrc},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function s(e){return(s="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 l(e){if("object"!==s(e)||null===e)return e;switch(e.name){case"AbortException":return new o.AbortException(e.message);case"MissingPDFException":return new o.MissingPDFException(e.message);case"UnexpectedResponseException":return new o.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new o.UnknownErrorException(e.message,e.details);default:return new o.UnknownErrorException(e.message,e.toString())}}t.MessageHandler=function(){function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sourceName=t,this.targetName=n,this.comObj=r,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===i.sourceName)if(t.stream)i._processStreamMessage(t);else if(t.callback){var n=t.callbackId,o=i.callbackCapabilities[n];if(!o)throw new Error("Cannot resolve callback ".concat(n));if(delete i.callbackCapabilities[n],1===t.callback)o.resolve(t.data);else{if(2!==t.callback)throw new Error("Unexpected callback case");o.reject(l(t.reason))}}else{var a=i.actionHandler[t.action];if(!a)throw new Error("Unknown action from worker: ".concat(t.action));if(t.callbackId){var s=i.sourceName,u=t.sourceName;new Promise((function(e){e(a(t.data))})).then((function(e){r.postMessage({sourceName:s,targetName:u,callback:1,callbackId:t.callbackId,data:e})}),(function(e){r.postMessage({sourceName:s,targetName:u,callback:2,callbackId:t.callbackId,reason:l(e)})}))}else t.streamId?i._createStreamSink(t):a(t.data)}},r.addEventListener("message",this._onComObjOnMessage)}var t,n,r,s;return t=e,(n=[{key:"on",value:function(e,t){var n=this.actionHandler;if(n[e])throw new Error('There is already an actionName called "'.concat(e,'"'));n[e]=t}},{key:"send",value:function(e,t,n){this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},n)}}
1,{key:"sendWithPromise",value:function(e,t,n){var r=this.callbackId++,i=(0,o.createPromiseCapability)();this.callbackCapabilities[r]=i;try{this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:r,data:t},n)}catch(a){i.reject(a)}return i.promise}},{key:"sendWithStream",value:function(e,t,n,r){var i=this,a=this.streamId++,s=this.sourceName,u=this.targetName,c=this.comObj;return new ReadableStream({start:function(n){var l=(0,o.createPromiseCapability)();return i.streamControllers[a]={controller:n,startCall:l,pullCall:null,cancelCall:null,isClosed:!1},i._postMessage({sourceName:s,targetName:u,action:e,streamId:a,data:t,desiredSize:n.desiredSize},r),l.promise},pull:function(e){var t=(0,o.createPromiseCapability)();return i.streamControllers[a].pullCall=t,c.postMessage({sourceName:s,targetName:u,stream:6,streamId:a,desiredSize:e.desiredSize}),t.promise},cancel:function(e){(0,o.assert)(e instanceof Error,"cancel must have a valid reason");var t=(0,o.createPromiseCapability)();return i.streamControllers[a].cancelCall=t,i.streamControllers[a].isClosed=!0,c.postMessage({sourceName:s,targetName:u,stream:1,streamId:a,reason:l(e)}),t.promise}},n)}},{key:"_createStreamSink",value:function(e){var t=this,n=this.actionHandler[e.action],r=e.streamId,i=this.sourceName,a=e.sourceName,s=this.comObj,u={enqueue:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,s=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var l=this.desiredSize;this.desiredSize-=n,l>0&&this.desiredSize<=0&&(this.sinkCapability=(0,o.createPromiseCapability)(),this.ready=this.sinkCapability.promise),t._postMessage({sourceName:i,targetName:a,stream:4,streamId:r,chunk:e},s)}},close:function(){this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:a,stream:3,streamId:r}),delete t.streamSinks[r])},error:function(e){(0,o.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:a,stream:5,streamId:r,reason:l(e)}))},sinkCapability:(0,o.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};u.sinkCapability.resolve(),u.ready=u.sinkCapability.promise,this.streamSinks[r]=u,new Promise((function(t){t(n(e.data,u))})).then((function(){s.postMessage({sourceName:i,targetName:a,stream:8,streamId:r,success:!0})}),(function(e){s.postMessage({sourceName:i,targetName:a,stream:8,streamId:r,reason:l(e)})}))}},{key:"_processStreamMessage",value:function(e){var t=e.streamId,n=this.sourceName,r=e.sourceName,i=this.comObj;switch(e.stream){case 8:e.success?this.streamControllers[t].startCall.resolve():this.streamControllers[t].startCall.reject(l(e.reason));break;case 7:e.success?this.streamControllers[t].pullCall.resolve():this.streamControllers[t].pullCall.reject(l(e.reason));break;case 6:if(!this.streamSinks[t]){i.postMessage({sourceName:n,targetName:r,stream:7,streamId:t,success:!0});break}this.streamSinks[t].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[t].sinkCapability.resolve(),this.streamSinks[t].desiredSize=e.desiredSize;var a=this.streamSinks[e.streamId].onPull;new Promise((function(e){e(a&&a())})).then((function(){i.postMessage({sourceName:n,targetName:r,stream:7,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:n,targetName:r,stream:7,streamId:t,reason:l(e)})}));break;case 4:if((0,o.assert)(this.streamControllers[t],"enqueue should have stream controller"),this.streamControllers[t].isClosed)break;this.streamControllers[t].controller.enqueue(e.chunk);break;case 3:if((0,o.assert)(this.streamControllers[t],"close should have stream controller"),this.streamControllers[t].isClosed)break;this.streamControllers[t].isClosed=!0,this.streamControllers[t].controller.close(),this._deleteStreamController(t);break;case 5:(0,o.assert)(this.streamControllers[t],"error should have stream controller"),this.streamControllers[t].controller.error(l(e.reason)),this._deleteStreamController(t);break;case 2:e.success?this.streamControllers[t].cancelCall.resolve():this.streamControllers[t].cancelCall.reject(l(e.reason)),this._deleteStreamController(t);break;case 1:if(!this.streamSinks[t])break;var s=this.streamSinks[e.streamId].onCancel;new Promise((function(t){t(s&&s(l(e.reason)))})).then((function(){i.postMessage({sourceName:n,targetName:r,stream
1:2,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:n,targetName:r,stream:2,streamId:t,reason:l(e)})})),this.streamSinks[t].sinkCapability.reject(l(e.reason)),this.streamSinks[t].isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}},{key:"_deleteStreamController",value:(r=i.default.mark((function e(t){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.allSettled([this.streamControllers[t].startCall,this.streamControllers[t].pullCall,this.streamControllers[t].cancelCall].map((function(e){return e&&e.promise})));case 2:delete this.streamControllers[t];case 3:case"end":return e.stop()}}),e,this)})),s=function(){var e=this,t=arguments;return new Promise((function(n,i){var o=r.apply(e,t);function s(e){a(o,n,i,s,l,"next",e)}function l(e){a(o,n,i,s,l,"throw",e)}s(void 0)}))},function(e){return s.apply(this,arguments)})},{key:"_postMessage",value:function(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)}},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}])&&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)}}(t.prototype,n),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var r=n(5),i=n(206);function o(e,t){if(e){if("string"==typeof e)return a(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)?a(e,t):void 0}}function a(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}t.Metadata=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(0,r.assert)("string"==typeof t,"Metadata: input is not a string"),t=this._repair(t);var n=(new i.SimpleXMLParser).parseFromString(t);this._metadataMap=new Map,n&&this._parse(n)}var t;return(t=[{key:"_repair",value:function(e){return e.replace(/^[^<]+/,"").replace(/>\\376\\377([^<]+)/g,(function(e,t){for(var n=t.replace(/\\([0-3])([0-7])([0-7])/g,(function(e,t,n,r){return String.fromCharCode(64*t+8*n+1*r)})).replace(/&(amp|apos|gt|lt|quot);/g,(function(e,t){switch(t){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(t," isn't defined."))})),r="",i=0,o=n.length;i<o;i+=2){var a=256*n.charCodeAt(i)+n.charCodeAt(i+1);r+=a>=32&&a<127&&60!==a&&62!==a&&38!==a?String.fromCharCode(a):"&#x"+(65536+a).toString(16).substring(1)+";"}return">"+r}))}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName.toLowerCase())for(t=t.firstChild;t&&"rdf:rdf"!==t.nodeName.toLowerCase();)t=t.nextSibling;var n=t?t.nodeName.toLowerCase():null;if(t&&"rdf:rdf"===n&&t.hasChildNodes())for(var r=t.childNodes,i=0,o=r.length;i<o;i++){var a=r[i];if("rdf:description"===a.nodeName.toLowerCase())for(var s=0,l=a.childNodes.length;s<l;s++)if("#text"!==a.childNodes[s].nodeName.toLowerCase()){var u=a.childNodes[s],c=u.nodeName.toLowerCase();this._metadataMap.set(c,u.textContent.trim())}}}},{key:"get",value:function(e){return this._metadataMap.has(e)?this._metadataMap.get(e):null}},{key:"getAll",value:function(){var e,t,n=Object.create(null),r=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=o(e))){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 a,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}(this._metadataMap);try{for(r.s();!(e=r.n()).done;){var i=function(e){if(Array.isArray(e))return e}(t=e.value)||function(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),2!==n.length);r=!0);}catch(l){i=!0,o=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t)||o(t,2)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();n[i[0]]=i[1]}}catch(a){r.e(a)}finally{r.f()}return n}},{key:"has",value:function(e){return this._metadataMap.has(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}()},function(e,t,n){"use strict";function r(e){return(r="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 i(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 o(e,t,n){return(o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 h(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function d(e,t){var n=e[t];return" "===n||"\n"===n||"\r"===n||"\t"===n}Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleXMLParser=void 0;var f=function(){function e(){u(this,e)}return h(e,[{key:"_resolveEntities",value:function(e){var t=this;return e.replace(/&([^;]+);/g,(function(e,n){if("#x"===n.substring(0,2))return String.fromCharCode(parseInt(n.substring(2),16));if("#"===n.substring(0,1))return String.fromCharCode(parseInt(n.substring(1),10));switch(n){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"'}return t.onResolveEntity(n)}))}},{key:"_parseContent",value:function(e,t){var n=[],r=t;function i(){for(;r<e.length&&d(e,r);)++r}for(;r<e.length&&!d(e,r)&&">"!==e[r]&&"/"!==e[r];)++r;var o=e.substring(t,r);for(i();r<e.length&&">"!==e[r]&&"/"!==e[r]&&"?"!==e[r];){i();for(var a,s="";r<e.length&&!d(e,r)&&"="!==e[r];)s+=e[r],++r;if(i(),"="!==e[r])return null;++r,i();var l=e[r];if('"'!==l&&"'"!==l)return null;var u=e.indexOf(l,++r);if(u<0)return null;a=e.substring(r,u),n.push({name:s,value:this._resolveEntities(a)}),r=u+1,i()}return{name:o,attributes:n,parsed:r-t}}},{key:"_parseProcessingInstruction",value:function(e,t){for(var n=t;n<e.length&&!d(e,n)&&">"!==e[n]&&"/"!==e[n];)++n;var r=e.substring(t,n);!function(){for(;n<e.length&&d(e,n);)++n}();for(var i=n;n<e.length&&("?"!==e[n]||">"!==e[n+1]);)++n;return{name:r,value:e.substring(i,n),parsed:n-t}}},{key:"parseXml",value:function(e){for(var t=0;t<e.length;){var n=t;if("<"===e[t]){var r=void 0;switch(e[++n]){case"/":if(++n,(r=e.indexOf(">",n))<0)return void this.onError(-9);this.onEndElement(e.substring(n,r)),n=r+1;break;case"?":++n;var i=this._parseProcessingInstruction(e,n);if("?>"!==e.substring(n+i.parsed,n+i.parsed+2))return void this.onError(-3);this.onPi(i.name,i.value),n+=i.parsed+2;break;case"!":if("--"===e.substring(n+1,n+3)){if((r=e.indexOf("--\x3e",n+3))<0)return void this.onError(-5);this.onComment(e.substring(n+3,r)),n=r+3}else if("[CDATA["===e.substring(n+1,n+8)){if((r=e.indexOf("]]>",n+8))<0)return void this.onError(-2);this.onCdata(e.substring(n+8,r)),n=r+3}else{if("DOCTYPE"!==e.substring(n+1,n+8))return void this.onError(-6);var o=e.indexOf("[",n+8),a=!1;if((r=e.indexOf(">",n+8))<0)return void this.onError(-4);if(o>0&&r>o){if((r=e.indexOf("]>",n+8))<0)return void this.onError(-4);a=!0}var s=e.substring(n+8,r+(a?1:0));this.onDoctype(s),n=r+(a?2:1)}break;default:var l=this._parseContent(e,n);if(null===l)return void this.onError(-6);var u=!1;if("/>"===e.substring(n+l.parsed,n+l.parsed+2))u=!0;else if(">"!==e.substring(n+l.parsed,n+l.parsed+1))return void this.onError(-9);this.onBeginElement(l.name,l.attributes,u),n+=l.parsed+(u?2:1)}}else{for(;n<e.length&&"<"!==e[n];)n++;var c=e.substring(t,n);this.onText(this._resolveEntities(c))}t=n}}}
1,{key:"onResolveEntity",value:function(e){return"&".concat(e,";")}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,n){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}]),e}(),p=function(){function e(t,n){u(this,e),this.nodeName=t,this.nodeValue=n,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return h(e,[{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"firstChild",get:function(){return this.childNodes&&this.childNodes[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes;if(e){var t=e.indexOf(this);if(-1!==t)return e[t+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(e){return e.textContent})).join(""):this.nodeValue||""}}]),e}();t.SimpleXMLParser=function(e){!function(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&&a(e,t)}(c,e);var t,n,r=(t=c,n=function(){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(){var e,r=l(t);if(n){var i=l(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return s(this,e)});function c(){var e;return u(this,c),(e=r.call(this))._currentFragment=null,e._stack=null,e._errorCode=0,e}return h(c,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=0,this.parseXml(e),0===this._errorCode){var t=(n=this._currentFragment,function(e){if(Array.isArray(e))return e}(n)||function(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),1!==n.length);r=!0);}catch(l){i=!0,o=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(n)||function(e,t){if(e){if("string"==typeof e)return i(e,1);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)?i(e,1):void 0}}(n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];if(t)return{documentElement:t}}var n}},{key:"onResolveEntity",value:function(e){switch(e){case"apos":return"'"}return o(l(c.prototype),"onResolveEntity",this).call(this,e)}},{key:"onText",value:function(e){if(!function(e){for(var t=0,n=e.length;t<n;t++)if(!d(e,t))return!1;return!0}(e)){var t=new p("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new p("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,n){var r=new p(e);r.childNodes=[],this._currentFragment.push(r),n||(this._stack.push(this._currentFragment),this._currentFragment=r.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop()||[];var t=this._currentFragment[this._currentFragment.length-1];if(t)for(var n=0,r=t.childNodes.length;n<r;n++)t.childNodes[n].parentNode=t}},{key:"onError",value:function(e){this._errorCode=e}}]),c}(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}
vendor: 4,162 bytes, line 1
1),t.PDFDataTransportStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,l,"next",e)}function l(e){a(o,r,i,s,l,"throw",e)}s(void 0)}))}}function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,void 0);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)?u(e,void 0):void 0}}(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 u(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 c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 d(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}t.PDFDataTransportStream=function(){function e(t,n){var r=this;c(this,e),(0,o.assert)(n,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=t.progressiveDone||!1;var i=t.initialData;if(i&&i.length>0){var a=new Uint8Array(i).buffer;this._queuedChunks.push(a)}this._pdfDataRangeTransport=n,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._contentLength=t.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((function(e,t){r._onReceiveData({begin:e,chunk:t})})),this._pdfDataRangeTransport.addProgressListener((function(e,t){r._onProgress({loaded:e,total:t})})),this._pdfDataRangeTransport.addProgressiveReadListener((function(e){r._onReceiveData({chunk:e})})),this._pdfDataRangeTransport.addProgressiveDoneListener((function(){r._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}return d(e,[{key:"_onReceiveData",value:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var n=this._rangeReaders.some((function(n){return n._begin===e.begin&&(n._enqueue(t),!0)}));(0,o.assert)(n,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}},{key:"_onProgress",value:function(e){if(void 0===e.total){var t=this._rangeReaders[0];t&&t.onProgress&&t.onProgress({loaded:e.loaded})}else{var n=this._fullRequestReader;n&&n.onProgress&&n.onProgress({loaded:e.loaded,total:e.total})}}},{key:"_onProgressiveDone",value:function(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}},{key:"getFullReader",value:function(){(0,o.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");var e=this._queuedChunks;return this._queuedChunks=null,new f(this,e,this._progressiveDone)}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=new p(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeReaders.slice(0).forEac
1h((function(t){t.cancel(e)})),this._pdfDataRangeTransport.abort()}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();var f=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(this,e),this._stream=t,this._done=r||!1,this._filename=null,this._queuedChunks=n||[],this._loaded=0;var i,o=l(this._queuedChunks);try{for(o.s();!(i=o.n()).done;){var a=i.value;this._loaded+=a.byteLength}}catch(s){o.e(s)}finally{o.f()}this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}var t;return d(e,[{key:"_enqueue",value:function(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.byteLength)}},{key:"read",value:(t=s(i.default.mark((function e(){var t,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this._queuedChunks.length>0)){e.next=3;break}return t=this._queuedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 3:if(!this._done){e.next=5;break}return e.abrupt("return",{value:void 0,done:!0});case 5:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 8:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[]}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}}]),e}(),p=function(){function e(t,n,r){c(this,e),this._stream=t,this._begin=n,this._end=r,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}var t;return d(e,[{key:"_enqueue",value:function(e){this._done||(0===this._requests.length?this._queuedChunk=e:(this._requests.shift().resolve({value:e,done:!1}),this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[]),this._done=!0,this._stream._removeRangeReader(this))}},{key:"read",value:(t=s(i.default.mark((function e(){var t,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 9:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._stream._removeRangeReader(this)}},{key:"isStreamingSupported",get:function(){return!1}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLContext=void 0;var r=n(5);t.WebGLContext=function(){function e(t){var n=t.enable,r=void 0!==n&&n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._enabled=!0===r}var t;return(t=[{key:"composeSMask",value:function(e){return i.composeSMask(e.layer,e.mask,e.properties)}},{key:"drawFigures",value:function(e){return i.drawFigures(e.width,e.height,e.backgroundColor,e.figures,e.context)}},{key:"clear",value:function(){i.cleanup()}},{key:"isEnabled",get:function(){var e=this._enabled;return e&&(e=i.tryInitGL()),(0,r.shadow)(this,"isEnabled",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}();var i=function(){function e(e,t,n){var r=e.createShader(n);if(e.shaderSource(r,t),e.compileShader(r),!e.getShaderParameter(r,e.COMPILE_STATUS)){var i=e.getShaderInfoLog(r);throw new Error("Error during shader compilation: "+i)}return r}function t(t,n){return e(t,n,t.VERTEX_SHADER)}function n(t,n){return e(t,n,t.FRAGMENT_SHADER)}function r(e,t){for(var n=e.createProgram(),r=0,i=t.length;r<i;++r)e.attachShader(n,t[r]);if(e.linkProgram(n),!e.getProgramParameter(n,e.LINK_STATUS)){var o=e.getProgramInfoLog(n);throw new Error("Error during program linking: "+o)}return n}function i(e,t,n){e.activeTexture(n);var r=e.createTexture();return e.bindTexture(e.TEXTURE_2D,r),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t),r}var o,a;function s(){o||(a=document.createElement("canvas"),o=a.getContext("webgl",{premultipliedalpha:!1}))}var l=null,u=null;return{tryInitGL:function(){try{return s(),!!o}catch(e){}return!1},composeSMask:function(e,u,c){var h=e.width,d=e.height;l||function(){var e,i;s(),e=a,a=null,i=o,o=null;var u=r(i,[t(i," attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } "),n(i," precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } ")]);i.useProgram(u);var c={};c.gl=i,c.canvas=e,c.resolutionLocation=i.getUniformLocation(u,"u_resolution"),c.positionLocation=i.getAttribLocation(u,"a_position"),c.backdropLocation=i.getUniformLocation(u,"u_backdrop"),c.subtypeLocation=i.getUniformLocation(u,"u_subtype");var h=i.getAttribLocation(u,"a_texCoord"),d=i.getUniformLocation(u,"u_image"),f=i.getUniformLocation(u,"u_mask"),p=i.createBuffer();i.bindBuffer(i.ARRAY_BUFFER,p),i.bufferData(i.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),i.STATIC_DRAW),i.enableVertexAttribArray(h),i.vertexAttribPointer(h,2,i.FLOAT,!1,0,0),i.uniform1i(d,0),i.uniform1i(f,1),l=c}();var f=l,p=f.canvas,g=f.gl;p.width=h,p.height=d,g.viewport(0,0,g.drawingBufferWidth,g.drawingBufferHeight),g.uniform2f(f.resolutionLocation,h,d),c.backdrop?g.uniform4f(f.resolutionLocation,c.backdrop[0],c.backdrop[1],c.backdrop[2],1):g.uniform4f(f.resolutionLocation,
10,0,0,0),g.uniform1i(f.subtypeLocation,"Luminosity"===c.subtype?1:0);var _=i(g,e,g.TEXTURE0),A=i(g,u,g.TEXTURE1),v=g.createBuffer();return g.bindBuffer(g.ARRAY_BUFFER,v),g.bufferData(g.ARRAY_BUFFER,new Float32Array([0,0,h,0,0,d,0,d,h,0,h,d]),g.STATIC_DRAW),g.enableVertexAttribArray(f.positionLocation),g.vertexAttribPointer(f.positionLocation,2,g.FLOAT,!1,0,0),g.clearColor(0,0,0,0),g.enable(g.BLEND),g.blendFunc(g.ONE,g.ONE_MINUS_SRC_ALPHA),g.clear(g.COLOR_BUFFER_BIT),g.drawArrays(g.TRIANGLES,0,6),g.flush(),g.deleteTexture(_),g.deleteTexture(A),g.deleteBuffer(v),p},drawFigures:function(e,i,l,c,h){u||function(){var e,i;s(),e=a,a=null,i=o,o=null;var l=r(i,[t(i," attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } "),n(i," precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } ")]);i.useProgram(l);var c={};c.gl=i,c.canvas=e,c.resolutionLocation=i.getUniformLocation(l,"u_resolution"),c.scaleLocation=i.getUniformLocation(l,"u_scale"),c.offsetLocation=i.getUniformLocation(l,"u_offset"),c.positionLocation=i.getAttribLocation(l,"a_position"),c.colorLocation=i.getAttribLocation(l,"a_color"),u=c}();var d=u,f=d.canvas,p=d.gl;f.width=e,f.height=i,p.viewport(0,0,p.drawingBufferWidth,p.drawingBufferHeight),p.uniform2f(d.resolutionLocation,e,i);var g,_,A,v=0;for(g=0,_=c.length;g<_;g++)switch(c[g].type){case"lattice":v+=((A=c[g].coords.length/c[g].verticesPerRow|0)-1)*(c[g].verticesPerRow-1)*6;break;case"triangles":v+=c[g].coords.length}var m=new Float32Array(2*v),y=new Uint8Array(3*v),b=h.coords,C=h.colors,w=0,k=0;for(g=0,_=c.length;g<_;g++){var E=c[g],S=E.coords,O=E.colors;switch(E.type){case"lattice":var x=E.verticesPerRow;A=S.length/x|0;for(var P=1;P<A;P++)for(var T=P*x+1,B=1;B<x;B++,T++)m[w]=b[S[T-x-1]],m[w+1]=b[S[T-x-1]+1],m[w+2]=b[S[T-x]],m[w+3]=b[S[T-x]+1],m[w+4]=b[S[T-1]],m[w+5]=b[S[T-1]+1],y[k]=C[O[T-x-1]],y[k+1]=C[O[T-x-1]+1],y[k+2]=C[O[T-x-1]+2],y[k+3]=C[O[T-x]],y[k+4]=C[O[T-x]+1],y[k+5]=C[O[T-x]+2],y[k+6]=C[O[T-1]],y[k+7]=C[O[T-1]+1],y[k+8]=C[O[T-1]+2],m[w+6]=m[w+2],m[w+7]=m[w+3],m[w+8]=m[w+4],m[w+9]=m[w+5],m[w+10]=b[S[T]],m[w+11]=b[S[T]+1],y[k+9]=y[k+3],y[k+10]=y[k+4],y[k+11]=y[k+5],y[k+12]=y[k+6],y[k+13]=y[k+7],y[k+14]=y[k+8],y[k+15]=C[O[T]],y[k+16]=C[O[T]+1],y[k+17]=C[O[T]+2],w+=12,k+=18;break;case"triangles":for(var D=0,M=S.length;D<M;D++)m[w]=b[S[D]],m[w+1]=b[S[D]+1],y[k]=C[O[D]],y[k+1]=C[O[D]+1],y[k+2]=C[O[D]+2],w+=2,k+=3}}l?p.clearColor(l[0]/255,l[1]/255,l[2]/255,1):p.clearColor(0,0,0,0),p.clear(p.COLOR_BUFFER_BIT);var I=p.createBuffer();p.bindBuffer(p.ARRAY_BUFFER,I),p.bufferData(p.ARRAY_BUFFER,m,p.STATIC_DRAW),p.enableVertexAttribArray(d.positionLocation),p.vertexAttribPointer(d.positionLocation,2,p.FLOAT,!1,0,0);var R=p.createBuffer();return p.bindBuffer(p.ARRAY_BUFFER,R),p.bufferData(p.ARRAY_BUFFER,y,p.STATIC_DRAW),p.enableVertexAttribArray(d.colorLocation),p.vertexAttribPointer(d.colorLocation,3,p.UNSIGNED_BYTE,!1,0,0),p.uniform2f(d.scaleLocation,h.scaleX,h.scaleY),p.uniform2f(d.offsetLocation,h.offsetX,h.offsetY),p.drawArrays(p.TRIANGLES,0,v),p.flush(),p.deleteBuffer(I),p.deleteBuffer(R),f},cleanup:function(){l&&l.canvas&&(l.canvas.width=0,l.canvas.height=0),u&&u.canvas&&(u.canvas.width=0,u.canvas.height=0),l=null,u=null}}}()},function(e,t,n){"use strict";
vendor: 7,197 bytes, line 1
1Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var r=n(1),i=n(5);function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,void 0);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)?a(e,void 0):void 0}}(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,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function a(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 s(e,t,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function l(e){return(l="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 u(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&&(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){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}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(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 _(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}var A=function(){function e(){p(this,e)}return _(e,null,[{key:"create",value:function(e){switch(e.data.annotationType){case i.AnnotationType.LINK:return new m(e);case i.AnnotationType.TEXT:return new y(e);case i.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new C(e);case"Btn":return e.data.radioButton?new k(e):e.data.checkBox?new w(e):new E(e);case"Ch":return new S(e)}return new b(e);case i.AnnotationType.POPUP:return new O(e);case i.AnnotationType.FREETEXT:return new P(e);case i.AnnotationType.LINE:return new T(e);case i.AnnotationType.SQUARE:return new B(e);case i.AnnotationType.CIRCLE:return new D(e);case i.AnnotationType.POLYLINE:return new M(e);case i.AnnotationType.CARET:return new R(e);case i.AnnotationType.INK:return new F(e);case i.AnnotationType.POLYGON:return new I(e);case i.AnnotationType.HIGHLIGHT:return new L(e);case i.AnnotationType.UNDERLINE:return new U(e);case i.AnnotationType.SQUIGGLY:return new N(e);case i.AnnotationType.STRIKEOUT:return new j(e);case i.AnnotationType.STAMP:return new H(e);case i.AnnotationType.FILEATTACHMENT:return new Q(e);default:return new v(e)}}}]),e}(),v=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];p(this,e),this.isRenderable=n,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderInteractiveForms=t.renderInteractiveForms,this.svgFactory=t.svgFactory,n&&(this.container=this._createContainer(r))}return _(e,[{key:"_createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.data,n=this.page,r=this.viewport,o=document.createElement("section"),a=t.rect[2]-t.rect[0],s=t.rect[3]-t.rect[1];o.setAttribute("data-annotation-id",t.id);var l=i.Util.normalizeRect([t.rect[0],n.view[3]-t.rect[1]+n.view[1],t.rect[2],n.view[3]-t.rect[3]+n.view[1]]);if(o.style.transform="matrix(".concat(r.transform.join(","),")"),o.style.transformOrigin="-".concat(l[0],"px -").concat(l[1],"px"),!e&&t.borderStyle.width>0){o.style.borderWidth="".concat(t.borderStyle.width,"px"),t.borderStyle.style!==i.AnnotationBorderStyleType.UNDERLINE&&(a-=2*t.borderStyle.width,s-=2*t.borderStyle.width);var u=t.borderStyle.horizontalCornerRadius,c=t.borderStyle.verticalCornerRadius;if(u>0||c>0){var h="".concat(u,"px / ").concat(c,"px");o.style.borderRadius=h}switch(t.borderStyle.style){case i.AnnotationBorderStyleType.SOLID:o.style.borderStyle="solid";break;case i.AnnotationBorderStyleType.DASHED:o.style.borderStyle="dashed";break;case i.AnnotationBorderStyleType.BEVELED:(0,i.warn)("Unimplemented border style: beveled");break;case i.AnnotationBorderStyleType.INSET:(0,i.warn)("Unimplemented border style: inset");break;case i.AnnotationBorderStyleType.UNDERLINE:o.style.borderBottomStyle="solid"}t.color?o.style.borderColor=i.Util.makeCssRgb(0|t.color[0],0|t.color[1],0|t.color[2]):o.style.borderWidth=0}return o.style.left="".concat(l[0],"px"),o.style.top="".concat(l[1],"px"),o.style.width="".concat(a,"px"),o.style.height="".concat(s,"px"),o}},{key:"_createPopup",value:function(e,t,n){t||((t=document.createElement("div")).style.height=e.style.height,t.style.width=e.style.width,e.appendChild(t));var r=new x({container:e,trigger:t,color:n.color,title:n.title,modificationDate:n.modificationDate,contents:n.contents,hideWrapper:!0}).render();r.style.left=e.style.width,e.appendChild(r)}},{key:"render",value:function(){(0,i.unreachable)("Abstract method `AnnotationElement.render` called")}}]),e}(),m=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.url||e.data.dest||e.data.action))}return _(n,[{key:"render",value:function(){this.container.className="linkAnnotation";var e=this.data,t=this.linkService,n=document.createElement("a");return e.url?(0,r.addLinkAttributes)(n,{url:e.url,target:e.newWindow?r.LinkTarget.BLANK:t.externalLinkTarget,rel:t.externalLinkRel,enabled:t.externalLinkEnabled}):e.action?this._bindNamedAction(n,e.action):this._bindLink(n,e.dest),this.container.appendChild(n),this.container}}
1,{key:"_bindLink",value:function(e,t){var n=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&n.linkService.navigateTo(t),!1},t&&(e.className="internalLink")}},{key:"_bindNamedAction",value:function(e,t){var n=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return n.linkService.executeNamedAction(t),!1},e.className="internalLink"}}]),n}(v),y=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents))}return _(n,[{key:"render",value:function(){this.container.className="textAnnotation";var e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}}]),n}(v),b=function(e){u(n,e);var t=c(n);function n(){return p(this,n),t.apply(this,arguments)}return _(n,[{key:"render",value:function(){return this.container}}]),n}(v),C=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,e.renderInteractiveForms||!e.data.hasAppearance&&!!e.data.fieldValue)}return _(n,[{key:"render",value:function(){this.container.className="textWidgetAnnotation";var e=null;if(this.renderInteractiveForms){if(this.data.multiLine?(e=document.createElement("textarea")).textContent=this.data.fieldValue:((e=document.createElement("input")).type="text",e.setAttribute("value",this.data.fieldValue)),e.disabled=this.data.readOnly,e.name=this.data.fieldName,null!==this.data.maxLen&&(e.maxLength=this.data.maxLen),this.data.comb){var t=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;e.classList.add("comb"),e.style.letterSpacing="calc(".concat(t,"px - 1ch)")}}else{(e=document.createElement("div")).textContent=this.data.fieldValue,e.style.verticalAlign="middle",e.style.display="table-cell";var n=null;this.data.fontRefName&&this.page.commonObjs.has(this.data.fontRefName)&&(n=this.page.commonObjs.get(this.data.fontRefName)),this._setTextStyle(e,n)}return null!==this.data.textAlignment&&(e.style.textAlign=["left","center","right"][this.data.textAlignment]),this.container.appendChild(e),this.container}},{key:"_setTextStyle",value:function(e,t){var n=e.style;if(n.fontSize="".concat(this.data.fontSize,"px"),n.direction=this.data.fontDirection<0?"rtl":"ltr",t){var r="normal";t.black?r="900":t.bold&&(r="bold"),n.fontWeight=r,n.fontStyle=t.italic?"italic":"normal";var i=t.loadedName?'"'.concat(t.loadedName,'", '):"";n.fontFamily=i+(t.fallbackName||"Helvetica, sans-serif")}}}]),n}(b),w=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,e.renderInteractiveForms)}return _(n,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation checkBox";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="checkbox",e.name=this.data.fieldName,this.data.fieldValue&&"Off"!==this.data.fieldValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),n}(b),k=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,e.renderInteractiveForms)}return _(n,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation radioButton";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="radio",e.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),n}(b),E=function(e){u(n,e);var t=c(n);function n(){return p(this,n),t.apply(this,arguments)}return _(n,[{key:"render",value:function(){var e=s(f(n.prototype),"render",this).call(this);return e.className="buttonWidgetAnnotation pushButton",e}}]),n}(m),S=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,e.renderInteractiveForms)}return _(n,[{key:"render",value:function(){this.container.className="
1choiceWidgetAnnotation";var e=document.createElement("select");e.disabled=this.data.readOnly,e.name=this.data.fieldName,this.data.combo||(e.size=this.data.options.length,this.data.multiSelect&&(e.multiple=!0));var t,n=o(this.data.options);try{for(n.s();!(t=n.n()).done;){var r=t.value,i=document.createElement("option");i.textContent=r.displayValue,i.value=r.exportValue,this.data.fieldValue.includes(r.displayValue)&&i.setAttribute("selected",!0),e.appendChild(i)}}catch(a){n.e(a)}finally{n.f()}return this.container.appendChild(e),this.container}}]),n}(b),O=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!(!e.data.title&&!e.data.contents))}return _(n,[{key:"render",value:function(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;var e='[data-annotation-id="'.concat(this.data.parentId,'"]'),t=this.layer.querySelector(e);if(!t)return this.container;var n=new x({container:this.container,trigger:t,color:this.data.color,title:this.data.title,modificationDate:this.data.modificationDate,contents:this.data.contents}),r=parseFloat(t.style.left),i=parseFloat(t.style.width);return this.container.style.transformOrigin="-".concat(r+i,"px -").concat(t.style.top),this.container.style.left="".concat(r+i,"px"),this.container.appendChild(n.render()),this.container}}]),n}(v),x=function(){function e(t){p(this,e),this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.title=t.title,this.modificationDate=t.modificationDate,this.contents=t.contents,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}return _(e,[{key:"render",value:function(){var e=document.createElement("div");e.className="popupWrapper",this.hideElement=this.hideWrapper?e:this.container,this.hideElement.setAttribute("hidden",!0);var t=document.createElement("div");t.className="popup";var n=this.color;n&&(t.style.backgroundColor=i.Util.makeCssRgb(0|.7*(255-n[0])+n[0],0|.7*(255-n[1])+n[1],0|.7*(255-n[2])+n[2]));var o=document.createElement("h1");o.textContent=this.title,t.appendChild(o);var a=r.PDFDateString.toDateObject(this.modificationDate);if(a){var s=document.createElement("span");s.textContent="{{date}}, {{time}}",s.dataset.l10nId="annotation_date_string",s.dataset.l10nArgs=JSON.stringify({date:a.toLocaleDateString(),time:a.toLocaleTimeString()}),t.appendChild(s)}var l=this._formatContents(this.contents);return t.appendChild(l),this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),t.addEventListener("click",this._hide.bind(this,!0)),e.appendChild(t),e}},{key:"_formatContents",value:function(e){for(var t=document.createElement("p"),n=e.split(/(?:\r\n?|\n)/),r=0,i=n.length;r<i;++r)t.appendChild(document.createTextNode(n[r])),r<i-1&&t.appendChild(document.createElement("br"));return t}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)}},{key:"_hide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}}]),e}(),P=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)}return _(n,[{key:"render",value:function(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(v),T=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)}return _(n,[{key:"render",value:function(){this.container.className="lineAnnotation";var e=this.data,t=this.svgFactory.create(e.rect[2]-e.rect[0],e.rect[3]-e.rect[1]),n=this.svgFactory.createElement("svg:line");return n.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),n.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),n.setAttribute("x2",e.re
1ct[2]-e.lineCoordinates[2]),n.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),n.setAttribute("stroke-width",e.borderStyle.width||1),n.setAttribute("stroke","transparent"),t.appendChild(n),this.container.append(t),this._createPopup(this.container,n,e),this.container}}]),n}(v),B=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)}return _(n,[{key:"render",value:function(){this.container.className="squareAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),i=e.borderStyle.width,o=this.svgFactory.createElement("svg:rect");return o.setAttribute("x",i/2),o.setAttribute("y",i/2),o.setAttribute("width",t-i),o.setAttribute("height",n-i),o.setAttribute("stroke-width",i||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),r.appendChild(o),this.container.append(r),this._createPopup(this.container,o,e),this.container}}]),n}(v),D=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)}return _(n,[{key:"render",value:function(){this.container.className="circleAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),i=e.borderStyle.width,o=this.svgFactory.createElement("svg:ellipse");return o.setAttribute("cx",t/2),o.setAttribute("cy",n/2),o.setAttribute("rx",t/2-i/2),o.setAttribute("ry",n/2-i/2),o.setAttribute("stroke-width",i||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),r.appendChild(o),this.container.append(r),this._createPopup(this.container,o,e),this.container}}]),n}(v),M=function(e){u(n,e);var t=c(n);function n(e){var r;return p(this,n),(r=t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)).containerClassName="polylineAnnotation",r.svgElementName="svg:polyline",r}return _(n,[{key:"render",value:function(){this.container.className=this.containerClassName;var e,t=this.data,n=this.svgFactory.create(t.rect[2]-t.rect[0],t.rect[3]-t.rect[1]),r=[],i=o(t.vertices);try{for(i.s();!(e=i.n()).done;){var a=e.value;r.push(a.x-t.rect[0]+","+(t.rect[3]-a.y))}}catch(l){i.e(l)}finally{i.f()}r=r.join(" ");var s=this.svgFactory.createElement(this.svgElementName);return s.setAttribute("points",r),s.setAttribute("stroke-width",t.borderStyle.width||1),s.setAttribute("stroke","transparent"),s.setAttribute("fill","none"),n.appendChild(s),this.container.append(n),this._createPopup(this.container,s,t),this.container}}]),n}(v),I=function(e){u(n,e);var t=c(n);function n(e){var r;return p(this,n),(r=t.call(this,e)).containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return n}(M),R=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)}return _(n,[{key:"render",value:function(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(v),F=function(e){u(n,e);var t=c(n);function n(e){var r;return p(this,n),(r=t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)).containerClassName="inkAnnotation",r.svgElementName="svg:polyline",r}return _(n,[{key:"render",value:function(){this.container.className=this.containerClassName;var e,t=this.data,n=this.svgFactory.create(t.rect[2]-t.rect[0],t.rect[3]-t.rect[1]),r=o(t.inkLists);try{for(r.s();!(e=r.n()).done;){var i,a=[],s=o(e.value);try{for(s.s();!(i=s.n()).done;){var l=i.value,u=t.rect[3]-l.y;a.push("".concat(l.x-t.rect[0],",").concat(u))}}catch(h){s.e(h)}finally{s.f()}a=a.join(" ");var c=this.svgFactory.createElement(this.svgElementName);c.setAttribute("points",a),c.setAttribute("stroke-width",t.borderStyle.width||1),c.setAttribute("stroke","transparent"),c.setAttribute("fill","none"),this._createPopup(this.container,c,t),n.appendChild(c)}}catch(h){r.e(h)}finally{r.f()}return this.container.append(n),this.container}}]),n}(v),L=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)}return _(n,[{key:"render",value:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}
1]),n}(v),U=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)}return _(n,[{key:"render",value:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(v),N=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)}return _(n,[{key:"render",value:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(v),j=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)}return _(n,[{key:"render",value:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(v),H=function(e){u(n,e);var t=c(n);function n(e){return p(this,n),t.call(this,e,!!(e.data.hasPopup||e.data.title||e.data.contents),!0)}return _(n,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(v),Q=function(e){u(n,e);var t=c(n);function n(e){var o;p(this,n);var a=(o=t.call(this,e,!0)).data.file,s=a.filename,l=a.content;return o.filename=(0,r.getFilenameFromUrl)(s),o.content=l,o.linkService.eventBus&&o.linkService.eventBus.dispatch("fileattachmentannotation",{source:d(o),id:(0,i.stringToPDFString)(s),filename:s,content:l}),o}return _(n,[{key:"render",value:function(){this.container.className="fileAttachmentAnnotation";var e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),this.data.hasPopup||!this.data.title&&!this.data.contents||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}},{key:"_download",value:function(){this.downloadManager?this.downloadManager.downloadData(this.content,this.filename,""):(0,i.warn)("Download cannot be started due to unavailable download manager")}}]),n}(v);t.AnnotationLayer=function(){function e(){p(this,e)}return _(e,null,[{key:"render",value:function(e){var t,n=[],a=[],s=o(e.annotations);try{for(s.s();!(t=s.n()).done;){var l=t.value;l&&(l.annotationType!==i.AnnotationType.POPUP?n.push(l):a.push(l))}}catch(d){s.e(d)}finally{s.f()}a.length&&n.push.apply(n,a);for(var u=0,c=n;u<c.length;u++){var h=A.create({data:c[u],layer:e.div,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderInteractiveForms:e.renderInteractiveForms||!1,svgFactory:new r.DOMSVGFactory});h.isRenderable&&e.div.appendChild(h.render())}}},{key:"update",value:function(e){var t,n=o(e.annotations);try{for(n.s();!(t=n.n()).done;){var r=e.div.querySelector('[data-annotation-id="'.concat(t.value.id,'"]'));r&&(r.style.transform="matrix(".concat(e.viewport.transform.join(","),")"))}}catch(i){n.e(i)}finally{n.f()}e.div.removeAttribute("hidden")}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=void 0;var r=n(5),i=function(){var e=/\S/;function t(t,n,i){var o=document.createElement("span"),a={angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(t._textDivs.push(o),!e.test(n.str))return a.isWhitespace=!0,void t._textDivProperties.set(o,a);var s=r.Util.transform(t._viewport.transform,n.transform),l=Math.atan2(s[1],s[0]),u=i[n.fontName];u.vertical&&(l+=Math.PI/2);var c,h,d=Math.sqrt(s[2]*s[2]+s[3]*s[3]),f=d;u.ascent?f*=u.ascent:u.descent&&(f*=1+u.descent),0===l?(c=s[4],h=s[5]-f):(c=s[4]+f*Math.sin(l),h=s[5]-f*Math.cos(l)),o.style.left="".concat(c,"px"),o.style.top="".concat(h,"px"),o.style.fontSize="".concat(d,"px"),o.style.fontFamily=u.fontFamily,o.textContent=n.str,t._fontInspectorEnabled&&(o.dataset.fontName=n.fontName),0!==l&&(a.angle=l*(180/Math.PI));var p=!1;if(n.str.length>1)p=!0;else if(n.transform[0]!==n.transform[3]){var g=Math.abs(n.transform[0]),_=Math.abs(n.transform[3]);g!==_&&Math.max(g,_)/Math.min(g,_)>1.5&&(p=!0)}if(p&&(a.canvasWidth=u.vertical?n.height*t._viewport.scale:n.width*t._viewport.scale),t._textDivProperties.set(o,a),t._textContentStream&&t._layoutText(o),t._enhanceTextSelection){var A=1,v=0;0!==l&&(A=Math.cos(l),v=Math.sin(l));var m,y,b=(u.vertical?n.height:n.width)*t._viewport.scale,C=d;y=0!==l?r.Util.getAxialAlignedBoundingBox([0,0,b,C],m=[A,v,-v,A,c,h]):[c,h,c+b,h+C],t._bounds.push({left:y[0],top:y[1],right:y[2],bottom:y[3],div:o,size:[b,C],m:m})}}function n(e){if(!e._canceled){var t=e._textDivs,n=e._capability,r=t.length;if(r>1e5)return e._renderingDone=!0,void n.resolve();if(!e._textContentStream)for(var i=0;i<r;i++)e._layoutText(t[i]);e._renderingDone=!0,n.resolve()}}function i(e,t,n){for(var r=0,i=0;i<n;i++){var o=e[t++];o>0&&(r=r?Math.min(o,r):o)}return r}
1function o(e,t){t.sort((function(e,t){return e.x1-t.x1||e.index-t.index}));var n=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];t.forEach((function(e){for(var t=0;t<n.length&&n[t].end<=e.y1;)t++;for(var r,i,o=n.length-1;o>=0&&n[o].start>=e.y2;)o--;var a,s,l=-1/0;for(a=t;a<=o;a++){var u;(u=(i=(r=n[a]).boundary).x2>e.x1?i.index>e.index?i.x1New:e.x1:void 0===i.x2New?(i.x2+e.x1)/2:i.x2New)>l&&(l=u)}for(e.x1New=l,a=t;a<=o;a++)void 0===(i=(r=n[a]).boundary).x2New?i.x2>e.x1?i.index>e.index&&(i.x2New=i.x2):i.x2New=l:i.x2New>l&&(i.x2New=Math.max(l,i.x2));var c=[],h=null;for(a=t;a<=o;a++){var d=(i=(r=n[a]).boundary).x2>e.x2?i:e;h===d?c[c.length-1].end=r.end:(c.push({start:r.start,end:r.end,boundary:d}),h=d)}for(n[t].start<e.y1&&(c[0].start=e.y1,c.unshift({start:n[t].start,end:e.y1,boundary:n[t].boundary})),e.y2<n[o].end&&(c[c.length-1].end=e.y2,c.push({start:e.y2,end:n[o].end,boundary:n[o].boundary})),a=t;a<=o;a++)if(void 0===(i=(r=n[a]).boundary).x2New){var f=!1;for(s=t-1;!f&&s>=0&&n[s].start>=i.y1;s--)f=n[s].boundary===i;for(s=o+1;!f&&s<n.length&&n[s].end<=i.y2;s++)f=n[s].boundary===i;for(s=0;!f&&s<c.length;s++)f=c[s].boundary===i;f||(i.x2New=l)}Array.prototype.splice.apply(n,[t,o-t+1].concat(c))})),n.forEach((function(t){var n=t.boundary;void 0===n.x2New&&(n.x2New=Math.max(e,n.x2))}))}function a(e){var t=this,n=e.textContentStream,i=e.container,o=e.viewport,a=e.textDivs,s=e.textContentItemsStr,l=e.enhanceTextSelection;this._textContent=e.textContent,this._textContentStream=n,this._container=i,this._viewport=o,this._textDivs=a||[],this._textContentItemsStr=s||[],this._enhanceTextSelection=!!l,this._fontInspectorEnabled=!(!globalThis.FontInspector||!globalThis.FontInspector.enabled),this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,r.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise.finally((function(){t._layoutTextCtx&&(t._layoutTextCtx.canvas.width=0,t._layoutTextCtx.canvas.height=0,t._layoutTextCtx=null)})).catch((function(){}))}return a.prototype={get promise(){return this._capability.promise},cancel:function(){this._canceled=!0,this._reader&&(this._reader.cancel(new r.AbortException("TextLayer task cancelled.")),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))},_processItems:function(e,n){for(var r=0,i=e.length;r<i;r++)this._textContentItemsStr.push(e[r].str),t(this,e[r],n)},_layoutText:function(e){var t=this._textDivProperties.get(e);if(!t.isWhitespace){var n="";if(0!==t.canvasWidth){var r=e.style,i=r.fontSize,o=r.fontFamily;i===this._layoutTextLastFontSize&&o===this._layoutTextLastFontFamily||(this._layoutTextCtx.font="".concat(i," ").concat(o),this._layoutTextLastFontSize=i,this._layoutTextLastFontFamily=o);var a=this._layoutTextCtx.measureText(e.textContent).width;a>0&&(t.scale=t.canvasWidth/a,n="scaleX(".concat(t.scale,")"))}0!==t.angle&&(n="rotate(".concat(t.angle,"deg) ").concat(n)),n.length>0&&(this._enhanceTextSelection&&(t.originalTransform=n),e.style.transform=n),this._textDivProperties.set(e,t),this._container.appendChild(e)}},_render:function(e){var t=this,i=(0,r.createPromiseCapability)(),o=Object.create(null),a=document.createElement("canvas");if(a.mozOpaque=!0,this._layoutTextCtx=a.getContext("2d",{alpha:!1}),this._textContent)this._processItems(this._textContent.items,this._textContent.styles),i.resolve();else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');this._reader=this._textContentStream.getReader(),function e(){t._reader.read().then((function(n){var r=n.value;n.done?i.resolve():(Object.assign(o,r.styles),t._processItems(r.items,o),e())}),i.reject)}()}i.promise.then((function(){o=null,e?t._renderTimer=setTimeout((function(){n(t),t._renderTimer=null}),e):n(t)}),this._capability.reject)},expandTextDivs:function(e){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(function(e){for(var t=e._bounds,n=e._viewport,a=function(e,t,n){var r=n.map((function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}}));o(e,r);var i=new Array(n.length);return r.forEach((function(e){i[e.index]={left:e.x1New,top:0,right:e.x2New,bottom:0}})),n.map((function(t,n){var o=i[n],a=r[n];
vendor: 26,350 bytes, line 1
1a.x1=t.top,a.y1=e-o.right,a.x2=t.bottom,a.y2=e-o.left,a.index=n,a.x1New=void 0,a.x2New=void 0})),o(t,r),r.forEach((function(e){var t=e.index;i[t].top=e.x1New,i[t].bottom=e.x2New})),i}(n.width,n.height,t),s=0;s<a.length;s++){var l=t[s].div,u=e._textDivProperties.get(l);if(0!==u.angle){var c=a[s],h=t[s],d=h.m,f=d[0],p=d[1],g=[[0,0],[0,h.size[1]],[h.size[0],0],h.size],_=new Float64Array(64);g.forEach((function(e,t){var n=r.Util.applyTransform(e,d);_[t+0]=f&&(c.left-n[0])/f,_[t+4]=p&&(c.top-n[1])/p,_[t+8]=f&&(c.right-n[0])/f,_[t+12]=p&&(c.bottom-n[1])/p,_[t+16]=p&&(c.left-n[0])/-p,_[t+20]=f&&(c.top-n[1])/f,_[t+24]=p&&(c.right-n[0])/-p,_[t+28]=f&&(c.bottom-n[1])/f,_[t+32]=f&&(c.left-n[0])/-f,_[t+36]=p&&(c.top-n[1])/-p,_[t+40]=f&&(c.right-n[0])/-f,_[t+44]=p&&(c.bottom-n[1])/-p,_[t+48]=p&&(c.left-n[0])/p,_[t+52]=f&&(c.top-n[1])/-f,_[t+56]=p&&(c.right-n[0])/p,_[t+60]=f&&(c.bottom-n[1])/-f}));var A=1+Math.min(Math.abs(f),Math.abs(p));u.paddingLeft=i(_,32,16)/A,u.paddingTop=i(_,48,16)/A,u.paddingRight=i(_,0,16)/A,u.paddingBottom=i(_,16,16)/A,e._textDivProperties.set(l,u)}else u.paddingLeft=t[s].left-a[s].left,u.paddingTop=t[s].top-a[s].top,u.paddingRight=a[s].right-t[s].right,u.paddingBottom=a[s].bottom-t[s].bottom,e._textDivProperties.set(l,u)}}(this),this._bounds=null);for(var t=[],n=[],a=0,s=this._textDivs.length;a<s;a++){var l=this._textDivs[a],u=this._textDivProperties.get(l);u.isWhitespace||(e?(t.length=0,n.length=0,u.originalTransform&&t.push(u.originalTransform),u.paddingTop>0?(n.push("".concat(u.paddingTop,"px")),t.push("translateY(".concat(-u.paddingTop,"px)"))):n.push(0),n.push(u.paddingRight>0?"".concat(u.paddingRight/u.scale,"px"):0),n.push(u.paddingBottom>0?"".concat(u.paddingBottom,"px"):0),u.paddingLeft>0?(n.push("".concat(u.paddingLeft/u.scale,"px")),t.push("translateX(".concat(-u.paddingLeft/u.scale,"px)"))):n.push(0),l.style.padding=n.join(" "),t.length&&(l.style.transform=t.join(" "))):(l.style.padding=null,l.style.transform=u.originalTransform))}}}},function(e){var t=new a({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t}}();t.renderTextLayer=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var r=n(5),i=n(1),o=n(7);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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(l){i=!0,o=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||l(e,t)||function(){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 s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=l(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 l(e,t){if(e){if("string"==typeof e)return u(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)?u(e,t):void 0}}function u(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 c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 d(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}var f=function(){throw new Error("Not implemented: SVGGraphics")};t.SVGGraphics=f;var p=function(e){if(Number.isInteger(e))return e.toString();var t=e.toFixed(10),n=t.length-1;if("0"!==t[n])return t;do{n--}while("0"===t[n]);return t.substring(0,"."===t[n]?n:n+1)},g=function(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":"scale(".concat(p(e[0])," ").concat(p(e[3]),")");if(e[0]===e[3]&&e[1]===-e[2]){var t=180*Math.acos(e[0])/Math.PI;return"rotate(".concat(p(t),")")}}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return"translate(".concat(p(e[4])," ").concat(p(e[5]),")");return"matrix(".concat(p(e[0])," ").concat(p(e[1])," ").concat(p(e[2])," ").concat(p(e[3])," ").concat(p(e[4])," ")+"".concat(p(e[5]),")")},_=["butt","round","square"],A=["miter","round","bevel"],v=function(){for(var e=new Uint8Array([137,80,78,71,13,10,26,10]),t=new Int32Array(256),n=0;n<256;n++){for(var i=n,a=0;a<8;a++)i=1&i?3988292384^i>>1&2147483647:i>>1&2147483647;t[n]=i}function s(e,n,r,i){var o=i,a=n.length;r[o]=a>>24&255,r[o+1]=a>>16&255,r[o+2]=a>>8&255,r[o+3]=255&a,r[o+=4]=255&e.charCodeAt(0),r[o+1]=255&e.charCodeAt(1),r[o+2]=255&e.charCodeAt(2),r[o+3]=255&e.charCodeAt(3),r.set(n,o+=4);var s=function(e,n,r){for(var i=-1,o=n;o<r;o++)i=i>>>8^t[255&(i^e[o])];return-1^i}(r,i+4,o+=n.length);r[o]=s>>24&255,r[o+1]=s>>16&255,r[o+2]=s>>8&255,r[o+3]=255&s}function l(e){var t=e.length,n=Math.ceil(t/65535),r=new Uint8Array(2+t+5*n+4),i=0;r[i++]=120,r[i++]=156;for(var o=0;t>65535;)r[i++]=0,r[i++]=255,r[i++]=255,r[i++]=0,r[i++]=0,r.set(e.subarray(o,o+65535),i),i+=65535,o+=65535,t-=65535;r[i++]=1,r[i++]=255&t,r[i++]=t>>8&255,r[i++]=255&~t,r[i++]=(65535&~t)>>8&255,r.set(e.subarray(o),i),i+=e.length-o;var a=function(e,t,n){for(var r=1,i=0,o=0;o<n;++o)i=(i+(r=(r+(255&e[o]))%65521))%65521;return i<<16|r}(e,0,e.length);return r[i++]=a>>24&255,r[i++]=a>>16&255,r[i++]=a>>8&255,r[i++]=255&a,r}return function(t,n,i){return function(t,n,i,a){var u,c,h,d=t.width,f=t.height,p=t.data;switch(n){case r.ImageKind.GRAYSCALE_1BPP:c=0,u=1,h=d+7>>3;break;case r.ImageKind.RGB_24BPP:c=2,u=8,h=3*d;break;case r.ImageKind.RGBA_32BPP:c=6,u=8,h=4*d;break;default:throw new Error("invalid format")}for(var g=new Uint8Array((1+h)*f),_=0,A=0,v=0;v<f;++v)g[_++]=0,g.set(p.subarray(A,A+h),_),A+=h,_+=h;if(n===r.ImageKind.GRAYSCALE_1BPP&&a){_=0;for(var m=0;m<f;m++){_++;for(var y=0;y<h;y++)g[_++]^=255}}var b=new Uint8Array([d>>24&255,d>>16&255,d>>8&255,255&d,f>>24&255,f>>16&255,f>>8&255,255&f,u,c,0,0,0]),C=function(e){if(!o.isNodeJS)return l(e);try{var t;t=parseInt(process.versions.node)>=8?e:Buffer.from(e);var n=__webpack_require__(1).deflateSync(t,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(i){(0,r.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+i)}return l(e)}(g),w=new Uint8Array(e.length+36+b.length+C.length),k=0;return w.set(e,k),s("IHDR",b,w,k+=e.length),s("IDATA",C,w,k+=12+b.length),k+=12+C.length,s("IEND",new Uint8Array(0),w,k),(0,r.createObjectURL)(w,"image/png",i)}(t,void 0===t.kind?r.ImageKind.GRAYSCALE_1BPP:t.kind,n,i)}}(),m=function(){function e(){c(this,e),this.fontSizeScale=1,this.fontWeight="normal",this.fontSize=0,this.textMatrix=r.IDENTITY_MATRIX,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=r.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return d(e,[{key:"clone",value:function(){return Object.create(this)}},{key:"setCurrentPoint",value:function(e,t){this.x=e,this.y=t}}]),e}(),y=0,b=0,C=0;t.SVGGraphics=f=function(){function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var a in c(this,e),this.svgFactory=new i.DOMSVGFactory,this.current=new m,this.transformMatrix=r.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=t,this.objs=n,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!o,this._operatorIdMapping=[],r.OPS)this._operatorIdMapping[r.OPS[a]]=a}return d(e,[{key:"save",value:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()}},{key:"restore",value:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}},{key:"group",value:function(e){this.save(),this.executeOpTree(e),this.restore()}},{key:"loadDependencies",value:function(e){for(var t=this,n=e.fnArray,i=e.argsArray,o=0,a=n.length;o<a;o++)if(n[o]===r.OPS.dependency){var l,u=s(i[o]);try{var c=function(){var e=l.value,n=e.startsWith("g_")?t.commonObjs:t.objs,r=new Promise((function(t){n.get(e,t)}));t.current.dependencies.push(r)};for(u.s();!(l=u.n()).done;)c()}catch(h){u.e(h)}finally{u.f()}}return Promise.all(this.current.dependencies)}},{key:"transform",value:function(e,t,n,i,o,a){this.transformMatrix=r.Util.transform(this.transformMatrix,[e,t,n,i,o,a]),this.tgrp=null}},{key:"getSVG",value:function(e,t){var n=this;this.viewport=t;var i=this._initialize(t);return this.loadDependencies(e).then((function(){return n.transformMatrix=r.IDENTITY_MATRIX,n.executeOpTree(n.convertOpList(e)),i}))}},{key:"convertOpList",value:function(e){for(var t=this._operatorIdMapping,n=e.argsArray,r=e.fnArray,i=[],o=0,a=r.length;o<a;o++){var l=r[o];i.push({fnId:l,fn:t[l],args:n[o]})}return function(e){var t,n=[],r=[],i=s(e);try{for(i.s();!(t=i.n()).done;){var o=t.value;"save"!==o.fn?"restore"===o.fn?n=r.pop():n.push(o):(n.push({fnId:92,fn:"group",items:[]}),r.push(n),n=n[n.length-1].items)}}catch(a){i.e(a)}finally{i.f()}return n}(i)}},{key:"executeOpTree",value:function(e){var t,n=s(e);try{for(n.s();!(t=n.n()).done;){var i=t.value,o=i.fn,a=i.args;switch(0|i.fnId){case r.OPS.beginText:this.beginText();break;case r.OPS.dependency:break;case r.OPS.setLeading:this.setLeading(a);break;case r.OPS.setLeadingMoveText:this.setLeadingMoveText(a[0],a[1]);break;case r.OPS.setFont:this.setFont(a);break;case r.OPS.showText:case r.OPS.showSpacedText:this.showText(a[0]);break;case r.OPS.endText:this.endText();break;case r.OPS.moveText:this.moveText(a[0],a[1]);break;case r.OPS.setCharSpacing:this.setCharSpacing(a[0]);break;case r.OPS.setWordSpacing:this.setWordSpacing(a[0]);break;case r.OPS.setHScale:this.setHScale(a[0]);break;case r.OPS.setTextMatrix:this.setTextMatrix(a[0],a[1],a[2],a[3],a[4],a[5]);break;case r.OPS.setTextRise:this.setTextRise(a[0]);break;case r.OPS.setTextRenderingMode:this.setTextRenderingMode(a[0]);break;case r.OPS.setLineWidth:this.setLineWidth(a[0]);break;case r.OPS.setLineJoin:this.setLineJoin(a[0]);break;case r.OPS.setLineCap:this.setLineCap(a[0]);break;case r.OPS.setMiterLimit:this.setMiterLimit(a[0]);break;case r.OPS.setFillRGBColor:this.setFillRGBColor(a[0],a[1],a[2]);break;case r.OPS.setStrokeRGBColor:this.setStrokeRGBColor(a[0],a[1],a[2]);break;case r.OPS.setStrokeColorN:this.setStrokeColorN(a);break;case r.OPS.setFillColorN:this.setFillColorN(a);break;case r.OPS.shadingFill:this.shadingFill(a[0]);break;case r.OPS.setDash:this.setDash(a[0],a[1]);break;case r.OPS.setRenderingIntent:this.setRenderingIntent(a[0]);break;case r.OPS.setFlatness:this.setFlatness(a[0]);break;case r.OPS.setGState:this.setGState(a[0]);break;case r.OPS.fill:this.fill();break;case r.OPS.eoFill:this.eoFill();break;case r.OPS.stroke:this.stroke();break;case r.OPS.fillStroke:this.fillStroke();break;case r.OPS.eoFillStroke:this.eoFillStroke();break;case r.OPS.clip:this.clip("nonzero");break;case r.OPS.eoClip:this.clip("evenodd");break;case r.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case r.OPS.paintImageXObject:this.paintImageXObject(a[0]);break;case r.OPS.paintInlineImageXObject:this.paintInlineImageXObject(a[0]);break;case r.OPS.paintImageMaskXObject:this.paintImageMaskXObject(a[0]);break;case r.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(a[0],a[1]);break;case r.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case r.OPS.closePath:this.closePath();break;case r.OPS.closeStroke:this.closeStroke();break;case r.OPS.closeFillStroke:this.closeFillStroke();break;case r.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case r.OPS.nextLine:this.nextLine();break;case r.OPS.transform:this.transform(a[0],a[1],a[2],a[3],a[4],a[5]);break;case r.OPS.constructPath:this.constructPath(a[0],a[1]);break;case r.OPS.endPath:this.endPath();break;case 92:this.group(i.items);break;default:(0,r.warn)("Unimplemented operator ".concat(o))}}}catch(l){n.e(l)}finally{n.f()}}},{key:"setWordSpacing",value:function(e){this.current.wordSpacing=e}},{key:"setCharSpacing",value:function(e){this.current.charSpacing=e}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"setTextMatrix",value:function(e,t,n,r,i,o){var a=this.current;a.textMatrix=a.lineMatrix=[e,t,n,r,i,o],a.textMatrixScale=Math.sqrt(e*e+t*t),a.x=a.lineX=0,a.y=a.lineY=0,a.xcoords=[],a.ycoords=[],a.tspan=this.svgFactory.createElement("svg:tspan"),a.tspan.setAttributeNS(null,"font-family",a.fontFamily),a.tspan.setAttributeNS(null,"font-size","".concat(p(a.fontSize),"px")),a.tspan.setAttributeNS(null,"y",p(-a.y)),a.txtElement=this.svgFactory.createElement("svg:text"),a.txtElement.appendChild(a.tspan)}},{key:"beginText",value:function(){var e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=r.IDENTITY_MATRIX,e.lineMatrix=r.IDENTITY_MATRIX,e.textMatrixScale=1,e.tspan=this.svgFactory.createElement("svg:tspan"),e.txtElement=this.svgFactory.createElement("svg:text"),e.txtgrp=this.svgFactory.createElement("svg:g"),e.xcoords=[],e.ycoords=[]}},{key:"moveText",value:function(e,t){var n=this.current;n.x=n.lineX+=e,n.y=n.lineY+=t,n.xcoords=[],n.ycoords=[],n.tspan=this.svgFactory.createElement("svg:tspan"),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size","".concat(p(n.fontSize),"px")),n.tspan.setAttributeNS(null,"y",p(-n.y))}},{key:"showText",value:function(e){var t=this.current,n=t.font,i=t.fontSize;if(0!==i){var o,a=t.fontSizeScale,l=t.charSpacing,u=t.wordSpacing,c=t.fontDirection,h=t.textHScale*c,d=n.vertical,f=d?1:-1,_=n.defaultVMetrics,A=i*t.fontMatrix[0],v=0,m=s(e);try{for(m.s();!(o=m.n()).done;){var y=o.value;if(null!==y)if((0,r.isNum)(y))v+=f*y*i/1e3;else{var b=(y.isSpace?u:0)+l,C=y.fontChar,w=void 0,k=void 0,E=y.width;if(d){var S=void 0,O=y.vmetric||_;S=y.vmetric?O[1]:.5*E,E=O?-O[0]:E,w=(S=-S*A)/a,k=(v+O[2]*A)/a}else w=v/a,k=0;(y.isInFont||n.missingFile)&&(t.xcoords.push(t.x+w),d&&t.ycoords.push(-t.y+k),t.tspan.textContent+=C),v+=d?E*A-b*c:E*A+b*c}else v+=c*u}}catch(T){m.e(T)}finally{m.f()}t.tspan.setAttributeNS(null,"x",t.xcoords.map(p).join(" ")),t.tspan.setAttributeNS(null,"y",d?t.ycoords.map(p).join(" "):p(-t.y)),d?t.y-=v:t.x+=v*h,t.tspan.setAttributeNS(null,"font-family",t.fontFamily),t.tspan.setAttributeNS(null,"font-size","".concat(p(t.fontSize),"px")),"normal"!==t.fontStyle&&t.tspan.setAttributeNS(null,"font-style",t.fontStyle),"normal"!==t.fontWeight&&t.tspan.setAttributeNS(null,"font-weight",t.fontWeight);var x=t.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;x===r.TextRenderingMode.FILL||x===r.TextRenderingMode.FILL_STROKE?("#000000"!==t.fillColor&&t.tspan.setAttributeNS(null,"fill",t.fillColor),t.fillAlpha<1&&t.tspan.setAttributeNS(null,"fill-opacity",t.fillAlpha)):t.tspan.setAttributeNS(null,"fill",t.textRenderingMode===r.TextRenderingMode.ADD_TO_PATH?"transparent":"none"),(x===r.TextRenderingMode.STROKE||x===r.TextRenderingMode.FILL_STROKE)&&this._setStrokeAttributes(t.tspan,1/(t.textMatrixScale||1));var P=t.textMatrix;0!==t.textRise&&((P=P.slice())[5]+=t.textRise),t.txtElement.setAttributeNS(null,"transform","".concat(g(P)," scale(").concat(p(h),", -1)")),t.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.txtElement.appendChild(t.tspan),t.txtgrp.appendChild(t.txtElement),this._ensureTransformGroup().appendChild(t.txtElement)}}},{key:"setLeadingMoveText",value:function(e,t){this.setLeading(-t),this.moveText(e,t)}},{key:"addFontStyle",value:function(e){if(!e.data)throw new Error('addFontStyle: No font data available, ensure that the "fontExtraProperties" API parameter is set.');this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var t=(0,r.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'.concat(e.loadedName,'";')+" src: url(".concat(t,"); }\n")}},{key:"setFont",value:function(e){var t=this.current,n=this.commonObjs.get(e[0]),i=e[1];t.font=n,!this.embedFonts||n.missingFile||this.embeddedFonts[n.loadedName]||(this.addFontStyle(n),this.embeddedFonts[n.loadedName]=n),t.fontMatrix=n.fontMatrix?n.fontMatrix:r.FONT_IDENTITY_MATRIX;var o="normal";n.black?o="900":n.bold&&(o="bold");var a=n.italic?"italic":"normal";i<0?(i=-i,t.fontDirection=-1):t.fontDirection=1,t.fontSize=i,t.fontFamily=n.loadedName,t.fontWeight=o,t.fontStyle=a,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",p(-t.y)),t.xcoords=[],t.ycoords=[]}},{key:"endText",value:function(){var e=this.current;e.textRenderingMode&r.TextRenderingMode.ADD_TO_PATH_FLAG&&e.txtElement&&e.txtElement.hasChildNodes()&&(e.element=e.txtElement,this.clip("nonzero"),this.endPath())}},{key:"setLineWidth",value:function(e){e>0&&(this.current.lineWidth=e)}},{key:"setLineCap",value:function(e){this.current.lineCap=_[e]}},{key:"setLineJoin",value:function(e){this.current.lineJoin=A[e]}},{key:"setMiterLimit",value:function(e){this.current.miterLimit=e}},{key:"setStrokeAlpha",value:function(e){this.current.strokeAlpha=e}},{key:"setStrokeRGBColor",value:function(e,t,n){this.current.strokeColor=r.Util.makeCssRgb(e,t,n)}},{key:"setFillAlpha",value:function(e){this.current.fillAlpha=e}},{key:"setFillRGBColor",value:function(e,t,n){this.current.fillColor=r.Util.makeCssRgb(e,t,n),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}},{key:"setStrokeColorN",value:function(e){this.current.strokeColor=this._makeColorN_Pattern(e)}},{key:"setFillColorN",value:function(e){this.current.fillColor=this._makeColorN_Pattern(e)}},{key:"shadingFill",value:function(e){var t=this.viewport.width,n=this.viewport.height,i=r.Util.inverseTransform(this.transformMatrix),o=r.Util.applyTransform([0,0],i),a=r.Util.applyTransform([0,n],i),s=r.Util.applyTransform([t,0],i),l=r.Util.applyTransform([t,n],i),u=Math.min(o[0],a[0],s[0],l[0]),c=Math.min(o[1],a[1],s[1],l[1]),h=Math.max(o[0],a[0],s[0],l[0]),d=Math.max(o[1],a[1],s[1],l[1]),f=this.svgFactory.createElement("svg:rect");f.setAttributeNS(null,"x",u),f.setAttributeNS(null,"y",c),f.setAttributeNS(null,"width",h-u),f.setAttributeNS(null,"height",d-c),f.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this.current.fillAlpha<1&&f.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().appendChild(f)}},{key:"_makeColorN_Pattern",value:function(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}},{key:"_makeTilingPattern",value:function(e){var t=e[1],n=e[2],i=e[3]||r.IDENTITY_MATRIX,o=a(e[4],4),s=o[0],c=o[1],h=o[2],d=o[3],f=e[5],p=e[6],g=e[7],_="shading".concat(C++),A=a(r.Util.applyTransform([s,c],i),2),v=A[0],m=A[1],y=a(r.Util.applyTransform([h,d],i),2),b=y[0],w=y[1],k=a(r.Util.singularValueDecompose2dScale(i),2),E=f*k[0],S=p*k[1],O=this.svgFactory.createElement("svg:pattern");O.setAttributeNS(null,"id",_),O.setAttributeNS(null,"patternUnits","userSpaceOnUse"),O.setAttributeNS(null,"width",E),O.setAttributeNS(null,"height",S),O.setAttributeNS(null,"x","".concat(v)),O.setAttributeNS(null,"y","".concat(m));var x,P=this.svg,T=this.transformMatrix,B=this.current.fillColor,D=this.current.strokeColor,M=this.svgFactory.create(b-v,w-m);if(this.svg=M,this.transformMatrix=i,2===g){var I=r.Util.makeCssRgb.apply(r.Util,function(e){if(Array.isArray(e))return u(e)}(x=t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(x)||l(x)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());this.current.fillColor=I,this.current.strokeColor=I}return this.executeOpTree(this.convertOpList(n)),this.svg=P,this.transformMatrix=T,this.current.fillColor=B,this.current.strokeColor=D,O.appendChild(M.childNodes[0]),this.defs.appendChild(O),"url(#".concat(_,")")}},{key:"_makeShadingPattern",value:function(e){switch(e[0]){case"RadialAxial":var t,n="shading".concat(C++),i=e[3];switch(e[1]){case"axial":var o=e[4],a=e[5];(t=this.svgFactory.createElement("svg:linearGradient")).setAttributeNS(null,"id",n),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"x1",o[0]),t.setAttributeNS(null,"y1",o[1]),t.setAttributeNS(null,"x2",a[0]),t.setAttributeNS(null,"y2",a[1]);break;case"radial":var l=e[4],u=e[5],c=e[6],h=e[7];(t=this.svgFactory.createElement("svg:radialGradient")).setAttributeNS(null,"id",n),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"cx",u[0]),t.setAttributeNS(null,"cy",u[1]),t.setAttributeNS(null,"r",h),t.setAttributeNS(null,"fx",l[0]),t.setAttributeNS(null,"fy",l[1]),t.setAttributeNS(null,"fr",c);break;default:throw new Error("Unknown RadialAxial type: ".concat(e[1]))}var d,f=s(i);try{for(f.s();!(d=f.n()).done;){var p=d.value,g=this.svgFactory.createElement("svg:stop");g.setAttributeNS(null,"offset",p[0]),g.setAttributeNS(null,"stop-color",p[1]),t.appendChild(g)}}catch(_){f.e(_)}finally{f.f()}return this.defs.appendChild(t),"url(#".concat(n,")");case"Mesh":return(0,r.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error("Unknown IR type: ".concat(e[0]))}}},{key:"setDash",value:function(e,t){this.current.dashArray=e,this.current.dashPhase=t}},{key:"constructPath",value:function(e,t){var n,i=this.current,o=i.x,a=i.y,l=[],u=0,c=s(e);try{for(c.s();!(n=c.n()).done;)switch(0|n.value){case r.OPS.rectangle:o=t[u++],a=t[u++];var h=o+t[u++],d=a+t[u++];l.push("M",p(o),p(a),"L",p(h),p(a),"L",p(h),p(d),"L",p(o),p(d),"Z");break;case r.OPS.moveTo:o=t[u++],a=t[u++],l.push("M",p(o),p(a));break;case r.OPS.lineTo:o=t[u++],a=t[u++],l.push("L",p(o),p(a));break;case r.OPS.curveTo:o=t[u+4],a=t[u+5],l.push("C",p(t[u]),p(t[u+1]),p(t[u+2]),p(t[u+3]),p(o),p(a)),u+=6;break;case r.OPS.curveTo2:l.push("C",p(o),p(a),p(t[u]),p(t[u+1]),p(t[u+2]),p(t[u+3])),o=t[u+2],a=t[u+3],u+=4;break;case r.OPS.curveTo3:o=t[u+2],a=t[u+3],l.push("C",p(t[u]),p(t[u+1]),p(o),p(a),p(o),p(a)),u+=4;break;case r.OPS.closePath:l.push("Z")}}catch(f){c.e(f)}finally{c.f()}l=l.join(" "),i.path&&e.length>0&&e[0]!==r.OPS.rectangle&&e[0]!==r.OPS.moveTo?l=i.path.getAttributeNS(null,"d")+l:(i.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(i.path)),i.path.setAttributeNS(null,"d",l),i.path.setAttributeNS(null,"fill","none"),i.element=i.path,i.setCurrentPoint(o,a)}},{key:"endPath",value:function(){var e=this.current;if(e.path=null,this.pendingClip)if(e.element){var t="clippath".concat(y++),n=this.svgFactory.createElement("svg:clipPath");n.setAttributeNS(null,"id",t),n.setAttributeNS(null,"transform",g(this.transformMatrix));var r=e.element.cloneNode(!0);r.setAttributeNS(null,"clip-rule","evenodd"===this.pendingClip?"evenodd":"nonzero"),this.pendingClip=null,n.appendChild(r),this.defs.appendChild(n),e.activeClipUrl&&(e.clipGroup=null,this.extraStack.forEach((function(e){e.clipGroup=null})),n.setAttributeNS(null,"clip-path",e.activeClipUrl)),e.activeClipUrl="url(#".concat(t,")"),this.tgrp=null}else this.pendingClip=null}},{key:"clip",value:function(e){this.pendingClip=e}},{key:"closePath",value:function(){var e=this.current;if(e.path){var t="".concat(e.path.getAttributeNS(null,"d"),"Z");e.path.setAttributeNS(null,"d",t)}}},{key:"setLeading",value:function(e){this.current.leading=-e}},{key:"setTextRise",value:function(e){this.current.textRise=e}},{key:"setTextRenderingMode",value:function(e){this.current.textRenderingMode=e}},{key:"setHScale",value:function(e){this.current.textHScale=e/100}},{key:"setRenderingIntent",value:function(e){}},{key:"setFlatness",value:function(e){}},{key:"setGState",value:function(e){var t,n=s(e);try{for(n.s();!(t=n.n()).done;){var i=a(t.value,2),o=i[0],l=i[1];switch(o){case"LW":this.setLineWidth(l);break;case"LC":this.setLineCap(l);break;case"LJ":this.setLineJoin(l);break;case"ML":this.setMiterLimit(l);break;case"D":this.setDash(l[0],l[1]);break;case"RI":this.setRenderingIntent(l);break;case"FL":this.setFlatness(l);break;case"Font":this.setFont(l);break;case"CA":this.setStrokeAlpha(l);break;case"ca":this.setFillAlpha(l);break;default:(0,r.warn)("Unimplemented graphic state operator ".concat(o))}}}catch(u){n.e(u)}finally{n.f()}}},{key:"fill",value:function(){var e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}},{key:"stroke",value:function(){var e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}},{key:"_setStrokeAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.current,r=n.dashArray;1!==t&&r.length>0&&(r=r.map((function(e){return t*e}))),e.setAttributeNS(null,"stroke",n.strokeColor),e.setAttributeNS(null,"stroke-opacity",n.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",p(n.miterLimit)),e.setAttributeNS(null,"stroke-linecap",n.lineCap),e.setAttributeNS(null,"
1stroke-linejoin",n.lineJoin),e.setAttributeNS(null,"stroke-width",p(t*n.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",r.map(p).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",p(t*n.dashPhase)+"px")}},{key:"eoFill",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}},{key:"fillStroke",value:function(){this.stroke(),this.fill()}},{key:"eoFillStroke",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.closePath(),this.eoFillStroke()}},{key:"paintSolidColorImageMask",value:function(){var e=this.svgFactory.createElement("svg:rect");e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","1px"),e.setAttributeNS(null,"height","1px"),e.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().appendChild(e)}},{key:"paintImageXObject",value:function(e){var t=this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)("Dependent image with object ID ".concat(e," is not ready yet"))}},{key:"paintInlineImageXObject",value:function(e,t){var n=e.width,r=e.height,i=v(e,this.forceDataSchema,!!t),o=this.svgFactory.createElement("svg:rect");o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width",p(n)),o.setAttributeNS(null,"height",p(r)),this.current.element=o,this.clip("nonzero");var a=this.svgFactory.createElement("svg:image");a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i),a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y",p(-r)),a.setAttributeNS(null,"width",p(n)+"px"),a.setAttributeNS(null,"height",p(r)+"px"),a.setAttributeNS(null,"transform","scale(".concat(p(1/n)," ").concat(p(-1/r),")")),t?t.appendChild(a):this._ensureTransformGroup().appendChild(a)}},{key:"paintImageMaskXObject",value:function(e){var t=this.current,n=e.width,r=e.height,i=t.fillColor;t.maskId="mask".concat(b++);var o=this.svgFactory.createElement("svg:mask");o.setAttributeNS(null,"id",t.maskId);var a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",p(n)),a.setAttributeNS(null,"height",p(r)),a.setAttributeNS(null,"fill",i),a.setAttributeNS(null,"mask","url(#".concat(t.maskId,")")),this.defs.appendChild(o),this._ensureTransformGroup().appendChild(a),this.paintInlineImageXObject(e,o)}},{key:"paintFormXObjectBegin",value:function(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){var n=t[2]-t[0],r=t[3]-t[1],i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x",t[0]),i.setAttributeNS(null,"y",t[1]),i.setAttributeNS(null,"width",p(n)),i.setAttributeNS(null,"height",p(r)),this.current.element=i,this.clip("nonzero"),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){}},{key:"_initialize",value:function(e){var t=this.svgFactory.create(e.width,e.height),n=this.svgFactory.createElement("svg:defs");t.appendChild(n),this.defs=n;var r=this.svgFactory.createElement("svg:g");return r.setAttributeNS(null,"transform",g(e.transform)),t.appendChild(r),this.svg=r,t}},{key:"_ensureClipGroup",value:function(){if(!this.current.clipGroup){var e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup}},{key:"_ensureTransformGroup",value:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",g(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5),a=n(213);function s(e){return(s="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 l(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&&(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){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}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
vendor: 14,613 bytes, line 1
1function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)}))}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(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 _(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}var A=__webpack_require__(2),v=__webpack_require__(3),m=__webpack_require__(4),y=__webpack_require__(5),b=/^file:\/\/\/[a-zA-Z]:\//;t.PDFNodeStream=function(){function e(t){var n,r;p(this,e),this.source=t,this.url="file:"===(r=y.parse(n=t.url)).protocol||r.host?r:/^[a-z]:[/\\]/i.test(n)?y.parse("file:///".concat(n)):(r.host||(r.protocol="file:"),r),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return _(e,[{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new O(this):new E(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=this.isFsUrl?new x(this,e,t):new S(this,e,t);return this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach((function(t){t.cancel(e)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();var C=function(){function e(t){p(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;var n=t.source;this._contentLength=n.length,this._loaded=0,this._filename=null,this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)(),this._headersCapability=(0,o.createPromiseCapability)()}var t;return _(e,[{key:"read",value:(t=f(i.default.mark((function e(){var t,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(null!==(t=this._readableStream.read())){e.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),n=new Uint8Array(t).buffer,e.abrupt("return",{value:n,done:!1});case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new o.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),w=function(){function e(t){p(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)(),this._isStreamingSupported=!t.source.disableStream}var t;return _(e,[{key:"read",value:(t=f(i.default.mark((function e(){var t,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(null!==(t=this._readableStream.read())){e.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded}),n=new Uint8Array(t).buffer,e.abrupt("return",{value:n,done:!1});case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}();function k(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}var E=function(e){l(n,e);var t=u(n);function n(e){var r;p(this,n);var i=function(t){if(404===t.statusCode){var n=new o.MissingPDFException('Missing PDF "'.concat(r._url,'".'));return r._storedError=n,void r._headersCapability.reject(n)}r._headersCapability.resolve(),r._setReadableStream(t);var i=function(e){return r._readableStream.headers[e.toLowerCase()]},s=(0,a.validateRangeRequestCapabilities)({getResponseHeader:i,isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),l=s.suggestedLength;r._isRangeSupported=s.allowRangeRequests,r._contentLength=l||r._contentLength,r._filename=(0,a.extractFilenameFromHeader)(i)};return(r=t.call(this,e))._request=null,r._request="http:"===r._url.protocol?v.request(k(r._url,e.httpHeaders),i):m.request(k(r._url,e.httpHeaders),i),r._request.on("error",(function(e){r._storedError=e,r._headersCapability.reject(e)})),r._request.end(),r}return n}(C),S=function(e){l(n,e);var t=u(n);function n(e,r,i){var a;for(var s in p(this,n),(a=t.call(this,e))._httpHeaders={},e.httpHeaders){var l=e.httpHeaders[s];void 0!==l&&(a._httpHeaders[s]=l)}a._httpHeaders.Range="bytes=".concat(r,"-").concat(i-1);var u=function(e){if(404!==e.statusCode)a._setReadableStream(e);else{var t=new o.MissingPDFException('Missing PDF "'.concat(a._url,'".'));a._storedError=t}};return a._request=null,a._request="http:"===a._url.protocol?v.request(k(a._url,a._httpHeaders),u):m.request(k(a._url,a._httpHeaders),u),a._request.on("error",(function(e){a._storedError=e})),a._request.end(),a}return n}(w),O=function(e){l(n,e);var t=u(n);function n(e){var r;p(this,n),r=t.call(this,e);var i=decodeURIComponent(r._url.path);return b.test(r._url.href)&&(i=i.replace(/^\//,"")),A.lstat(i,(function(e,t){if(e)return"ENOENT"===e.code&&(e=new o.MissingPDFException('Missing PDF "'.concat(i,'".'))),r._storedError=e,void r._headersCapability.reject(e);r._contentLength=t.size,r._setReadableStream(A.createReadStream(i)),r._headersCapability.resolve()})),r}return n}(C),x=function(e){l(n,e);var t=u(n);function n(e,r,i){var o;p(this,n),o=t.call(this,e);var a=decodeURIComponent(o._url.path);return b.test(o._url.href)&&(a=a.replace(/^\//,"")),o._setReadableStream(A.createReadStream(a,{start:r,end:i-1})),o}return n}(w)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=function(e,t){return 404===e||0===e&&t.startsWith("file:")?new r.MissingPDFException('Missing PDF "'+t+'".'):new r.UnexpectedResponseException("Unexpected server response ("+e+') while retrieving PDF "'+t+'".',e)},t.extractFilenameFromHeader=function(e){var t=e("Content-Disposition");if(t){var n=(0,i.getFilenameFromContentDispositionHeader)(t);if(n.includes("%"))try{n=decodeURIComponent(n)}catch(r){}if(/\.pdf$/i.test(n))return n}return null},t.validateRangeRequestCapabilities=function(e){var t=e.getResponseHeader,n=e.isHttp,i=e.rangeChunkSize,o=e.disableRange;(0,r.assert)(i>0,"Range chunk size must be larger than zero");var a={allowRangeRequests:!1,suggestedLength:void 0},s=parseInt(t("Content-Length"),10);return Number.isInteger(s)?(a.suggestedLength=s,s<=2*i||o||!n||"bytes"!==t("Accept-Ranges")||"identity"!==(t("Content-Encoding")||"identity")||(a.allowRangeRequests=!0),a):a},t.validateResponseStatus=function(e){return 200===e||206===e};var r=n(5),i=n(214)},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(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(l){i=!0,o=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(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)?i(e,t):void 0}}(e,t)||function(){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 i(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}Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=function(e){var t=!0,n=a("filename\\*","i").exec(e);if(n){var i=u(n=n[1]);return l(i=h(i=c(i=unescape(i))))}if(n=function(e){for(var t,n=[],i=a("filename\\*((?!0\\d)\\d+)(\\*?)","ig");null!==(t=i.exec(e));){var o=r(t,4),s=o[1],l=o[2],h=o[3];if((s=parseInt(s,10))in n){if(0===s)break}else n[s]=[l,h]}for(var d=[],f=0;f<n.length&&f in n;++f){var p=r(n[f],2),g=p[0],_=p[1];_=u(_),g&&(_=unescape(_),0===f&&(_=c(_))),d.push(_)}return d.join("")}(e))return l(h(n));if(n=a("filename","i").exec(e)){var o=u(n=n[1]);return l(o=h(o))}function a(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function s(e,n){if(e){if(!/^[\x00-\xFF]+$/.test(n))return n;try{var r=new TextDecoder(e,{fatal:!0}),i=Array.from(n,(function(e){return 255&e.charCodeAt(0)}));n=r.decode(new Uint8Array(i)),t=!1}catch(o){if(/^utf-?8$/i.test(e))try{n=decodeURIComponent(escape(n)),t=!1}catch(a){}}}return n}function l(e){return t&&/[\x80-\xff]/.test(e)&&(e=s("utf-8",e),t&&(e=s("iso-8859-1",e))),e}function u(e){if(e.startsWith('"')){for(var t=e.slice(1).split('\\"'),n=0;n<t.length;++n){var r=t[n].indexOf('"');-1!==r&&(t[n]=t[n].slice(0,r),t.length=n+1),t[n]=t[n].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function c(e){var t=e.indexOf("'");return-1===t?e:s(e.slice(0,t),e.slice(t+1).replace(/^[^']*'/,""))}function h(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(e,t,n,r){if("q"===n||"Q"===n)return s(t,r=(r=r.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})));try{r=atob(r)}catch(i){}return s(t,r)}))}return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5),a=n(213);function s(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,l,"next",e)}function l(e){s(o,r,i,a,l,"throw",e)}a(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 h(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}var d=function(){function e(t,n){u(this,e),this.url=t,n=n||{},this.isHttp=/^https?:/i.test(t),this.httpHeaders=this.isHttp&&n.httpHeaders||{},this.withCredentials=n.withCredentials||!1,this.getXhr=n.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}return h(e,[{key:"requestRange",value:function(e,t,n){var r={begin:e,end:t};for(var i in n)r[i]=n[i];return this.request(r)}},{key:"requestFull",value:function(e){return this.request(e)}},{key:"request",value:function(e){var t=this.getXhr(),n=this.currXhrId++,r=this.pendingRequests[n]={xhr:t};for(var i in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var o=this.httpHeaders[i];void 0!==o&&t.setRequestHeader(i,o)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range","bytes=".concat(e.begin,"-").concat(e.end-1)),r.expectedStatus=206):r.expectedStatus=200,t.responseType="arraybuffer",e.onError&&(t.onerror=function(n){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,n),t.onprogress=this.onProgress.bind(this,n),r.onHeadersReceived=e.onHeadersReceived,r.onDone=e.onDone,r.onError=e.onError,r.onProgress=e.onProgress,t.send(null),n}},{key:"onProgress",value:function(e,t){var n=this.pendingRequests[e];n&&n.onProgress&&n.onProgress(t)}},{key:"onStateChange",value:function(e,t){var n=this.pendingRequests[e];if(n){var r=n.xhr;if(r.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),4===r.readyState&&e in this.pendingRequests)if(delete this.pendingRequests[e],0===r.status&&this.isHttp)n.onError&&n.onError(r.status);else{var i=r.status||200;
1if(200===i&&206===n.expectedStatus||i===n.expectedStatus){var a=function(e){var t=e.response;return"string"!=typeof t?t:(0,o.stringToBytes)(t).buffer}(r);if(206===i){var s=r.getResponseHeader("Content-Range"),l=/bytes (\d+)-(\d+)\/(\d+)/.exec(s);n.onDone({begin:parseInt(l[1],10),chunk:a})}else a?n.onDone({begin:0,chunk:a}):n.onError&&n.onError(r.status)}else n.onError&&n.onError(r.status)}}}},{key:"hasPendingRequests",value:function(){for(var e in this.pendingRequests)return!0;return!1}},{key:"getRequestXhr",value:function(e){return this.pendingRequests[e].xhr}},{key:"isPendingRequest",value:function(e){return e in this.pendingRequests}},{key:"abortAllRequests",value:function(){for(var e in this.pendingRequests)this.abortRequest(0|e)}},{key:"abortRequest",value:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}]),e}();t.PDFNetworkStream=function(){function e(t){u(this,e),this._source=t,this._manager=new d(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}return h(e,[{key:"_onRangeRequestReaderClosed",value:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}},{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new f(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var n=new p(this._manager,e,t);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach((function(t){t.cancel(e)}))}}]),e}();var f=function(){function e(t,n){u(this,e),this._manager=t;var r={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=n.url,this._fullRequestId=t.requestFull(r),this._headersReceivedCapability=(0,o.createPromiseCapability)(),this._disableRange=n.disableRange||!1,this._contentLength=n.length,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}var t;return h(e,[{key:"_onHeadersReceived",value:function(){var e=this._fullRequestId,t=this._manager.getRequestXhr(e),n=function(e){return t.getResponseHeader(e)},r=(0,a.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),i=r.suggestedLength;r.allowRangeRequests&&(this._isRangeSupported=!0),this._contentLength=i||this._contentLength,this._filename=(0,a.extractFilenameFromHeader)(n),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}},{key:"_onDone",value:function(e){e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk)),this._done=!0,this._cachedChunks.length>0||(this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[])}},{key:"_onError",value:function(e){var t=(0,a.createResponseStatusError)(e,this._url);this._storedError=t,this._headersReceivedCapability.reject(t),this._requests.forEach((function(e){e.reject(t)})),this._requests=[],this._cachedChunks=[]}},{key:"_onProgress",value:function(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}},{key:"read",value:(t=l(i.default.mark((function e(){var t,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._storedError){e.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){e.next=5;break}return t=this._cachedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 5:if(!this._done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 10:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0,this._headersReceivedCapability.reject(e),this._requests.forEac
vendor: 8,764 bytes, line 1
1h((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersReceivedCapability.promise}}]),e}(),p=function(){function e(t,n,r){u(this,e),this._manager=t;var i={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=t.requestRange(n,r,i),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}var t;return h(e,[{key:"_close",value:function(){this.onClosed&&this.onClosed(this)}},{key:"_onDone",value:function(e){var t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._close()}},{key:"_onProgress",value:function(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})}},{key:"read",value:(t=l(i.default.mark((function e(){var t,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 9:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},{key:"isStreamingSupported",get:function(){return!1}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5),a=n(213);function s(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,l,"next",e)}function l(e){s(o,r,i,a,l,"throw",e)}a(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 h(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function d(e,t,n){return{method:"GET",headers:e,signal:n&&n.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function f(e){var t=new Headers;for(var n in e){var r=e[n];void 0!==r&&t.append(n,r)}return t}t.PDFFetchStream=function(){function e(t){u(this,e),this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return h(e,[{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new p(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=new g(this,e,t);return this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach((function(t){t.cancel(e)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();var p=function(){function e(t){var n=this;u(this,e),this._stream=t,this._reader=null,this._loaded=0,this._filename=null;var r=t.source;this._withCredentials=r.withCredentials||!1,this._contentLength=r.length,this._headersCapability=(0,o.createPromiseCapability)(),this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._headers=f(this._stream.httpHeaders);var i=r.url;fetch(i,d(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,i);n._reader=e.body.getReader(),n._headersCapability.resolve();var t=function(t){return e.headers.get(t)},r=(0,a.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:n._stream.isHttp,rangeChunkSize:n._rangeChunkSize,disableRange:n._disableRange}),s=r.suggestedLength;n._isRangeSupported=r.allowRangeRequests,n._contentLength=s||n._contentLength,n._filename=(0,a.extractFilenameFromHeader)(t),!n._isStreamingSupported&&n._isRangeSupported&&n.cancel(new o.AbortException("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}var t;return h(e,[{key:"read",value:(t=l(i.default.mark((function e(){var t,n,r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._headersCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(n=(t=e.sent).value,!(r=t.done)){e.next=9;break}return e.abrupt("return",{value:n,done:r});case 9:return this._loaded+=n.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),o=new Uint8Array(n).buffer,e.abrupt("return",{value:o,done:!1});case 13:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),g=function(){function e(t,n,r){var i=this;u(this,e),this._stream=t,this._reader=null,this._loaded=0;var s=t.source;this._withCredentials=s.withCredentials||!1,this._readCapability=(0,o.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._headers=f(this._stream.httpHeaders),this._headers.append("Range","bytes=".concat(n,"-").concat(r-1));var l=s.url;fetch(l,d(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,l);i._readCapability.resolve(),i._reader=e.body.getReader()})),this.onProgress=null}var t;return h(e,[{key:"read",value:(t=l(i.default.mark((function e(){var t,n,r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(n=(t=e.sent).value,!(r=t.done)){e.next=9;break}return e.abrupt("return",{value:n,done:r});case 9:return this._loaded+=n.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),o=new Uint8Array(n).buffer,e.abrupt("return",{value:o,done:!1});case 13:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}()}])},module.exports=factory()},QQfA:function(e,t,n){"use strict";n.d(t,"d",(function(){return U})),n.d(t,"f",(function(){return T})),n.d(t,"b",(function(){return H})),n.d(t,"a",(function(){return Q})),n.d(t,"g",(function(){return P})),n.d(t,"i",(function(){return F})),n.d(t,"c",(function(){return D})),n.d(t,"e",(function(){return k})),n.d(t,"j",(function(){return w})),n.d(t,"h",(function(){return K})),n.d(t,"k",(function(){return j})),n.d(t,"l",(function(){return V}));var r=n("KCVW"),i=n("hOhj"),o=n("SVse"),a=n("8Y7J"),s=n("XNiG"),l=n("quSY"),u=n("HDdC"),c=n("VRyK"),h=n("IzEk"),d=n("1G5W"),f=n("/HVE"),p=n("zMNK"),g=n("dvZr"),_=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._viewportRuler
1=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}),[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Object(r.d)(-this._previousScrollPosition.left),e.style.top=Object(r.d)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,r=t.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=r,n.scrollBehavior=i}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}])}();function A(){return Error("Scroll strategy has already been attached.")}var v=function(){return _createClass2((function e(t,n,r,i){var o=this;_classCallCheck2(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run((function(){return o._overlayRef.detach()}))}}),[{key:"attach",value:function(e){if(this._overlayRef)throw A();this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}])}(),m=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}])}();function y(e,t){return t.some((function(t){return e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right}))}function b(e,t){return t.some((function(t){return e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right}))}var C=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this._config=i,this._scrollSubscription=null}),[{key:"attach",value:function(e){if(this._overlayRef)throw A();this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),r=n.width,i=n.height;y(t,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(e.disable(),e._ngZone.run((function(){return e._overlayRef.detach()})))}})))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}])}(),w=function(){var e=_createClass2((function e(t,n,r,i){var o=this;_classCallCheck2(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this.noop=function(){return new m},this.close=function(e){return new v(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new _(o._viewportRuler,o._document)},this.reposition=function(e){return new C(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=i}));return e.ngInjectableDef=Object(a["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(a["\u0275\u0275inject"])(i.e),Object(a["\u0275\u0275inject"])(i.i),Object(a["\u0275\u0275inject"])(a.NgZone),Object(a["\u0275\u0275inject"])(o.e))},token:e,providedIn:"root"}),e}(),k=_createClass2((function e(t){if(_classCallCheck2(this,e),this.scrollStrategy=new m,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];void 0!==t[i]&&(this[i]=t[i])}})),E=_createClass2((function e(t,n,r,i,o){_classCallCheck2(this,e),this.offsetX=r,this.offsetY=i,this.panelClass=o,this.originX=t.originX,this.originY=t.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY})),S=_createClass2((function e(t,n){_classCallCheck2(this,e),this.connectionPair=t,this.scrollableViewProperties=n}));function O(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid ".concat(e,' "').concat(t,'". Expected "top", "bottom" or "center".'))}function x(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid ".concat(e,' "').concat(t,'". Expected "start", "end" or "center".'))}var P=function(){var e=function(){return _createClass2((function e(t){var n=this;
1_classCallCheck2(this,e),this._attachedOverlays=[],this._keydownListener=function(e){for(var t=n._attachedOverlays,r=t.length-1;r>-1;r--)if(t[r]._keydownEventSubscriptions>0){t[r]._keydownEvents.next(e);break}},this._document=t}),[{key:"ngOnDestroy",value:function(){this._detach()}},{key:"add",value:function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)}},{key:"remove",value:function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()}},{key:"_detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}])}();return e.ngInjectableDef=Object(a["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(a["\u0275\u0275inject"])(o.e))},token:e,providedIn:"root"}),e}(),T=function(){var e=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._document=t}),[{key:"ngOnDestroy",value:function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){for(var e=this._document.getElementsByClassName("cdk-overlay-container"),t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t]);var n=this._document.createElement("div");n.classList.add("cdk-overlay-container"),this._document.body.appendChild(n),this._containerElement=n}}])}();return e.ngInjectableDef=Object(a["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(a["\u0275\u0275inject"])(o.e))},token:e,providedIn:"root"}),e}(),B=function(){return _createClass2((function e(t,n,r,i,o,a,c,h){var d=this;_classCallCheck2(this,e),this._portalOutlet=t,this._host=n,this._pane=r,this._config=i,this._ngZone=o,this._keyboardDispatcher=a,this._document=c,this._location=h,this._backdropElement=null,this._backdropClick=new s.a,this._attachments=new s.a,this._detachments=new s.a,this._locationChanges=l.a.EMPTY,this._backdropClickHandler=function(e){return d._backdropClick.next(e)},this._keydownEventsObservable=new u.a((function(e){var t=d._keydownEvents.subscribe(e);return d._keydownEventSubscriptions++,function(){t.unsubscribe(),d._keydownEventSubscriptions--}}
1)),this._keydownEvents=new s.a,this._keydownEventSubscriptions=0,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}),[{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}},{key:"attach",value:function(e){var t=this,n=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(h.a)(1)).subscribe((function(){t.hasAttached()&&t.updatePosition()})),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe((function(){return t.dispose()}))),n}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),e}}},{key:"dispose",value:function(){var e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick.asObservable()}},{key:"attachments",value:function(){return this._attachments.asObservable()}},{key:"detachments",value:function(){return this._detachments.asObservable()}},{key:"keydownEvents",value:function(){return this._keydownEventsObservable}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(e){this._config=Object.assign({},this._config,e),this._updateElementSize()}},{key:"setDirection",value:function(e){this._config=Object.assign({},this._config,{direction:e}),this._updateElementDirection()}},{key:"addPanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!0)}},{key:"removePanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!1)}},{key:"getDirection",value:function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}},{key:"updateScrollStrategy",value:function(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var e=this._pane.style;e.width=Object(r.d)(this._config.width),e.height=Object(r.d)(this._config.height),e.minWidth=Object(r.d)(this._config.minWidth),e.minHeight=Object(r.d)(this._config.minHeight),e.maxWidth=Object(r.d)(this._config.maxWidth),e.maxHeight=Object(r.d)(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(e){this._pane.style.pointerEvents=e?"auto":"none"}},{key:"_attachBackdrop",value:function(){var e=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){e._backdropElement&&e._backdropElement.classList.add("cdk-overlay-backdrop-showing")}))})):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var e,t=this,n=this._backdropElement;if(n){var r=function(){n&&(n.removeEventListener("click",t._backdropClickHandler),n.removeEventListener("transitionend",r),n.parentNode&&n.parentNode.removeChild(n)),t._backdropElement==n&&(t._backdropElement=null),t._config.backdropClass&&t._toggleClasses(n,t._config.backdropClass,!1),clearTimeout(e)};n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular((function(){n.addEventListener("transitionend",r)})),n.style.pointerEvents="none",e=this._ngZone.runOutsideAngular((function(){return setTimeout(r,500)}))}}},{key:"_toggleClasses",value:function(e,t,n){var i=e.classList;Object(r.b)(t).forEach((function(e){e&&(n?i.add(e):i.remove(e))}))}},{key:"_detachContentWhenStable",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){var t=e._ngZone.onStable.asObservable().pipe(Object(d.a)(Object(c.a)(e._attachments,e._detachments))).subscribe((function(){e._pane&&e._host&&0!==e._pane.children.length||(e._pane&&e._config.panelClass&&e._toggleClasses(e._pane,e._config.panelClass,!1),e._host&&e._host.parentElement&&(e._previousHostParent=e._host.parentElement,e._previousHostParent.removeChild(e._host)),t.unsubscribe())}))}))}},{key:"_disposeScrollStrategy",value:function(){var e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}])}(),D=function(){return _createClass2((function e(t,n,r,i,o){_classCallCheck2(this,e),this._viewportRuler
1=n,this._document=r,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new s.a,this._resizeSubscription=l.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}),[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){var t=this;if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe((function(){t._isInitialRender=!0,t.apply()}))}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var e,t,n=this._originRect,r=this._overlayRect,i=this._viewportRect,o=[],a=_createForOfIteratorHelper2(this._preferredPositions);try{for(a.s();!(t=a.n()).done;){var s=t.value,l=this._getOriginPoint(n,s),u=this._getOverlayPoint(l,r,s),c=this._getOverlayFit(u,r,i,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(c,u,i)?o.push({position:s,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!e||e.overlayFit.visibleArea<c.visibleArea)&&(e={overlayFit:c,overlayPoint:u,originPoint:l,position:s,overlayRect:r})}}catch(A){a.e(A)}finally{a.f()}if(o.length){var h,d=null,f=-1,p=_createForOfIteratorHelper2(o);try{for(p.s();!(h=p.n()).done;
1){var g=h.value,_=g.boundingBoxRect.width*g.boundingBoxRect.height*(g.position.weight||1);_>f&&(f=_,d=g)}}catch(A){p.e(A)}finally{p.f()}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&M(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var r=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==t.originX?r:i}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var r,i;return r="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,i="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+r,y:e.y+i}}},{key:"_getOverlayFit",value:function(e,t,n,r){var i=e.x,o=e.y,a=this._getOffset(r,"x"),s=this._getOffset(r,"y");a&&(i+=a),s&&(o+=s);var l=0-o,u=o+t.height-n.height,c=this._subtractOverflows(t.width,0-i,i+t.width-n.width),h=this._subtractOverflows(t.height,l,u),d=c*h;return{visibleArea:d,isCompletelyWithinViewport:t.width*t.height===d,fitsInViewportVertically:h===t.height,fitsInViewportHorizontally:c==t.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var r=n.bottom-t.y,i=n.right-t.x,o=this._overlayRef.getConfig().minHeight,a=this._overlayRef.getConfig().minWidth,s=e.fitsInViewportHorizontally||null!=a&&a<=i;return(e.fitsInViewportVertically||null!=o&&o<=r)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var r,i,o=this._viewportRect,a=Math.max(e.x+t.width-o.right,0),s=Math.max(e.y+t.height-o.bottom,0),l=Math.max(o.top-n.top-e.y,0),u=Math.max(o.left-n.left-e.x,0);return r=t.width<=o.width?u||-a:e.x<this._viewportMargin?o.left-n.left-e.x:0,i=t.height<=o.height?l||-s:e.y<this._viewportMargin?o.top-n.top-e.y:0,this._previousPushAmount={x:r,y:i},{x:e.x+r,y:e.y+i}}},{key:"_applyPosition",value:function(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){var n=this._getScrollVisibility(),r=new S(e,n);this._positionChanges.next(r)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var i=0;i<n.length;i++)n[i].style.transformOrigin="".concat(t," ").concat(r)}}},{key:"_calculateBoundingBoxRect",value:function(e,t){var n,r,i,o,a,s,l=this._viewportRect,u=this._isRtl();
1if("top"===t.overlayY)r=e.y,n=l.height-r+this._viewportMargin;else if("bottom"===t.overlayY)i=l.height-e.y+2*this._viewportMargin,n=l.height-i+this._viewportMargin;else{var c=Math.min(l.bottom-e.y+l.top,e.y),h=this._lastBoundingBoxSize.height;n=2*c,r=e.y-c,n>h&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-h/2)}if("end"===t.overlayX&&!u||"start"===t.overlayX&&u)s=l.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!u||"end"===t.overlayX&&u)a=e.x,o=l.right-e.x;else{var d=Math.min(l.right-e.x+l.left,e.x),f=this._lastBoundingBoxSize.width;o=2*d,a=e.x-d,o>f&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-f/2)}return{top:r,left:a,bottom:i,right:s,width:o,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="",i.width=i.height="100%";else{var o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Object(r.d)(n.height),i.top=Object(r.d)(n.top),i.bottom=Object(r.d)(n.bottom),i.width=Object(r.d)(n.width),i.left=Object(r.d)(n.left),i.right=Object(r.d)(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=Object(r.d)(o)),a&&(i.maxWidth=Object(r.d)(a))}this._lastBoundingBoxSize=n,M(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){M(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){M(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={};if(this._hasExactPosition()){var r=this._viewportRuler.getViewportScrollPosition();M(n,this._getExactOverlayY(t,e,r)),M(n,this._getExactOverlayX(t,e,r))}else n.position="static";var i="",o=this._getOffset(t,"x"),a=this._getOffset(t,"y");o&&(i+="translateX(".concat(o,"px) ")),a&&(i+="translateY(".concat(a,"px)")),n.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),M(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:null,bottom:null},o=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=a,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=Object(r.d)(o.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:null,right:null},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=Object(r.d)(o.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(e){return e.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:b(e,n),isOriginOutsideView:y(e,n),isOverlayClipped:b(t,n),isOverlayOutsideView:y(t,n)}}},{key:"_subtractOverflows",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 n.reduce((function(e,t){return e-Math.max(t,0)}),e)}},{key:"_getNarrowedViewportRect",value:function(){var e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}},{key:"_validatePositions",value:function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach((function(e){x("originX",e.originX),O("originY",e.originY),x("overlayX",e.overlayX),O("overlayY",e.overlayY)}))}},{key:"_addPanelClasses",value:function(e){var t=this;this._pane&&Object(r.b)(e).forEach((function(e){""!==e&&-1===t._appliedPanelClasses.indexOf(e)&&(t._appliedPanelClasses.push(e),t._pane.classList.add(e))}))}},{key:"_clearPanelClasses",value:function(){var e=this;
1this._pane&&(this._appliedPanelClasses.forEach((function(t){e._pane.classList.remove(t)})),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var e=this._origin;if(e instanceof a.ElementRef)return e.nativeElement.getBoundingClientRect();if(e instanceof HTMLElement)return e.getBoundingClientRect();var t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}])}();function M(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var I=function(){return _createClass2((function e(t,n,r,i,o,a,s){_classCallCheck2(this,e),this._preferredPositions=[],this._positionStrategy=new D(r,i,o,a,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,n)}),[{key:"_isRtl",get:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"onPositionChange",get:function(){return this._positionStrategy.positionChanges}},{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}},{key:"dispose",value:function(){this._positionStrategy.dispose()}},{key:"detach",value:function(){this._positionStrategy.detach()}},{key:"apply",value:function(){this._positionStrategy.apply()}},{key:"recalculateLastPosition",value:function(){this._positionStrategy.reapplyLastPosition()}},{key:"withScrollableContainers",value:function(e){this._positionStrategy.withScrollableContainers(e)}},{key:"withFallbackPosition",value:function(e,t,n,r){var i=new E(e,t,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}},{key:"withOffsetX",value:function(e){return this._positionStrategy.withDefaultOffsetX(e),this}},{key:"withOffsetY",value:function(e){return this._positionStrategy.withDefaultOffsetY(e),this}},{key:"withLockedPosition",value:function(e){return this._positionStrategy.withLockedPosition(e),this}},{key:"withPositions",value:function(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(e){return this._positionStrategy.setOrigin(e),this}}])}(),R=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}),[{key:"attach",value:function(e){var t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}},{key:"top",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();e.position=this._cssPosition,e.marginLeft="100%"===n.width?"0":this._leftOffset,e.marginTop="100%"===n.height?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,"100%"===n.width?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center"
1:"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems="100%"===n.height?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}])}(),F=function(){var e=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=i}),[{key:"global",value:function(){return new R}},{key:"connectedTo",value:function(e,t,n){return new I(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new D(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}])}();return e.ngInjectableDef=Object(a["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(a["\u0275\u0275inject"])(i.i),Object(a["\u0275\u0275inject"])(o.e),Object(a["\u0275\u0275inject"])(f.a),Object(a["\u0275\u0275inject"])(T))},token:e,providedIn:"root"}),e}(),L=0,U=function(){return _createClass2((function e(t,n,r,i,o,a,s,l,u,c){_classCallCheck2(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=r,this._positionBuilder=i,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=l,this._directionality=u,this._location=c}),[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),r=this._createPortalOutlet(n),i=new k(e);return i.direction=i.direction||this._directionality.value,new B(r,t,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+L++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(a.ApplicationRef)),new p.d(e,this._componentFactoryResolver,this._appRef,this._injector)}}])}(),N=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],j=new a.InjectionToken("cdk-connected-overlay-scroll-strategy"),H=_createClass2((function e(t){_classCallCheck2(this,e),this.elementRef=t})),Q=function(){return _createClass2((function e(t,n,r,i,o){_classCallCheck2(this,e),this._overlay=t,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=l.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new a.EventEmitter,this.positionChange=new a.EventEmitter,this.attach=new a.EventEmitter,this.detach=new a.EventEmitter,this.overlayKeydown=new a.EventEmitter,this._templatePortal=new p.g(n,r),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}),[{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Object(r.c)(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=Object(r.c)(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions}
1,set:function(e){this._flexibleDimensions=Object(r.c)(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=Object(r.c)(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=Object(r.c)(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}},{key:"ngOnChanges",value:function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=N),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe((function(t){e.overlayKeydown.next(t),t.keyCode!==g.e||Object(g.o)(t)||(t.preventDefault(),e._detachOverlay())}))}},{key:"_buildConfig",value:function(){var e=this._position=this._createPositionStrategy(),t=new k({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map((function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}}));return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)}},{key:"_createPositionStrategy",value:function(){var e=this,t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe((function(t){return e.positionChange.emit(t)})),t}},{key:"_attachOverlay",value:function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(t){e.backdropClick.emit(t)})):this._backdropSubscription.unsubscribe()}},{key:"_detachOverlay",value:function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}])}();function V(e){return function(){return e.scrollStrategies.reposition()}}var K=_createClass2((function e(){_classCallCheck2(this,e)}))},SJ4l:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"transform",value:function(e){return e?e.split(/(?=[A-Z])/).join(" "):""}}])}()},SVse:function(e,t,n){"use strict";n.d(t,"G",(function(){return K})),n.d(t,"o",(function(){return z})),n.d(t,"p",(function(){return W})),n.d(t,"H",(function(){return q})),n.d(t,"c",(function(){return Ce})),n.d(t,"l",(function(){return X})),n.d(t,"m",(function(){return Z})),n.d(t,"n",(function(){return ee})),n.d(t,"q",(function(){return ue})),n.d(t,"r",(function(){return ie})),n.d(t,"s",(function(){return oe})),n.d(t,"t",(function(){return ae})),n.d(t,"u",(function(){return ce})),n.d(t,"e",(function(){return we})),n.d(t,"b",(function(){return ge})),n.d(t,"f",(function(){return ve})),n.d(t,"d",(function(){return be})),n.d(t,"x",(function(){return Ae})),n.d(t,"h",(function(){return me})),n.d(t,"F",(function(){return ke})),n.d(t,"z",(function(){return Ee})),n.d(t,"A",(function(){return Se})),n.d(t,"y",(function(){return Oe})),n.d(t,"C",(function(){return G})),n.d(t,"B",(function(){return Y})),n.d(t,"E",(function(){return le})),n.d(t,"D",(function(){return se})),n.d(t,"w",(function(){return i})),n.d(t,"i",(function(){return o}
1)),n.d(t,"k",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"g",(function(){return c})),n.d(t,"v",(function(){return h})),n.d(t,"j",(function(){return l}));var r=n("8Y7J"),i=_createClass2((function e(){_classCallCheck2(this,e)})),o=new r.InjectionToken("Location Initialized"),a=_createClass2((function e(){_classCallCheck2(this,e)})),s=new r.InjectionToken("appBaseHref"),l=function(){function e(t,n){var i=this;_classCallCheck2(this,e),this._subject=new r.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=t;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=e.stripTrailingSlash(u(o)),this._platformStrategy.onPopState((function(e){i._subject.emit({url:i.path(!0),pop:!0,state:e.state,type:e.type})}))}return _createClass2(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(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+e.normalizeQueryParams(n))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,u(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+e.normalizeQueryParams(n)),r)}},{key:"replaceState",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+e.normalizeQueryParams(n)),r)}},{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})}}],[{key:"normalizeQueryParams",value:function(e){return e&&"?"!==e[0]?"?"+e:e}},{key:"joinWithSlash",value:function(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}},{key:"stripTrailingSlash",value:function(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 u(e){return e.replace(/\/index.html$/,"")}var c=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t))._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return _inherits2(t,e),_createClass2(t,[{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=l.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(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+l.normalizeQueryParams(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()}}])}(a),h=function(e){function t(e,n){var r;if(_classCallCheck2(this,t),(r=_callSuper(this,t))._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)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 r._baseHref=n,r}
1return _inherits2(t,e),_createClass2(t,[{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 l.joinWithSlash(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+l.normalizeQueryParams(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+l.normalizeQueryParams(r));this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}])}(a),d={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,0],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",0],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",0],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",0],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",0],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UZS:[void 0,void 0,0],VEF:[void 0,"Bs"],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},f=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),p=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}(),g=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),_=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),A=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),v=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}();function m(e,t){return E(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].DateFormat],t)}function y(e,t){return E(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].TimeFormat],t)}function b(e,t){return E(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].DateTimeFormat],t)}function C(e,t){var n=Object(r["\u0275findLocaleData"])(e),i=n[r["\u0275LocaleDataIndex"].NumberSymbols][t];if(void 0===i){if(t===v.CurrencyDecimal)return n[r["\u0275LocaleDataIndex"].NumberSymbols][v.Decimal];if(t===v.CurrencyGroup)return n[r["\u0275LocaleDataIndex"].NumberSymbols][v.Group]}return i}var w=r["\u0275getLocalePluralCase"];function k(e){if(!e[r["\u0275LocaleDataIndex"].ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[r["\u0275LocaleDataIndex"].LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function E(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function S(e){var t=_slicedToArray2(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var O=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,x={},P=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,T=function(){var e={Short:0,ShortGMT:1,Long:2,Extended:3};return e[e.Short]="Short",e[e.ShortGMT]="ShortGMT",e[e.Long]="Long",e[e.Extended]="Extended",e}(),B=function(){var e={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return e[e.FullYear]="FullYear",e[e.Month]="Month",e[e.Date]="Date",e[e.Hours]="Hours",e[e.Minutes]="Minutes",e[e.Seconds]="Seconds",e[e.FractionalSeconds]="FractionalSeconds",e[e.Day]="Day",e}(),D=function(){var e={DayPeriods:0,Days:1,Months:2,Eras:3};return e[e.DayPeriods]="DayPeriods",e[e.Days]="Days",e[e.Months]="Months",e[e.Eras]="Eras",e}();function M(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=n));for(var a=String(e);a.length<t;
1)a="0"+a;return r&&(a=a.substr(a.length-t)),o+a}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,a){var s,l=function(e,t){switch(e){case B.FullYear:return t.getFullYear();case B.Month:return t.getMonth();case B.Date:return t.getDate();case B.Hours:return t.getHours();case B.Minutes:return t.getMinutes();case B.Seconds:return t.getSeconds();case B.FractionalSeconds:return t.getMilliseconds();case B.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,o);if((n>0||l>-n)&&(l+=n),e===B.Hours)0===l&&-12===n&&(l=12);else if(e===B.FractionalSeconds)return s=t,I(l,3).substr(0,s);var u=C(a,v.MinusSign);return I(l,t,u,r,i)}}function F(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,a){return function(e,t,n,i,o,a){switch(n){case D.Months:return function(e,t,n){var i=Object(r["\u0275findLocaleData"])(e),o=E([i[r["\u0275LocaleDataIndex"].MonthsFormat],i[r["\u0275LocaleDataIndex"].MonthsStandalone]],t);return E(o,n)}(t,o,i)[e.getMonth()];case D.Days:return function(e,t,n){var i=Object(r["\u0275findLocaleData"])(e),o=E([i[r["\u0275LocaleDataIndex"].DaysFormat],i[r["\u0275LocaleDataIndex"].DaysStandalone]],t);return E(o,n)}(t,o,i)[e.getDay()];case D.DayPeriods:var s=e.getHours(),l=e.getMinutes();if(a){var u,c=function(e){var t=Object(r["\u0275findLocaleData"])(e);return k(t),(t[r["\u0275LocaleDataIndex"].ExtraData][2]||[]).map((function(e){return"string"==typeof e?S(e):[S(e[0]),S(e[1])]}))}(t),h=function(e,t,n){var i=Object(r["\u0275findLocaleData"])(e);k(i);var o=E([i[r["\u0275LocaleDataIndex"].ExtraData][0],i[r["\u0275LocaleDataIndex"].ExtraData][1]],t)||[];return E(o,n)||[]}(t,o,i);if(c.forEach((function(e,t){if(Array.isArray(e)){var n=e[0],r=n.hours,i=n.minutes,o=e[1],a=o.hours,c=o.minutes;s>=r&&l>=i&&(s<a||s===a&&l<c)&&(u=h[t])}else{var d=e.hours,f=e.minutes;d===s&&f===l&&(u=h[t])}})),u)return u}return function(e,t,n){var i=Object(r["\u0275findLocaleData"])(e),o=E([i[r["\u0275LocaleDataIndex"].DayPeriodsFormat],i[r["\u0275LocaleDataIndex"].DayPeriodsStandalone]],t);return E(o,n)}(t,o,i)[s<12?0:1];case D.Eras:return function(e,t){return E(Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(o,a,e,t,n,i)}}function L(e){return function(t,n,r){var i=-1*r,o=C(n,v.MinusSign),a=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case T.Short:return(i>=0?"+":"")+I(a,2,o)+I(Math.abs(i%60),2,o);case T.ShortGMT:return"GMT"+(i>=0?"+":"")+I(a,1,o);case T.Long:return"GMT"+(i>=0?"+":"")+I(a,2,o)+":"+I(Math.abs(i%60),2,o);case T.Extended:return 0===r?"Z":(i>=0?"+":"")+I(a,2,o)+":"+I(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function U(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r){var i,o,a,s;if(t){var l=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();i=1+Math.floor((u+l)/7)}else{var c=(o=n.getFullYear(),a=new Date(o,0,1).getDay(),new Date(o,0,1+(a<=4?4:11)-a)),h=(s=n,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))).getTime()-c.getTime();i=1+Math.round(h/6048e5)}return I(i,e,C(r,v.MinusSign))}}var N={};function j(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function H(e){return e instanceof Date&&!isNaN(e.valueOf())}var Q=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function V(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var K=new r.InjectionToken("UseV4Plurals"),W=_createClass2((function e(){_classCallCheck2(this,e)})),z=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t)).locale=e,r.deprecatedPluralFn=n,r}return _inherits2(t,e),_createClass2(t,[{key:"getPluralCategory",value:function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):w(t||this.locale)(e)){case p.Zero:return"zero";case p.One:return"one";case p.Two:return"two";case p.Few:return"few";case p.Many:return"many";default:return"other"}}}])}(W);function q(e,t){t=encodeURIComponent(t);var n,r=_createForOfIteratorHelper2(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],l=a[1];if(s.trim()===t)return decodeURIComponent(l)}}catch(u){r.e(u)}finally{r.f()}return null}var Y=_createClass2((function e(){_classCallCheck2(this,e)})),G=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=r,this._renderer=i,this._initialClasses=[]}),[{key:"getValue",value:function(){return null}},{key:"setClass",value:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"setNgClass",value:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"applyChanges",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r["\u0275stringify"])(e.item));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))}}])}(),X=function(e){function t(e){return _classCallCheck2(this,t),_callSuper(this,t,[e])}
vendor: 4,291 bytes, line 1
1return _inherits2(t,e),_createClass2(t,[{key:"klass",set:function(e){this._delegate.setClass(e)}},{key:"ngClass",set:function(e){this._delegate.setNgClass(e)}},{key:"ngDoCheck",value:function(){this._delegate.applyChanges()}}])}(function(){var e=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._delegate=t}),[{key:"getValue",value:function(){return this._delegate.getValue()}}])}();return e.ngDirectiveDef=void 0,e}()),J=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}),[{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}}])}(),Z=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOfDirty=!0,this._differ=null}),[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){Object(r.isDevMode)()&&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/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information.")),this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=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 J(null,t._ngForOf,-1,-1),null===i?void 0:i),a=new $(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 l=new $(e,s);n.push(l)}}));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:"ngTemplateContextGuard",value:function(e,t){return!0}}])}(),$=_createClass2((function e(t,n){_classCallCheck2(this,e),this.record=t,this.view=n})),ee=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._viewContainer=t,this._context=new te,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}),[{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){ne("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){ne("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}},{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)))}}])}(),te=_createClass2((function e(){_classCallCheck2(this,e),this.$implicit=null,this.ngIf=null}));function ne(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Object(r["\u0275stringify"])(t),"'."))}var re=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._viewContainerRef
vendor: 5,898 bytes, line 1
1=t,this._templateRef=n,this._created=!1}),[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}])}(),ie=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}),[{key:"ngSwitch",set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}},{key:"_matchCase",value:function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}},{key:"_updateDefaultCases",value:function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}])}(),oe=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.ngSwitch=r,r._addCase(),this._view=new re(t,n)}),[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}])}(),ae=_createClass2((function e(t,n,r){_classCallCheck2(this,e),r._addDefault(new re(t,n))})),se=_createClass2((function e(){_classCallCheck2(this,e)})),le=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._ngEl=t,this._differs=n,this._renderer=r}),[{key:"getValue",value:function(){return null}},{key:"setNgStyle",value:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}},{key:"applyChanges",value:function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}},{key:"_applyChanges",value:function(e){var t=this;e.forEachRemovedItem((function(e){return t._setStyle(e.key,null)})),e.forEachAddedItem((function(e){return t._setStyle(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._setStyle(e.key,e.currentValue)}))}},{key:"_setStyle",value:function(e,t){var n=_slicedToArray2(e.split("."),2),r=n[0],i=n[1];null!=(t=null!=t&&i?"".concat(t).concat(i):t)?this._renderer.setStyle(this._ngEl.nativeElement,r,t):this._renderer.removeStyle(this._ngEl.nativeElement,r)}}])}(),ue=function(e){function t(e){return _classCallCheck2(this,t),_callSuper(this,t,[e])}return _inherits2(t,e),_createClass2(t,[{key:"ngStyle",set:function(e){this._delegate.setNgStyle(e)}},{key:"ngDoCheck",value:function(){this._delegate.applyChanges()}}])}(function(){var e=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._delegate=t}),[{key:"getValue",value:function(){return this._delegate.getValue()}}])}();return e.ngDirectiveDef=void 0,e}()),ce=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}),[{key:"ngOnChanges",value:function(e){this._shouldRecreateView(e)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):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=_createForOfIteratorHelper2(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]}}}])}();function he(e,t){return Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(Object(r["\u0275stringify"])(e),"'"))}var de=function(){return _createClass2((function e(){_classCallCheck2(this,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()}}])}(),fe=new(function(){return _createClass2((function e(){_classCallCheck2(this,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){}}])}()),pe=new de,ge=function(){function e(t){_classCallCheck2(this,e),this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return _createClass2(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)):Object(r["\u0275looseIdentical"])(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.WrappedValue.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(Object(r["\u0275isProm
1ise"])(t))return fe;if(Object(r["\u0275isObservable"])(t))return pe;throw he(e,t)}},{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
vendor: 7,066 bytes, line 1
1=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g
vendor: 4,674 bytes, line 1
1,Ae=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,[{key:"transform",value:function(t){if(!t)return t;if("string"!=typeof t)throw he(e,t);return t.replace(_e,(function(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()}))}}])}(),ve=function(){function e(t){_classCallCheck2(this,e),this.locale=t}return _createClass2(e,[{key:"transform",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mediumDate",i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return function(e,t,n,i){var o=function(e){if(H(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t,n=parseFloat(e);if(!isNaN(e-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var r=_slicedToArray2(e.split("-").map((function(e){return+e})),3),i=r[0],o=r[1],a=r[2];return new Date(i,o-1,a)}if(t=e.match(O))return function(e){var t=new Date(0),n=0,r=0,i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,s=Number(e[5]||0)-r,l=Number(e[6]||0),u=Math.round(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,l,u),t}(t)}var s=new Date(e);if(!H(s))throw new Error('Unable to convert "'.concat(e,'" into a date'));return s}(e);t=function e(t,n){var i=function(e){return Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].LocaleId]}(t);if(x[i]=x[i]||{},x[i][n])return x[i][n];var o="";switch(n){case"shortDate":o=m(t,A.Short);break;case"mediumDate":o=m(t,A.Medium);break;case"longDate":o=m(t,A.Long);break;case"fullDate":o=m(t,A.Full);break;case"shortTime":o=y(t,A.Short);break;case"mediumTime":o=y(t,A.Medium);break;case"longTime":o=y(t,A.Long);break;case"fullTime":o=y(t,A.Full);break;case"short":var a=e(t,"shortTime"),s=e(t,"shortDate");o=M(b(t,A.Short),[a,s]);break;case"medium":var l=e(t,"mediumTime"),u=e(t,"mediumDate");o=M(b(t,A.Medium),[l,u]);break;case"long":var c=e(t,"longTime"),h=e(t,"longDate");o=M(b(t,A.Long),[c,h]);break;case"full":var d=e(t,"fullTime"),f=e(t,"fullDate");o=M(b(t,A.Full),[d,f])}return o&&(x[i][n]=o),o}(n,t)||t;for(var a,s=[];t;){if(!(a=P.exec(t))){s.push(t);break}var l=(s=s.concat(a.slice(1))).pop();if(!l)break;t=l}var u=o.getTimezoneOffset();i&&(u=j(i,u),o=function(e,t,n){var r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(j(t,r)-r))}(o,i));var c="";return s.forEach((function(e){var t=function(e){if(N[e])return N[e];var t;switch(e){case"G":case"GG":case"GGG":t=F(D.Eras,_.Abbreviated);break;case"GGGG":t=F(D.Eras,_.Wide);break;case"GGGGG":t=F(D.Eras,_.Narrow);break;case"y":t=R(B.FullYear,1,0,!1,!0);break;case"yy":t=R(B.FullYear,2,0,!0,!0);break;case"yyy":t=R(B.FullYear,3,0,!1,!0);break;case"yyyy":t=R(B.FullYear,4,0,!1,!0);break;case"M":case"L":t=R(B.Month,1,1);break;case"MM":case"LL":t=R(B.Month,2,1);break;case"MMM":t=F(D.Months,_.Abbreviated);break;case"MMMM":t=F(D.Months,_.Wide);break;case"MMMMM":t=F(D.Months,_.Narrow);break;case"LLL":t=F(D.Months,_.Abbreviated,g.Standalone);break;case"LLLL":t=F(D.Months,_.Wide,g.Standalone);break;case"LLLLL":t=F(D.Months,_.Narrow,g.Standalone);break;case"w":t=U(1);break;case"ww":t=U(2);break;case"W":t=U(1,!0);break;case"d":t=R(B.Date,1);break;case"dd":t=R(B.Date,2);break;case"E":case"EE":case"EEE":t=F(D.Days,_.Abbreviated);break;case"EEEE":t=F(D.Days,_.Wide);break;case"EEEEE":t=F(D.Days,_.Narrow);break;case"EEEEEE":t=F(D.Days,_.Short);break;case"a":case"aa":case"aaa":t=F(D.DayPeriods,_.Abbreviated);break;case"aaaa":t=F(D.DayPeriods,_.Wide);break;case"aaaaa":t=F(D.DayPeriods,_.Narrow);break;case"b":case"bb":case"bbb":t=F(D.DayPeriods,_.Abbreviated,g.Standalone,!0);break;case"bbbb":t=F(D.DayPeriods,_.Wide,g.Standalone,!0);break;case"bbbbb":t=F(D.DayPeriods,_.Narrow,g.Standalone,!0);break;case"B":case"BB":case"BBB":t=F(D.DayPeriods,_.Abbreviated,g.Format,!0);break;case"BBBB":t=F(D.DayPeriods,_.Wide,g.Format,!0);break;case"BBBBB":t=F(D.DayPeriods,_.Narrow,g.Format,!0);break;case"h":t=R(B.Hours,1,-12);break;case"hh":t=R(B.Hours,2,-12);break;case"H":t=R(B.Hours,1);break;case"HH":t=R(B.Hours,2);break;case"m":t=R(B.Minutes,1);break;case"mm":t=R(B.Minutes,2);break;case"s":t=R(B.Seconds,1);break;case"ss":t=R(B.Seconds,2);break;case"S":t=R(B.FractionalSeconds,1);break;case"SS":t=R(B.FractionalSeconds,2);break;case"SSS":t=R(B.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=L(T.Short);break;case"ZZZZZ":t=L(T.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=L(T.ShortGMT);break;
1case"OOOO":case"ZZZZ":case"zzzz":t=L(T.Long);break;default:return null}return N[e]=t,t}(e);c+=t?t(o,n,u):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),c}(t,n,o||this.locale,i)}catch(a){throw he(e,a.message)}}}])}(),me=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.differs=t,this.keyValues=[]}),[{key:"transform",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ye;if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var r=this.differ.diff(e);return r&&(this.keyValues=[],r.forEachItem((function(e){t.keyValues.push({key:e.key,value:e.currentValue})})),this.keyValues.sort(n)),this.keyValues}}])}();function ye(e,t){var n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;var i=String(n),o=String(r);return i==o?0:i<o?-1:1}var be=function(){function e(t){_classCallCheck2(this,e),this._locale=t}return _createClass2(e,[{key:"transform",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"symbol",o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;if(function(e){return null==e||""===e||e!=e}(t))return null;a=a||this._locale,"boolean"==typeof i&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),i=i?"symbol":"code");var s=n||"USD";"code"!==i&&(s="symbol"===i||"symbol-narrow"===i?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",i=function(e){return Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].Currencies]}(n)[e]||d[e]||[],o=i[1];return"narrow"===t&&"string"==typeof o?o:i[0]||e}(s,"symbol"===i?"wide":"narrow",a):i);try{return function(e,t,n,i,o){var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],o=r[1],a=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],s=a[0],l=a[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var u=0;u<l.length;u++){var c=l.charAt(u);"0"===c?n.minFrac=n.maxFrac=u+1:"#"===c?n.maxFrac=u+1:n.posSuf+=c}var h=s.split(",");if(n.gSize=h[1]?h[1].length:0,n.lgSize=h[2]||h[1]?(h[2]||h[1]).length:0,o){var d=i.length-n.posPre.length-n.posSuf.length,f=o.indexOf("#");n.negPre=o.substr(0,f).replace(/'/g,""),n.negSuf=o.substr(f+d).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}(function(e,t){return Object(r["\u0275findLocaleData"])(e)[r["\u0275LocaleDataIndex"].NumberFormats][t]}(t,f.Currency),C(t,v.MinusSign));return a.minFrac=function(e){var t,n=d[e];return n&&(t=n[2]),"number"==typeof t?t:2}(i),a.maxFrac=a.minFrac,function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s="",l=!1;if(isFinite(e)){var u=function(e){var t,n,r,i,o,a=Math.abs(e)+"",s=0;for((n=a.indexOf("."))>-1&&(a=a.replace(".","")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;"0"===a.charAt(r);r++);if(r===(o=a.length))t=[0],n=1;else{for(o--;"0"===a.charAt(o);)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=Number(a.charAt(r))}return n>22&&(t=t.splice(0,21),s=n-1,n=1),{digits:t,exponent:s,integerLen:n}}(e);a&&(u=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(u));var c=t.minInt,h=t.minFrac,d=t.maxFrac;if(o){var f=o.match(Q);if(null===f)throw new Error(o+" is not a valid digit info");var p=f[1],g=f[3],_=f[5];null!=p&&(c=V(p)),null!=g&&(h=V(g)),null!=_?d=V(_):null!=g&&h>d&&(d=h)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction (".concat(t,") is higher than the maximum (").concat(n,")."));var r=e.digits,i=r.length-e.integerLen,o=Math.min(Math.max(t,i),n),a=o+e.integerLen,s=r[a];if(a>0){r.splice(Math.max(e.integerLen,a));for(var l=a;l<r.length;l++)r[l]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,a=o+1),r[0]=0;for(var u=1;u<a;u++)r[u]=0}if(s>=5)if(a-1<0){for(var c=0;c>a;c--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[a-1]++;for(;i<Math.max(0,o);i++)r.push(0);var h=0!==o,d=t+e.integerLen,f=r.reduceRight((function(e,t,n,r){return r[n]=(t+=e)<10?t:t-10,h&&(0===r[n]&&n>=d?r.pop():h=!1),t>=10?1:0}),0);f&&(r.unshift(f),e.integerLen++)}(u,h,d);var A=u.digits,m=u.integerLen,y=u.exponent,b=[];for(l=A.every((function(e){return!e}));m<c;m++)A.unshift(0);for(;m<0;m++)A.unshift(0);m>0?b=A.splice(m,A.length):(b=A,A=[0]);var w=[];for(A.length>=t.lgSize&&w.unshift(A.splice(-t.lgSize,A.length).join(""));A.length>t.gSize;)w.unshift(A.splice(-t.gSize,A.length).join(""));A.length&&w.unshift(A.join("")),s=w.join(C(n,r)),b.length&&(s+=C(n,i)+b.join("")),y&&(s+=C(n,v.Exponential)+"+"+y)}else s=C(n,v.Infinity);return s=e<0&&!l?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}(e,a,t,v.CurrencyGroup,v.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","")}(function(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}(t),a,s,n,o)}catch(l){throw he(e,l.message)}}}])}(),Ce=_createClass2((function e(){_classCallCheck2(this,e)})),we=new r.InjectionToken("DocumentToken"),ke="browser";function Ee(e){return e===ke}function Se(e){return"server"===e}var Oe=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e.ngInjectableDef=Object(r["\u0275\u0275defineInjectable"])({token:e,providedIn:"root",factory:function(){return new xe(Object(r["\u0275\u0275inject"])(we),window,Object(r["\u0275\u0275inject"])(r.ErrorHandler))}}),e}(),xe=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.document=t,this.window=n,this.errorHandler=r,this.offset=function(){return[0,0]}}),[{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}}}])}()},SeVD:function(e,t,n){"use strict";var r=n("ngJS"),i=n("NJ4a"),o=n("Lhse"),a=n("kJWO"),s=n("I55L"),l=n("c2HN"),u=n("XoHu");n.d(t,"a",(function(){return c}));var c=function(e){if(e&&"function"==typeof e[a.a])return c=e,function(e){var t=c[a.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(s.a)(e))return Object(r.a)(e);if(Object(l.a)(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,i.a),e};
1if(e&&"function"==typeof e[o.a])return t=e,function(e){for(var n=t[o.a]();;){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,c,h=Object(u.a)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(h," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},SxV6:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("sVev"),i=n("pLZG"),o=n("IzEk"),a=n("xbPD"),s=n("XDbj"),l=n("SpAZ");function u(e,t){var n=arguments.length>=2;return function(u){return u.pipe(e?Object(i.a)((function(t,n){return e(t,n,u)})):l.a,Object(o.a)(1),n?Object(a.a)(t):Object(s.a)((function(){return new r.a})))}}},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),i=n("z+Ro"),o=n("bHdf"),a=n("yCtX");function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var s=Number.POSITIVE_INFINITY,l=null,u=t[t.length-1];return Object(i.a)(u)?(l=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(s=t.pop())):"number"==typeof u&&(s=t.pop()),null===l&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(s)(Object(a.a)(t,l))}},Vurf:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("LRne"),i=n("lJxs"),o=n("SxV6"),a=n("JIr8"),s=n("8Y7J"),l=n("Q2+6"),u=function(){var e=function(){return _createClass2((function e(t){var n=this;_classCallCheck2(this,e),this.oidcFacade=t,this.oidcFacade.getOidcUser(),this.user$=this.oidcFacade.identity$.pipe(Object(i.a)((function(e){return n.createProfile(e)})))}),[{key:"init",value:function(){return this.oidcFacade.getOidcUser(),this.oidcFacade.waitForAuthenticationLoaded()}},{key:"waitForAuthenticationLoaded",value:function(){return this.oidcFacade.waitForAuthenticationLoaded()}},{key:"isAuthenticated",value:function(){return this.oidcFacade.identity$.pipe(Object(o.a)(),Object(i.a)((function(e){return!!e&&!e.expired&&!!e.access_token})),Object(a.a)((function(){return Object(r.a)(!1)})))}},{key:"logIn",value:function(e){console.log("Log in"),this.oidcFacade.signinRedirect({data:{returnUrl:e}})}},{key:"logout",value:function(e){console.log("Log out"),this.oidcFacade.signoutRedirect({data:{returnUrl:e}})}},{key:"createProfile",value:function(e){return console.log("Get user",e),e?Object.assign({},e,{profile:Object.assign({},e.profile,{id:e.profile.sub,lastName:e.profile.family_name,firstName:e.profile.given_name,phoneNumber:e.profile.phone_number,email:e.profile.email})}):e}}])}();return e.ngInjectableDef=s["\u0275\u0275defineInjectable"]({factory:function(){return new e(s["\u0275\u0275inject"](l.c))},token:e,providedIn:"root"}),e}()},WMd4:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("EY2u"),i=n("LRne"),o=n("z6cu"),a=function(){var e=function(){function e(t,n,r){_classCallCheck2(this,e),this.kind=t,this.value=n,this.error=r,this.hasValue="N"===t}return _createClass2(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 Object(i.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(r.b)()}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}}])}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},WiJD:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("lJxs"),i=n("sKXY"),o=n("teW0"),a=n("8Y7J"),s=n("IheW"),l=function(){var e=function(e){function t(e){return _classCallCheck2(this,t),_callSuper(this,t,[e])}
1return _inherits2(t,e),_createClass2(t,[{key:"getStaticData",value:function(){var e=this;return this.get(i.a.Configuration+"/static").pipe(Object(r.a)((function(t){return e.mapDates(t)})))}}])}(o.a);return e.ngInjectableDef=a["\u0275\u0275defineInjectable"]({factory:function(){return new e(a["\u0275\u0275inject"](s.c))},token:e,providedIn:"root"}),e}()},XDbj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("sVev"),i=n("7o/Q");function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;return function(t){return t.lift(new a(e))}}var a=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.errorFactory=t}),[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.errorFactory))}}])}(),s=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).errorFactory=n,r.hasValue=!1,r}return _inherits2(t,e),_createClass2(t,[{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)}}])}(i.a);function l(){return new r.a}},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c}));var r=n("HDdC"),i=n("7o/Q"),o=n("quSY"),a=n("9ppp"),s=n("Ylt2"),l=n("2QA8"),u=function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t,[e])).destination=e,n}return _inherits2(t,e),_createClass2(t)}(i.a),c=function(){var e=function(e,t){function n(){var e;return _classCallCheck2(this,n),(e=_callSuper(this,n)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return _inherits2(n,e),_createClass2(n,[{key:t,value:function(){return new u(this)}},{key:"lift",value:function(e){var t=new h(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new a.a;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 a.a;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 a.a;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 a.a;return _superPropGet(n,"_trySubscribe",this,3)([e])}},{key:"_subscribe",value:function(e){if(this.closed)throw new a.a;return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.isStopped?(e.complete(),o.a.EMPTY):(this.observers.push(e),new s.a(this,e))}},{key:"asObservable",value:function(){var e=new r.a;return e.source=this,e}}])}(r.a,l.a);return e.create=function(e,t){return new h(e,t)},e}(),h=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t)).destination=e,r.source=n,r}return _inherits2(t,e),_createClass2(t,[{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):o.a.EMPTY}}])}(c)},XZzK:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e.SET_ORDER_ID="ORDER_SET_ORDER_ID",e.SET_ORDER="ORDER_SET_ORDER",e.SET_STEP="ORDER_SET_STEP",e.SET_PRICE="ORDER_SET_PRICE",e.SET_CONTACT_DETAILS="ORDER_SET_CONTACT_DETAILS",e.SET_PURPOSE="ORDER_SET_PURPOSE",e.SET_NAMES="ORDER_SET_NAMES",e.SET_FURTHER_DETAILS="ORDER_SET_FURTHER_DETAILS",e.SET_ADDRESSES="ORDER_SET_ADDRESSES",e.SET_CONSENT="ORDER_SET_CONSENT",e.SET_PRIORITY="ORDER_SET_PRIORITY",e.SET_DOCUMENTS="ORDER_SET_DOCUMENTS",e.SET_BORN_LOCATION="ORDER_SET_BORN_LOCATION",e.ADD_PAYMENT="ORDER_ADD_PAYMENT",e.EDIT_DOCUMENT="ORDER_EDIT_DOCUMENT",e.DELETE_DOCUMENT="ORDER_DELET
1E_DOCUMENT",e.EMAIL_DELIVERED="ORDER_EMAIL_DELIVERED",e.SMS_DELIVERED="ORDER_SMS_DELIVERED",e.SET_COUPON="ORDER_SET_COUPON",e}({})},Xd0L:function(e,t,n){"use strict";var r=n("8Y7J"),i=n("cUpR"),o=new r.Version("8.2.3"),a=n("KCVW"),s=n("XNiG"),l=n("HDdC"),u=n("/HVE"),c=(n("JX91"),n("5GAg")),h=n("dvZr");n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"n",(function(){return _})),n.d(t,"f",(function(){return g})),n.d(t,"D",(function(){return A})),n.d(t,"B",(function(){return v})),n.d(t,"C",(function(){return m})),n.d(t,"G",(function(){return y})),n.d(t,"E",(function(){return b})),n.d(t,"F",(function(){return C})),n.d(t,"y",(function(){return R})),n.d(t,"p",(function(){return F})),n.d(t,"h",(function(){return k})),n.d(t,"c",(function(){return E})),n.d(t,"g",(function(){return S})),n.d(t,"x",(function(){return M})),n.d(t,"k",(function(){return I})),n.d(t,"d",(function(){return L})),n.d(t,"i",(function(){return U})),n.d(t,"e",(function(){return H})),n.d(t,"o",(function(){return Q})),n.d(t,"s",(function(){return le})),n.d(t,"z",(function(){return ae})),n.d(t,"A",(function(){return se})),n.d(t,"l",(function(){return ie})),n.d(t,"r",(function(){return oe})),n.d(t,"q",(function(){return te})),n.d(t,"j",(function(){return ue})),n.d(t,"w",(function(){return X})),n.d(t,"m",(function(){return Y})),n.d(t,"v",(function(){return G})),n.d(t,"u",(function(){return Z})),n.d(t,"t",(function(){return J}));var d=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e}(),f=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e}(),p=new r.Version("8.2.3"),g=new r.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),_=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._sanityChecksEnabled=t,this._hammerLoader=n,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}),[{key:"_areChecksEnabled",value:function(){return this._sanityChecksEnabled&&Object(r.isDevMode)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._window;return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._document&&!this._document.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(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.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"),this._document.body.removeChild(e)}}},{key:"_checkCdkVersionMatch",value:function(){p.full!==o.full&&console.warn("The Angular Material version ("+p.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}},{key:"_checkHammerIsAvailable",value:function(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)}}])}();function A(e){return function(e){function t(){var e;_classCallCheck2(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=_callSuper(this,t,[].concat(r)))._disabled=!1,e}
1return _inherits2(t,e),_createClass2(t,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(a.c)(e)}}])}(e)}function v(e,t){return function(e){function n(){var e;_classCallCheck2(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=_callSuper(this,n,[].concat(i))).color=t,e}return _inherits2(n,e),_createClass2(n,[{key:"color",get:function(){return this._color},set:function(e){var n=e||t;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)}}])}(e)}function m(e){return function(e){function t(){var e;_classCallCheck2(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=_callSuper(this,t,[].concat(r)))._disableRipple=!1,e}return _inherits2(t,e),_createClass2(t,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=Object(a.c)(e)}}])}(e)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(function(e){function n(){var e;_classCallCheck2(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=_callSuper(this,n,[].concat(i)))._tabIndex=t,e}return _inherits2(n,e),_createClass2(n,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?e:t}}])}(e))}function b(e){return function(e){function t(){var e;_classCallCheck2(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=_callSuper(this,t,[].concat(r))).errorState=!1,e.stateChanges=new s.a,e}return _inherits2(t,e),_createClass2(t,[{key:"updateErrorState",value:function(){var e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}])}(e)}function C(e){return function(e){function t(){var e;_classCallCheck2(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=_callSuper(this,t,[].concat(r)))._isInitialized=!1,e._pendingSubscribers=[],e.initialized=new l.a((function(t){e._isInitialized?e._notifySubscriber(t):e._pendingSubscribers.push(t)})),e}return _inherits2(t,e),_createClass2(t,[{key:"_markInitialized",value:function(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(e){e.next(),e.complete()}}])}(e)}var w,k=new r.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(r.inject)(r.LOCALE_ID)}}),E=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._localeChanges=new s.a}),[{key:"localeChanges",get:function(){return this._localeChanges}},{key:"deserialize",value:function(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}},{key:"setLocale",value:function(e){this.locale=e,this._localeChanges.next()}},{key:"compareDate",value:function(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}},{key:"sameDate",value:function(e,t){if(e&&t){var n=this.isValid(e),r=this.isValid(t);return n&&r?!this.compareDate(e,t):n==r}return e==t}},{key:"clampDate",value:function(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}}])}(),S=new r.InjectionToken("mat-date-formats");try{w="undefined"!=typeof Intl}catch(ce){w=!1}var O={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},x=B(31,(function(e){return String(e+1)})),P={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},T=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function B(e,t){for(var n=Array(e),r=0;r<e;r++)n[r]=t(r);return n}var D,M=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t)).useUtcForDisplay=!0,_superPropGet((_assertThisInitialized2(r),t),"setLocale",r,3)([e]),r.useUt
1cForDisplay=!n.TRIDENT,r._clampDate=n.TRIDENT||n.EDGE,r}return _inherits2(t,e),_createClass2(t,[{key:"getYear",value:function(e){return e.getFullYear()}},{key:"getMonth",value:function(e){return e.getMonth()}},{key:"getDate",value:function(e){return e.getDate()}},{key:"getDayOfWeek",value:function(e){return e.getDay()}},{key:"getMonthNames",value:function(e){var t=this;if(w){var n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return B(12,(function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,e,1)))}))}return O[e]}},{key:"getDateNames",value:function(){var e=this;if(w){var t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return B(31,(function(n){return e._stripDirectionalityCharacters(e._format(t,new Date(2017,0,n+1)))}))}return x}},{key:"getDayOfWeekNames",value:function(e){var t=this;if(w){var n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return B(7,(function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,0,e+1)))}))}return P[e]}},{key:"getYearName",value:function(e){if(w){var t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))}},{key:"getFirstDayOfWeek",value:function(){return 0}},{key:"getNumDaysInMonth",value:function(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}},{key:"clone",value:function(e){return new Date(e.getTime())}},{key:"createDate",value:function(e,t,n){if(t<0||t>11)throw Error('Invalid month index "'.concat(t,'". Month index has to be between 0 and 11.'));if(n<1)throw Error('Invalid date "'.concat(n,'". Date has to be greater than 0.'));var r=this._createDateWithOverflow(e,t,n);if(r.getMonth()!=t)throw Error('Invalid date "'.concat(n,'" for month with index "').concat(t,'".'));return r}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}},{key:"format",value:function(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(w){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign({},t,{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())}},{key:"addCalendarYears",value:function(e,t){return this.addCalendarMonths(e,12*t)}},{key:"addCalendarMonths",value:function(e,t){var n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}},{key:"toIso8601",value:function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}},{key:"deserialize",value:function(e){if("string"==typeof e){if(!e)return null;if(T.test(e)){var n=new Date(e);if(this.isValid(n))return n}}return _superPropGet(t,"deserialize",this,3)([e])}},{key:"isDateInstance",value:function(e){return e instanceof Date}},{key:"isValid",value:function(e){return!isNaN(e.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(e,t,n){var r=new Date(e,t,n);return e>=0&&e<100&&r.setFullYear(this.getYear(r)-1900),r}},{key:"_2digit",value:function(e){return("00"+e).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(e){return e.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(e,t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(n)}}])}(E),I={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},R=_createClass2((function e(){_classCallCheck2(this,e)})),F=_createClass2((function e(){_classCallCheck2(this,e)})),L=((D=function(){return _createClass2((function e(){_classCallCheck2(this,e)}
1),[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}])}()).ngInjectableDef=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new D},token:D,providedIn:"root"}),D),U=new r.InjectionToken("MAT_HAMMER_OPTIONS"),N=["longpress","slide","slidestart","slideend","slideright","slideleft"],j={on:function(){},off:function(){}},H=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t))._hammerOptions=e,r.events=N,n&&n._checkHammerIsAvailable(),r}return _inherits2(t,e),_createClass2(t,[{key:"buildHammer",value:function(e){var t="undefined"!=typeof window?window.Hammer:null;if(!t)return j;var n=new t(e,this._hammerOptions||void 0),r=new t.Pan,i=new t.Swipe,o=new t.Press,a=this._createRecognizer(r,{event:"slide",threshold:0},i),s=this._createRecognizer(o,{event:"longpress",time:500});return r.recognizeWith(i),s.recognizeWith(a),n.add([i,o,r,a,s]),n}},{key:"_createRecognizer",value:function(e,t){for(var n=new e.constructor(t),r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return i.push(e),i.forEach((function(e){return n.recognizeWith(e)})),n}}])}(i.g),Q=_createClass2((function e(){_classCallCheck2(this,e)})),V=function(){var e={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return e[e.FADING_IN]="FADING_IN",e[e.VISIBLE]="VISIBLE",e[e.FADING_OUT]="FADING_OUT",e[e.HIDDEN]="HIDDEN",e}(),K=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._renderer=t,this.element=n,this.config=r,this.state=V.HIDDEN}),[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}])}(),W={enterDuration:450,exitDuration:400},z=Object(u.e)({passive:!0}),q=function(){return _createClass2((function e(t,n,r,i){var o=this;_classCallCheck2(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=function(e){var t=Object(c.h)(e),n=o._lastTouchStartEvent&&Date.now()<o._lastTouchStartEvent+800;o._target.rippleDisabled||t||n||(o._isPointerDown=!0,o.fadeInRipple(e.clientX,e.clientY,o._target.rippleConfig))},this._onTouchStart=function(e){if(!o._target.rippleDisabled){o._lastTouchStartEvent=Date.now(),o._isPointerDown=!0;for(var t=e.changedTouches,n=0;n<t.length;n++)o.fadeInRipple(t[n].clientX,t[n].clientY,o._target.rippleConfig)}},this._onPointerUp=function(){o._isPointerDown&&(o._isPointerDown=!1,o._activeRipples.forEach((function(e){!e.config.persistent&&(e.state===V.VISIBLE||e.config.terminateOnPointerUp&&e.state===V.FADING_IN)&&e.fadeOut()})))},i.isBrowser&&(this._containerElement=Object(a.e)(r),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}),[{key:"fadeInRipple",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign({},W,r.animation);r.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);var a=r.radius||function(e,t,n){var r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+i*i)}(e,t,i),s=e-i.left,l=t-i.top,u=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=s-a+"px",c.style.top=l-a+"px",c.style.height=2*a+"px",c.style.width=2*a+"px",c.style.backgroundColor=r.color||null,c.style.transitionDuration=u+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var h=new K(this,c,r);return h.state=V.FADING_IN,this._activeRipples.add(h),r.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone((function(){var e=h===n._mostRecentTransientRipple;h.state=V.VISIBLE,r.persistent||e&&n._isPointerDown||h.fadeOut()}),u),h}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,r=Object.assign({},W,e.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",e.
1state=V.FADING_OUT,this._runTimeoutOutsideZone((function(){e.state=V.HIDDEN,n.parentNode.removeChild(n)}),r.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach((function(e){return e.fadeOut()}))}},{key:"setupTriggerEvents",value:function(e){var t=this,n=Object(a.e)(e);n&&n!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular((function(){t._triggerEvents.forEach((function(e,t){n.addEventListener(t,e,z)}))})),this._triggerElement=n)}},{key:"_runTimeoutOutsideZone",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular((function(){return setTimeout(e,t)}))}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&this._triggerEvents.forEach((function(t,n){e._triggerElement.removeEventListener(n,t,z)}))}}])}(),Y=new r.InjectionToken("mat-ripple-global-options"),G=function(){return _createClass2((function e(t,n,r,i,o){_classCallCheck2(this,e),this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new q(this,n,t,r),"NoopAnimations"===o&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}),[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign({},this.rippleConfig,e))}}])}(),X=_createClass2((function e(){_classCallCheck2(this,e)})),J=_createClass2((function e(t){_classCallCheck2(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1})),Z=_createClass2((function e(){_classCallCheck2(this,e)})),$=A(_createClass2((function e(){_classCallCheck2(this,e)}))),ee=0,te=function(e){function t(){var e;return _classCallCheck2(this,t),(e=_callSuper(this,t,arguments))._labelId="mat-optgroup-label-"+ee++,e}return _inherits2(t,e),_createClass2(t)}($),ne=0,re=_createClass2((function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_classCallCheck2(this,e),this.source=t,this.isUserInput=n})),ie=new r.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),oe=function(){return _createClass2((function e(t,n,i,o){_classCallCheck2(this,e),this._element=t,this._changeDetectorRef=n,this._parent=i,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ne++,this.onSelectionChange=new r.EventEmitter,this._stateChanges=new s.a}),[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=Object(a.c)(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){e.keyCode!==h.d&&e.keyCode!==h.j||Object(h.o)(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new re(this,e))}}])}();function ae(e,t,n){if(n.length){for(var r=t.toArray(),i=n.toArray(),o=0,a=0;a<e+1;a++)r[a].group&&r[a].group===i[o]&&o++;return o}return 0}function se(e,t,n,r){var i=e*t;return i<n?i:i+t>n+r?Math.max(0,i-r+t):n}var le=_createClass2((function e(){_classCallCheck2(this,e)})),ue=new r.InjectionToken("mat-label-global-options")},XePT:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n("8Y7J"),i=n("EApP"),o=n("SVse"),a=r["\u0275crt"]({encapsulation:2,styles:[],data:{animation:[{type:7,name:"flyInOut",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{opacity:0}
1,offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"removed",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null},{type:1,expr:"active => removed",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null}],options:{}}]}});function s(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,2,"button",[["aria-label","Close"],["class","toast-close-button"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.remove()&&r),r}),null,null)),(e()(),r["\u0275eld"](1,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\xd7"]))],null,null)}function l(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](1,null,["[","]"]))],null,(function(e,t){e(t,1,0,t.component.duplicatesCount+1)}))}function u(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,3,"div",[],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(e()(),r["\u0275ted"](1,null,[" "," "])),(e()(),r["\u0275and"](16777216,null,null,1,null,l)),r["\u0275did"](3,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,3,0,t.component.duplicatesCount)}),(function(e,t){var n=t.component;e(t,0,0,n.options.titleClass,n.title),e(t,1,0,n.title)}))}function c(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,0,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[8,"innerHTML",1]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.options.messageClass,n.message)}))}function h(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(e()(),r["\u0275ted"](1,null,[" "," "]))],null,(function(e,t){var n=t.component;e(t,0,0,n.options.messageClass,n.message),e(t,1,0,n.message)}))}function d(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,0,"div",[["class","toast-progress"]],[[4,"width",null]],null,null,null,null))],null,(function(e,t){e(t,1,0,t.component.width+"%")}))}function f(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,s)),r["\u0275did"](1,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,u)),r["\u0275did"](3,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,c)),r["\u0275did"](5,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,h)),r["\u0275did"](7,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,d)),r["\u0275did"](9,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.options.closeButton),e(t,3,0,n.title),e(t,5,0,n.message&&n.options.enableHtml),e(t,7,0,n.message&&!n.options.enableHtml),e(t,9,0,n.options.progressBar)}),null)}var p=r["\u0275ccf"]("[toast-component]",i.c,(function(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["toast-component",""]],[[8,"className",0],[40,"@flyInOut",0],[4,"display",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r["\u0275nov"](e,1).tapToast()&&i),"mouseenter"===t&&(i=!1!==r["\u0275nov"](e,1).stickAround()&&i),"mouseleave"===t&&(i=!1!==r["\u0275nov"](e,1).delayedHideToast()&&i),i}),f,a)),r["\u0275did"](1,180224,null,0,i.c,[i.j,i.g,r.NgZone],null,null)],null,(function(e,t){e(t,0,0,r["\u0275nov"](t,1).toastClasses,r["\u0275nov"](t,1).state,r["\u0275nov"](t,1).displayStyle)}))}),{},{},[])},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return r}))},XqQ8:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("l7GE"),i=n("51Dv"),o=n("ZUHj"),a=n("lJxs"),s=n("Cfvw");function l(e,t){return t?function(n){return n.pipe(l((function(n,r){return Object(s.a)(e(n,r)).pipe(Object(a.a)((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new u(e))}}var u=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.project=t}),[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.project))}}])}(),c=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).project=n,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}
1return _inherits2(t,e),_createClass2(t,[{key:"_next",value:function(e){this.hasSubscription||this.tryNext(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.hasSubscription=!0,this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=new i.a(this,t,n),a=this.destination;a.add(r);var s=Object(o.a)(this,e,void 0,void 0,r);s!==r&&a.add(s)}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyError",value:function(e){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}])}(r.a)},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t)).subject=e,r.subscriber=n,r.closed=!1,r}return _inherits2(t,e),_createClass2(t,[{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("quSY").a)},Yml6:function(e,t,n){"use strict";var r=n("DQLy"),i=n("VRyK"),o=n("HDdC"),a=n("XNiG"),s=(n("NXyV"),n("WMd4")),l=n("7o/Q"),u=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"call",value:function(e,t){return t.subscribe(new c(e))}}])}(),c=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t,[{key:"_next",value:function(e){}}])}(l.a),h=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"call",value:function(e,t){return t.subscribe(new d(e))}}])}(),d=function(e){function t(e){return _classCallCheck2(this,t),_callSuper(this,t,[e])}return _inherits2(t,e),_createClass2(t,[{key:"_next",value:function(e){this.destination.next(s.a.createNext(e))}},{key:"_error",value:function(e){var t=this.destination;t.next(s.a.createError(e)),t.complete()}},{key:"_complete",value:function(){var e=this.destination;e.next(s.a.createComplete()),e.complete()}}])}(l.a),f=n("lJxs"),p=n("JIr8"),g=n("pLZG"),_=n("quSY");function A(e,t,n,r){return function(i){return i.lift(new v(e,t,n,r))}}var v=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this.keySelector=t,this.elementSelector=n,this.durationSelector=r,this.subjectSelector=i}),[{key:"call",value:function(e,t){return t.subscribe(new m(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}])}(),m=function(e){function t(e,n,r,i,o){var a;return _classCallCheck2(this,t),(a=_callSuper(this,t,[e])).keySelector=n,a.elementSelector=r,a.durationSelector=i,a.subjectSelector=o,a.groups=null,a.attemptedToUnsubscribe=!1,a.count=0,a}return _inherits2(t,e),_createClass2(t,[{key:"_next",value:function(e){var t;try{t=this.keySelector(e)}catch(n){return void this.error(n)}this._group(e,t)}},{key:"_group",value:function(e,t){var n=this.groups;n||(n=this.groups=new Map);var r,i=n.get(t);if(this.elementSelector)try{r=this.elementSelector(e)}catch(l){this.error(l)}else r=e;if(!i){i=this.subjectSelector?this.subjectSelector():new a.a,n.set(t,i);var o=new b(t,i,this);if(this.destination.next(o),this.durationSelector){var s;try{s=this.durationSelector(new b(t,i))}catch(l){return void this.error(l)}this.add(s.subscribe(new y(t,i,this)))}}i.closed||i.next(r)}},{key:"_error",value:function(e){var t=this.groups;t&&(t.forEach((function(t,n){t.error(e)})),t.clear()),this.destination.error(e)}},{key:"_complete",value:function(){var e=this.groups;e&&(e.forEach((function(e,t){e.complete()})),e.clear()),this.destination.complete()}},{key:"removeGroup",value:function(e){this.groups.delete(e)}},{key:"unsubscribe",value:function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&_superPropGet(t,"unsubscribe",this,3)([]))}}])}(l.a),y=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[n])).key=e,i.group=n,i.parent=r,i}
1return _inherits2(t,e),_createClass2(t,[{key:"_next",value:function(e){this.complete()}},{key:"_unsubscribe",value:function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)}}])}(l.a),b=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t)).key=e,i.groupSubject=n,i.refCountSubscription=r,i}return _inherits2(t,e),_createClass2(t,[{key:"_subscribe",value:function(e){var t=new _.a,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&t.add(new C(n)),t.add(r.subscribe(e)),t}}])}(o.a),C=function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t)).parent=e,e.count++,n}return _inherits2(t,e),_createClass2(t,[{key:"unsubscribe",value:function(){var e=this.parent;e.closed||this.closed||(_superPropGet(t,"unsubscribe",this,3)([]),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())}}])}(_.a),w=n("5+tZ"),k=n("XqQ8"),E=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"call",value:function(e,t){return t.subscribe(new S(e))}}])}(),S=function(e){function t(e){return _classCallCheck2(this,t),_callSuper(this,t,[e])}return _inherits2(t,e),_createClass2(t,[{key:"_next",value:function(e){e.observe(this.destination)}}])}(l.a),O=n("IzEk"),x=(n("bOdf"),n("nYR2"),n("8Y7J"));n.d(t,"a",(function(){return F})),n.d(t,"b",(function(){return z})),n.d(t,"c",(function(){return q})),n.d(t,"d",(function(){return J})),n.d(t,"e",(function(){return X})),n.d(t,"f",(function(){return G})),n.d(t,"g",(function(){return H})),n.d(t,"h",(function(){return T})),n.d(t,"i",(function(){return R})),n.d(t,"j",(function(){return L})),n.d(t,"k",(function(){return Z})),n.d(t,"l",(function(){return $})),n.d(t,"m",(function(){return j})),n.d(t,"n",(function(){return Q})),n.d(t,"o",(function(){return V})),n.d(t,"p",(function(){return K})),n.d(t,"q",(function(){return W}));var P={dispatch:!0,useEffectsErrorHandler:!0};function T(e,t){var n=e(),r=Object.assign(Object.assign({},P),t);return Object.defineProperty(n,"__@ngrx/effects_create__",{value:r}),n}function B(e){return Object.getOwnPropertyNames(e).filter((function(t){return e[t]&&e[t].hasOwnProperty("__@ngrx/effects_create__")})).map((function(t){return Object.assign({propertyName:t},e[t]["__@ngrx/effects_create__"])}))}function D(e){return Object.getPrototypeOf(e)}function M(e){return Object(r.v)(I,D)(e)}function I(e){return function(e){return e.constructor.hasOwnProperty("__@ngrx/effects__")}(e)?e.constructor["__@ngrx/effects__"]:[]}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;return e.pipe(Object(p.a)((function(r){return t&&t.handleError(r),n<=1?e:R(e,t,n-1)})))}var F=function(e){function t(e){var n;return _classCallCheck2(this,t),n=_callSuper(this,t),e&&(n.source=e),n}return _inherits2(t,e),_createClass2(t,[{key:"lift",value:function(e){var n=new t;return n.source=this,n.operator=e,n}}])}(o.a);function L(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(g.a)((function(e){return t.some((function(t){return"string"==typeof t?t===e.type:t.type===e.type}))}))}function U(e){return N(e,"ngrxOnInitEffects")}function N(e,t){return e&&t in e&&"function"==typeof e[t]}var j=new x.InjectionToken("@ngrx/effects Internal Root Guard"),H=new x.InjectionToken("ngrx/effects: User Provided Effects"),Q=new x.InjectionToken("ngrx/effects: Internal Root Effects"),V=new x.InjectionToken("ngrx/effects: Root Effects"),K=new x.InjectionToken("ngrx/effects: Internal Feature Effects"),W=new x.InjectionToken("ngrx/effects: Feature Effects"),z=new x.InjectionToken("ngrx/effects: Effects Error Handler"),q=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t)).errorHandler=e,r.effectsErrorHandler=n,r}return _inherits2(t,e),_createClass2(t,[{key:"addEffects",value:function(e){this.next(e)}},{key:"toActions",value:function(){var e=this;return this.pipe(A(D),Object(w.a)((function(e){return e.pipe(A(Y))})),Object(w.a)((function(t){var n=t.pipe(Object(k.a)((function(t){return(n=e.errorHandler,r=e.effectsErrorHandler,function(e){var t=function(e,t,n){var r,o=D(e).constructor.name,a=(r=e,[M,B].reduce((function(e,t){return e.concat(t(r))}),[])).map((function(r){var i=r.propertyName,a=r.dispatch,s=r.useEffectsErrorHandler,l="function"==typeof e[i]?e[i]():e[i],c=s?n(l,t):l;return!1===a?c.pipe((function(e){return e.lift(new u)})):c.pipe((function(e){return e.lift(new h)})).pipe(Object(f.a)((function(t){return{effect:e[i],notification:t,propertyName:i,sourceName:o,sourceInstance:e}})))}));return Object(i.a).apply(void 0,_toConsumableArray2(a))}(e,n,r);return N(e,"ngrxOnRunEffects")?e.ngrxOnRunEffects(t):t})(t);var n,r})),Object(f.a)((function(t){return function(e,t){if("N"===e.notification.kind){var n=e.notification.value;!function(e){return"function"!=typeof e&&e&&e.type&&"string"==typeof e.type}(n)&&t.handleError(new Error("Effect ".concat((r=e,i=r.propertyName,o=r.sourceInstance,a=r.sourceName,s="function"==typeof o[i],'"'.concat(a,".").concat(String(i)).concat(s?"()":"",'"'))," dispatched an invali
1d action: ").concat(function(e){try{return JSON.stringify(e)}catch(t){return e}}(n))))}var r,i,o,a,s}(t,e.errorHandler),t.notification})),Object(g.a)((function(e){return"N"===e.kind})),(function(e){return e.lift(new E)})),r=t.pipe(Object(O.a)(1),Object(g.a)(U),Object(f.a)((function(e){return e.ngrxOnInitEffects()})));return Object(i.a)(n,r)})))}}])}(a.a);function Y(e){return N(e,"ngrxOnIdentifyEffects")?e.ngrxOnIdentifyEffects():""}var G=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.effectSources=t,this.store=n,this.effectsSubscription=null}),[{key:"start",value:function(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}},{key:"ngOnDestroy",value:function(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}])}(),X=function(){return _createClass2((function e(t,n,r,i,o,a,s){_classCallCheck2(this,e),this.sources=t,n.start(),i.forEach((function(e){return t.addEffects(e)})),r.dispatch({type:"@ngrx/effects/init"})}),[{key:"addEffects",value:function(e){this.sources.addEffects(e)}}])}(),J=_createClass2((function e(t,n,r,i){_classCallCheck2(this,e),n.forEach((function(e){return e.forEach((function(e){return t.addEffects(e)}))}))}));function Z(e,t,n){var r,i=[],o=_createForOfIteratorHelper2(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;i.push.apply(i,_toConsumableArray2(a))}}catch(c){o.e(c)}finally{o.f()}var s,l=_createForOfIteratorHelper2(n);try{for(l.s();!(s=l.n()).done;){var u=s.value;i.push.apply(i,_toConsumableArray2(u))}}catch(c){l.e(c)}finally{l.f()}return function(e,t){return t.map((function(t){return e.get(t)}))}(e,i)}function $(e){if(e)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},ZEiq:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return d}));var r=n("8Y7J"),i=n("Q4Nv"),o=n("+Nuo"),a=function(e){var t,n=new e.EventBus(!0);return(t=n).on("documentload",(function(){var e=document.createEvent("CustomEvent");e.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(e)})),t.on("pagerendered",(function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("pagerendered",!0,!0,{pageNumber:e.pageNumber,cssTransform:e.cssTransform}),e.source.div.dispatchEvent(t)})),t.on("textlayerrendered",(function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:e.pageNumber}),e.source.textLayerDiv.dispatchEvent(t)})),t.on("pagechanging",(function(e){var t=document.createEvent("UIEvents");t.initEvent("pagechanging",!0,!0),t.pageNumber=e.pageNumber,e.source.container.dispatchEvent(t)})),t.on("pagesinit",(function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("pagesinit",!0,!0,null),e.source.container.dispatchEvent(t)})),t.on("pagesloaded",(function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("pagesloaded",!0,!0,{pagesCount:e.pagesCount}),e.source.container.dispatchEvent(t)})),t.on("scalechange",(function(e){var t=document.createEvent("UIEvents");t.initEvent("scalechange",!0,!0),t.scale=e.scale,t.presetValue=e.presetValue,e.source.container.dispatchEvent(t)})),t.on("updateviewarea",(function(e){var t=document.createEvent("UIEvents");t.initEvent("updateviewarea",!0,!0),t.location=e.location,e.source.container.dispatchEvent(t)})),t.on("find",(function(e){if(e.source!==window){var t=document.createEvent("CustomEvent");t.initCustomEvent("find"+e.type,!0,!0,{query:e.query,phraseSearch:e.phraseSearch,caseSensitive:e.caseSensitive,highlightAll:e.highlightAll,findPrevious:e.findPrevious}),window.dispatchEvent(t)}})),t.on("attachmentsloaded",(function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:e.attachmentsCount}),e.source.container.dispatchEvent(t)})),t.on("sidebarviewchanged",(function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("sidebarviewchanged",!0,!0,{view:e.view}),e.source.outerContainer.dispatchEvent(t)})),t.on("pagemode",(function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("pagemode",!0,!0,{mode:e.mode}
1),e.source.pdfViewer.container.dispatchEvent(t)})),t.on("namedaction",(function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("namedaction",!0,!0,{action:e.action}),e.source.pdfViewer.container.dispatchEvent(t)})),t.on("presentationmodechanged",(function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("presentationmodechanged",!0,!0,{active:e.active,switchInProgress:e.switchInProgress}),window.dispatchEvent(t)})),t.on("outlineloaded",(function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("outlineloaded",!0,!0,{outlineCount:e.outlineCount}),e.source.container.dispatchEvent(t)})),n};function s(e,t,n){e[t]=n}function l(){return"undefined"==typeof window}var u,c=function(e){return e[e.DISABLED=0]="DISABLED",e[e.ENABLED=1]="ENABLED",e[e.ENHANCED=2]="ENHANCED",e}({}),h=function(){var e=u=function(){return _createClass2((function e(t){var n;_classCallCheck2(this,e),this.element=t,this.isVisible=!1,this._cMapsUrl=void 0!==i?"https://unpkg.com/pdfjs-dist@".concat(i.version,"/cmaps/"):null,this._renderText=!0,this._renderTextMode=c.ENABLED,this._stickToPage=!1,this._originalSize=!0,this._page=1,this._zoom=1,this._zoomScale="page-width",this._rotation=0,this._showAll=!0,this._canAutoResize=!0,this._fitToPage=!1,this._externalLinkTarget="blank",this._showBorders=!1,this.isInitialized=!1,this.afterLoadComplete=new r.EventEmitter,this.pageRendered=new r.EventEmitter,this.pageInitialized=new r.EventEmitter,this.textLayerRendered=new r.EventEmitter,this.onError=new r.EventEmitter,this.onProgress=new r.EventEmitter,this.pageChange=new r.EventEmitter(!0),l()||(n=window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:"https://cdn.jsdelivr.net/npm/pdfjs-dist@".concat(i.version,"/es5/build/pdf.worker.js"),s(i.GlobalWorkerOptions,"workerSrc",n))}),[{key:"cMapsUrl",set:function(e){this._cMapsUrl=e}},{key:"page",set:function(e){var t=e=parseInt(e,10)||1;this._pdf&&(e=this.getValidPageNumber(e)),this._page=e,t!==e&&this.pageChange.emit(e)}},{key:"renderText",set:function(e){this._renderText=e}},{key:"renderTextMode",set:function(e){this._renderTextMode=e}},{key:"originalSize",set:function(e){this._originalSize=e}},{key:"showAll",set:function(e){this._showAll=e}},{key:"stickToPage",set:function(e){this._stickToPage=e}},{key:"zoom",get:function(){return this._zoom},set:function(e){e<=0||(this._zoom=e)}},{key:"zoomScale",get:function(){return this._zoomScale},set:function(e){this._zoomScale=e}},{key:"rotation",set:function(e){"number"==typeof e&&e%90==0?this._rotation=e:console.warn("Invalid pages rotation angle.")}},{key:"externalLinkTarget",set:function(e){this._externalLinkTarget=e}},{key:"autoresize",set:function(e){this._canAutoResize=Boolean(e)}},{key:"fitToPage",set:function(e){this._fitToPage=Boolean(e)}},{key:"showBorders",set:function(e){this._showBorders=Boolean(e)}},{key:"ngAfterViewChecked",value:function(){var e=this;if(!this.isInitialized){var t=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=t?!1===this.isVisible&&null!=t&&(this.isVisible=!0,setTimeout((function(){e.ngOnInit(),e.ngOnChanges({src:e.src})}))):this.isVisible=!1}}},{key:"ngOnInit",value:function(){!l()&&this.isVisible&&(this.isInitialized=!0,this.setupMultiPageViewer(),this.setupSinglePageViewer())}},{key:"ngOnDestroy",value:function(){this.clear()}},{key:"onPageResize",value:function(){var e=this;this._canAutoResize&&this._pdf&&(this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout((function(){e.updateSize()}),100))}},{key:"pdfLinkService",get:function(){return this._showAll?this.pdfMultiPageLinkService:this.pdfSinglePageLinkService}},{key:"pdfViewer",get:function(){return this.getCurrentViewer()}},{key:"pdfFindController",get:function(){return this._showAll?this.pdfMultiPageFindController:this.pdfSinglePageFindController}},{key:"ngOnChanges",value:function(e){if(!l()&&this.isVisible)if("src"in e)this.loadPDF();else if(this._pdf){if("renderText"in e?(this.getCurrentViewer().textLayerMode=this._renderText?this._renderTextMode:c.DISABLED,this.resetPdfDocument()):"showAll"in e&&this.resetPdfDocument(),"page"in e){if(e.page.currentValue===this._latestScrolledPage)return;this.getCurrentViewer().scrollPageIntoView({pageNumber:this._page})}this.update()}}},{key:"updateSize",value:function(){var e=this,t=this.getCurrentViewer();this._pdf.getPage(t.currentPageNumber).then((function(n){var r=e._rotation||n.rotate,i=n.getViewport({scale:e._zoom,rotation:r}).width*u.CSS_UNITS,o=e._zoom,a=!0;if(!e._originalSize||e._fitToPage&&i>e.pdfViewerContainer.nativeElement.clientWidth){var s=n.getViewport({scale:1,rotation:r});o=e.getScale(s.width,s.height),a=!e._stickToPage}t._setScale(o,a)}))}},{key:"clear",value:function(){this.loadingTask&&!this.loadingTask.destroyed&&this.loadingTask.destroy(),this._pdf&&(this._pdf.de
1stroy(),this._pdf=null,this.pdfMultiPageViewer.setDocument(null),this.pdfSinglePageViewer.setDocument(null),this.pdfMultiPageLinkService.setDocument(null,null),this.pdfSinglePageLinkService.setDocument(null,null),this.pdfMultiPageFindController.setDocument(null),this.pdfSinglePageFindController.setDocument(null))}},{key:"getPDFLinkServiceConfig",value:function(){var e={},t=u.getLinkTarget(this._externalLinkTarget);return t&&(e.externalLinkTarget=t),e}},{key:"setupMultiPageViewer",value:function(){var e=this;s(i,"disableTextLayer",!this._renderText);var t=a(o);t.on("pagerendered",(function(t){e.pageRendered.emit(t)})),t.on("pagesinit",(function(t){e.pageInitialized.emit(t)})),t.on("pagechanging",(function(t){e.pageScrollTimeout&&clearTimeout(e.pageScrollTimeout),e.pageScrollTimeout=setTimeout((function(){e._latestScrolledPage=t.pageNumber,e.pageChange.emit(t.pageNumber)}),100)})),t.on("textlayerrendered",(function(t){e.textLayerRendered.emit(t)})),this.pdfMultiPageLinkService=new o.PDFLinkService(Object.assign({eventBus:t},this.getPDFLinkServiceConfig())),this.pdfMultiPageFindController=new o.PDFFindController({linkService:this.pdfMultiPageLinkService,eventBus:t});var n={eventBus:t,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfMultiPageLinkService,textLayerMode:this._renderText?this._renderTextMode:c.DISABLED,findController:this.pdfMultiPageFindController};this.pdfMultiPageViewer=new o.PDFViewer(n),this.pdfMultiPageLinkService.setViewer(this.pdfMultiPageViewer),this.pdfMultiPageFindController.setDocument(this._pdf)}},{key:"setupSinglePageViewer",value:function(){var e=this;s(i,"disableTextLayer",!this._renderText);var t=a(o);t.on("pagechanging",(function(t){t.pageNumber!==e._page&&(e.page=t.pageNumber)})),t.on("pagerendered",(function(t){e.pageRendered.emit(t)})),t.on("pagesinit",(function(t){e.pageInitialized.emit(t)})),t.on("textlayerrendered",(function(t){e.textLayerRendered.emit(t)})),this.pdfSinglePageLinkService=new o.PDFLinkService(Object.assign({eventBus:t},this.getPDFLinkServiceConfig())),this.pdfSinglePageFindController=new o.PDFFindController({linkService:this.pdfSinglePageLinkService,eventBus:t});var n={eventBus:t,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfSinglePageLinkService,textLayerMode:this._renderText?this._renderTextMode:c.DISABLED,findController:this.pdfSinglePageFindController};this.pdfSinglePageViewer=new o.PDFSinglePageViewer(n),this.pdfSinglePageLinkService.setViewer(this.pdfSinglePageViewer),this.pdfSinglePageFindController.setDocument(this._pdf),this.pdfSinglePageViewer._currentPageNumber=this._page}},{key:"getValidPageNumber",value:function(e){return e<1?1:e>this._pdf.numPages?this._pdf.numPages:e}},{key:"getDocumentParams",value:function(){var e=typeof this.src;if(!this._cMapsUrl)return this.src;var t={cMapUrl:this._cMapsUrl,cMapPacked:!0};return"string"===e?t.url=this.src:"object"===e&&(void 0!==this.src.byteLength?t.data=this.src:Object.assign(t,this.src)),t}},{key:"loadPDF",value:function(){var e=this;if(this.src)if(this.lastLoaded!==this.src){this.clear(),this.loadingTask=Object(i.getDocument)(this.getDocumentParams()),this.loadingTask.onProgress=function(t){e.onProgress.emit(t)};var t=this.src;this.loadingTask.promise.then((function(n){e._pdf=n,e.lastLoaded=t,e.afterLoadComplete.emit(n),e.pdfMultiPageViewer||(e.setupMultiPageViewer(),e.setupSinglePageViewer()),e.resetPdfDocument(),e.update()}),(function(t){e.onError.emit(t)}))}else this.update()}},{key:"update",value:function(){this.page=this._page,this.render()}},{key:"render",value:function(){var e=this;this._page=this.getValidPageNumber(this._page);var t=this.getCurrentViewer();0===this._rotation&&t.pagesRotation===this._rotation||setTimeout((function(){t.pagesRotation=e._rotation})),this._stickToPage&&setTimeout((function(){t.currentPageNumber=e._page})),this.updateSize()}},{key:"getScale",value:function(e,t){var n=this._showBorders?2*u.BORDER_WIDTH:0,r=this.pdfViewerContainer.nativeElement.clientWidth-n,i=this.pdfViewerContainer.nativeElement.clientHeight-n;if(0===i||0===t||0===r||0===e)return 1;var o=1;switch(this._zoomScale){case"page-fit":o=Math.min(i/t,r/e);break;case"page-height":o=i/t;break;case"page-width":default:o=r/e}return this._zoom*o/u.CSS_UNITS}},{key:"getCurrentViewer",value:function(){return this._showAll?this.pdfMultiPageViewer:this.pdfSinglePageViewer}},{key:"resetPdfDocument",value:function(){this.pdfFindController.setDocument(this._pdf),this._showAll?(this.pdfSinglePageViewer.setDocument(null),this.pdfSinglePageLinkService.setDocument(null),this.pdfMultiPageViewer.setDocument(this._pdf),this.pdfMultiPageLinkService.setDocument(this._pdf,null)):(this.pdfMultiPageViewer.setDocument(null),this.pdfMultiPageLinkService.setDocument(null),this.pdfSinglePageViewer.setDocument(this._pdf),this.pdfSinglePageLinkService.setDocument(this._pdf,null))}}],[{key:"getLinkTarget",value:function(e){switch(e){case"blank":return i.LinkTarget.BLANK;case"none":return i.LinkTarget.NONE;case"self":return i.LinkTarget.SELF;case"parent":return i.LinkTarget.PARENT;case"top":return i.LinkTarget.TOP}return null}}])}();return e.CSS_UNITS=96/72,e.BORDER_WIDTH=9,e}(),d=_createClass2((function e(){_classCallCheck2(this,e)}))},ZMeN:function(e,t,n){"use strict";var r=n("8Y7J"),i=n("hpHm"),o=n("2uy1"),a=(n("GS7A"),n("HDdC"));function s(e){return!!e&&(e instanceof a.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var l=n("Cfvw"),u=n("z/SZ"),c=n("Kj3r"),h=n("eIep"),d=n("5+tZ"),f=n("pLZG"),p=n("128B");function g(e,t,n){return 0===n?[t]:(e.push(t),e)}n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return E}));var _={"\xc1":"A","\u0102":"A","\u1eae":"A","\u1eb6":"A","\u1eb0":"A","\u1eb2":"A","\u1eb4":"A","\u01cd":"A","\xc2":"A","\u1ea4":"A","\u1eac":"A","\u1ea6":"A","\u1ea8":"A","\u1eaa":"A","\xc4":"A","\u01de":"A","\u0226":"A","\u01e0":"A","\u1ea0":"A","\u0200":"A","\xc0":"A","\u1ea2":"A","\u0202":"A","\u0100":"A","\u0104":"A","\xc5":"A","\u01fa":"A","\u1e00":"A","\u023a":"A","\xc3":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u1e02":"B","\u1e04":"B","\u0181":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0106":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0108":"C","\u010a":"C","\u0187":"C","\u023b":"C","\u010e":"D","\u1e10":"D","\u1e12":"D","\u1e0a":"D","\u1e0c":"D","\u018a":"D","\u1e0e":"D","\u01f2":"D","\u01c5":"D","\u0110":"D","\u018b":"D","\u01f1":"DZ","\u01c4":"DZ","\xc9":"E","\u0114":"E","\u011a":"E","\u0228":"E","\u1e1c":"E","\xca":"E","\u1ebe":"E","\u1ec6":"E","\u1ec0":"E","\u1ec2":"E","\u1ec4":"E","\u1e18":"E","\xcb":"E","\u0116":"E","\u1eb8":"E","\u0204":"E","\xc8":"E","\u1eba":"E","\u0206":"E","\u0112":"E","\u1e16":"E","\u1e14":"E","\u0118":"E","\u0246":"E","\u1ebc":"E","\u1e1a":"E","\ua76a":"ET","\u1e1e":"F","\u0191":"F","\u01f4":"G","\u011e":"G","\u01e6":"G","\u0122":"G","\u011c":"G","\u0120":"G","\u0193":"G","\u1e20":"G","\u01e4":"G","\u1e2a":"H","\u021e":"H","\u1e28":"H","\u0124":"H","\u2c67":"H","\u1e26":"H","\u1e22":"H","\u1e24":"H","\u0126":"H","\xcd":"I","\u012c":"I","\u01cf":"I","\xce":"I","\xcf":"I","\u1e2e":"I","\u0130":"I","\u1eca":"I","\u0208":"I","\xcc":"I","\u1ec8":"I","\u020a":"I","\u012a":"I","\u012e":"I","\u0197":"I","\u0128":"I","\u1e2c":"I","\ua779":"D","\ua77b":"F","\ua77d":"G","\ua782":"R","\ua784":"S","\ua786":"T","\ua76c":"IS","\u0134":"J","\u0248":"J","\u1e30":"K","\u01e8":"K","\u0136":"K","\u2c69":"K","\ua742":"K","\u1e32":"K","\u0198":"K","\u1e34":"K","\ua740":"K","\ua744":"K","\u0139":"L","\u023d":"L","\u013d":"L","\u013b":"L","\u1e3c":"L","\u1e36":"L","\u1e38":"L","\u2c60":"L","\ua748":"L","\u1e3a":"L","\u013f"
1:"L","\u2c62":"L","\u01c8":"L","\u0141":"L","\u01c7":"LJ","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u0143":"N","\u0147":"N","\u0145":"N","\u1e4a":"N","\u1e44":"N","\u1e46":"N","\u01f8":"N","\u019d":"N","\u1e48":"N","\u0220":"N","\u01cb":"N","\xd1":"N","\u01ca":"NJ","\xd3":"O","\u014e":"O","\u01d1":"O","\xd4":"O","\u1ed0":"O","\u1ed8":"O","\u1ed2":"O","\u1ed4":"O","\u1ed6":"O","\xd6":"O","\u022a":"O","\u022e":"O","\u0230":"O","\u1ecc":"O","\u0150":"O","\u020c":"O","\xd2":"O","\u1ece":"O","\u01a0":"O","\u1eda":"O","\u1ee2":"O","\u1edc":"O","\u1ede":"O","\u1ee0":"O","\u020e":"O","\ua74a":"O","\ua74c":"O","\u014c":"O","\u1e52":"O","\u1e50":"O","\u019f":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\xd5":"O","\u1e4c":"O","\u1e4e":"O","\u022c":"O","\u01a2":"OI","\ua74e":"OO","\u0190":"E","\u0186":"O","\u0222":"OU","\u1e54":"P","\u1e56":"P","\ua752":"P","\u01a4":"P","\ua754":"P","\u2c63":"P","\ua750":"P","\ua758":"Q","\ua756":"Q","\u0154":"R","\u0158":"R","\u0156":"R","\u1e58":"R","\u1e5a":"R","\u1e5c":"R","\u0210":"R","\u0212":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua73e":"C","\u018e":"E","\u015a":"S","\u1e64":"S","\u0160":"S","\u1e66":"S","\u015e":"S","\u015c":"S","\u0218":"S","\u1e60":"S","\u1e62":"S","\u1e68":"S","\u0164":"T","\u0162":"T","\u1e70":"T","\u021a":"T","\u023e":"T","\u1e6a":"T","\u1e6c":"T","\u01ac":"T","\u1e6e":"T","\u01ae":"T","\u0166":"T","\u2c6f":"A","\ua780":"L","\u019c":"M","\u0245":"V","\ua728":"TZ","\xda":"U","\u016c":"U","\u01d3":"U","\xdb":"U","\u1e76":"U","\xdc":"U","\u01d7":"U","\u01d9":"U","\u01db":"U","\u01d5":"U","\u1e72":"U","\u1ee4":"U","\u0170":"U","\u0214":"U","\xd9":"U","\u1ee6":"U","\u01af":"U","\u1ee8":"U","\u1ef0":"U","\u1eea":"U","\u1eec":"U","\u1eee":"U","\u0216":"U","\u016a":"U","\u1e7a":"U","\u0172":"U","\u016e":"U","\u0168":"U","\u1e78":"U","\u1e74":"U","\ua75e":"V","\u1e7e":"V","\u01b2":"V","\u1e7c":"V","\ua760":"VY","\u1e82":"W","\u0174":"W","\u1e84":"W","\u1e86":"W","\u1e88":"W","\u1e80":"W","\u2c72":"W","\u1e8c":"X","\u1e8a":"X","\xdd":"Y","\u0176":"Y","\u0178":"Y","\u1e8e":"Y","\u1ef4":"Y","\u1ef2":"Y","\u01b3":"Y","\u1ef6":"Y","\u1efe":"Y","\u0232":"Y","\u024e":"Y","\u1ef8":"Y","\u0179":"Z","\u017d":"Z","\u1e90":"Z","\u2c6b":"Z","\u017b":"Z","\u1e92":"Z","\u0224":"Z","\u1e94":"Z","\u01b5":"Z","\u0132":"IJ","\u0152":"OE","\u1d00":"A","\u1d01":"AE","\u0299":"B","\u1d03":"B","\u1d04":"C","\u1d05":"D","\u1d07":"E","\ua730":"F","\u0262":"G","\u029b":"G","\u029c":"H","\u026a":"I","\u0281":"R","\u1d0a":"J","\u1d0b":"K","\u029f":"L","\u1d0c":"L","\u1d0d":"M","\u0274":"N","\u1d0f":"O","\u0276":"OE","\u1d10":"O","\u1d15":"OU","\u1d18":"P","\u0280":"R","\u1d0e":"N","\u1d19":"R","\ua731":"S","\u1d1b":"T","\u2c7b":"E","\u1d1a":"R","\u1d1c":"U","\u1d20":"V","\u1d21":"W","\u028f":"Y","\u1d22":"Z","\xe1":"a","\u0103":"a","\u1eaf":"a","\u1eb7":"a","\u1eb1":"a","\u1eb3":"a","\u1eb5":"a","\u01ce":"a","\xe2":"a","\u1ea5":"a","\u1ead":"a","\u1ea7":"a","\u1ea9":"a","\u1eab":"a","\xe4":"a","\u01df":"a","\u0227":"a","\u01e1":"a","\u1ea1":"a","\u0201":"a","\xe0":"a","\u1ea3":"a","\u0203":"a","\u0101":"a","\u0105":"a","\u1d8f":"a","\u1e9a":"a","\xe5":"a","\u01fb":"a","\u1e01":"a","\u2c65":"a","\xe3":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u1e03":"b","\u1e05":"b","\u0253":"b","\u1e07":"b","\u1d6c":"b","\u1d80":"b","\u0180":"b","\u0183":"b","\u0275":"o","\u0107":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0109":"c","\u0255":"c","\u010b":"c","\u0188":"c","\u023c":"c","\u010f":"d","\u1e11":"d","\u1e13":"d","\u0221":"d","\u1e0b":"d","\u1e0d":"d","\u0257":"d","\u1d91":"d","\u1e0f":"d","\u1d6d":"d","\u1d81":"d","\u0111":"d","\u0256":"d","\u018c":"d","\u0131":"i","\u0237":"j","\u025f":"j","\u0284":"j","\u01f3":"dz","\u01c6":"dz","\xe9":"e","\u0115":"e","\u011b":"e","\u0229":"e","\u1e1d":"e","\xea":"e","\u1ebf":"e","\u1ec7":"e","\u1ec1":"e","\u1ec3":"e","\u1ec5":"e","\u1e19":"e","\xeb":"e","\u0117":"e","\u1eb9":"e","\u0205":"e","\xe8":"e","\u1ebb":"e","\u0207":"e","\u0113":"e","\u1e17":"e","\u1e15":"e","\u2c78":"e","\u0119":"e","\u1d92":"e","\u0247":"e","\u1ebd":"e","\u1e1b":"e","\ua76b":"et","\u1e1f":"f","\u0192":"f","\u1d6e":"f","\u1d82":"f","\u01f5":"g","\u011f":"g","\u01e7":"g","\u0123":"g","\u011d":"g","\u0121":"g","\u0260":"g","\u1e21":"g","\u1d83":"g","\u01e5":"g","\u1e2b":"h","\u021f":"h","\u1e29":"h","\u0125":"h","\u2c68":"h","\u1e27":"h","\u1e23":"h","\u1e25":"h","\u0266":"h","\u1e96":"h","\u0127":"h","\u0195":"hv","\xed":"i","\u012d":"i","\u01d0":"i","\xee":"i","\xef":"i","\u1e2f"
1:"i","\u1ecb":"i","\u0209":"i","\xec":"i","\u1ec9":"i","\u020b":"i","\u012b":"i","\u012f":"i","\u1d96":"i","\u0268":"i","\u0129":"i","\u1e2d":"i","\ua77a":"d","\ua77c":"f","\u1d79":"g","\ua783":"r","\ua785":"s","\ua787":"t","\ua76d":"is","\u01f0":"j","\u0135":"j","\u029d":"j","\u0249":"j","\u1e31":"k","\u01e9":"k","\u0137":"k","\u2c6a":"k","\ua743":"k","\u1e33":"k","\u0199":"k","\u1e35":"k","\u1d84":"k","\ua741":"k","\ua745":"k","\u013a":"l","\u019a":"l","\u026c":"l","\u013e":"l","\u013c":"l","\u1e3d":"l","\u0234":"l","\u1e37":"l","\u1e39":"l","\u2c61":"l","\ua749":"l","\u1e3b":"l","\u0140":"l","\u026b":"l","\u1d85":"l","\u026d":"l","\u0142":"l","\u01c9":"lj","\u017f":"s","\u1e9c":"s","\u1e9b":"s","\u1e9d":"s","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u1d6f":"m","\u1d86":"m","\u0144":"n","\u0148":"n","\u0146":"n","\u1e4b":"n","\u0235":"n","\u1e45":"n","\u1e47":"n","\u01f9":"n","\u0272":"n","\u1e49":"n","\u019e":"n","\u1d70":"n","\u1d87":"n","\u0273":"n","\xf1":"n","\u01cc":"nj","\xf3":"o","\u014f":"o","\u01d2":"o","\xf4":"o","\u1ed1":"o","\u1ed9":"o","\u1ed3":"o","\u1ed5":"o","\u1ed7":"o","\xf6":"o","\u022b":"o","\u022f":"o","\u0231":"o","\u1ecd":"o","\u0151":"o","\u020d":"o","\xf2":"o","\u1ecf":"o","\u01a1":"o","\u1edb":"o","\u1ee3":"o","\u1edd":"o","\u1edf":"o","\u1ee1":"o","\u020f":"o","\ua74b":"o","\ua74d":"o","\u2c7a":"o","\u014d":"o","\u1e53":"o","\u1e51":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\xf5":"o","\u1e4d":"o","\u1e4f":"o","\u022d":"o","\u01a3":"oi","\ua74f":"oo","\u025b":"e","\u1d93":"e","\u0254":"o","\u1d97":"o","\u0223":"ou","\u1e55":"p","\u1e57":"p","\ua753":"p","\u01a5":"p","\u1d71":"p","\u1d88":"p","\ua755":"p","\u1d7d":"p","\ua751":"p","\ua759":"q","\u02a0":"q","\u024b":"q","\ua757":"q","\u0155":"r","\u0159":"r","\u0157":"r","\u1e59":"r","\u1e5b":"r","\u1e5d":"r","\u0211":"r","\u027e":"r","\u1d73":"r","\u0213":"r","\u1e5f":"r","\u027c":"r","\u1d72":"r","\u1d89":"r","\u024d":"r","\u027d":"r","\u2184":"c","\ua73f":"c","\u0258":"e","\u027f":"r","\u015b":"s","\u1e65":"s","\u0161":"s","\u1e67":"s","\u015f":"s","\u015d":"s","\u0219":"s","\u1e61":"s","\u1e63":"s","\u1e69":"s","\u0282":"s","\u1d74":"s","\u1d8a":"s","\u023f":"s","\u0261":"g","\u1d11":"o","\u1d13":"o","\u1d1d":"u","\u0165":"t","\u0163":"t","\u1e71":"t","\u021b":"t","\u0236":"t","\u1e97":"t","\u2c66":"t","\u1e6b":"t","\u1e6d":"t","\u01ad":"t","\u1e6f":"t","\u1d75":"t","\u01ab":"t","\u0288":"t","\u0167":"t","\u1d7a":"th","\u0250":"a","\u1d02":"ae","\u01dd":"e","\u1d77":"g","\u0265":"h","\u02ae":"h","\u02af":"h","\u1d09":"i","\u029e":"k","\ua781":"l","\u026f":"m","\u0270":"m","\u1d14":"oe","\u0279":"r","\u027b":"r","\u027a":"r","\u2c79":"r","\u0287":"t","\u028c":"v","\u028d":"w","\u028e":"y","\ua729":"tz","\xfa":"u","\u016d":"u","\u01d4":"u","\xfb":"u","\u1e77":"u","\xfc":"u","\u01d8":"u","\u01da":"u","\u01dc":"u","\u01d6":"u","\u1e73":"u","\u1ee5":"u","\u0171":"u","\u0215":"u","\xf9":"u","\u1ee7":"u","\u01b0":"u","\u1ee9":"u","\u1ef1":"u","\u1eeb":"u","\u1eed":"u","\u1eef":"u","\u0217":"u","\u016b":"u","\u1e7b":"u","\u0173":"u","\u1d99":"u","\u016f":"u","\u0169":"u","\u1e79":"u","\u1e75":"u","\u1d6b":"ue","\ua778":"um","\u2c74":"v","\ua75f":"v","\u1e7f":"v","\u028b":"v","\u1d8c":"v","\u2c71":"v","\u1e7d":"v","\ua761":"vy","\u1e83":"w","\u0175":"w","\u1e85":"w","\u1e87":"w","\u1e89":"w","\u1e81":"w","\u2c73":"w","\u1e98":"w","\u1e8d":"x","\u1e8b":"x","\u1d8d":"x","\xfd":"y","\u0177":"y","\xff":"y","\u1e8f":"y","\u1ef5":"y","\u1ef3":"y","\u01b4":"y","\u1ef7":"y","\u1eff":"y","\u0233":"y","\u1e99":"y","\u024f":"y","\u1ef9":"y","\u017a":"z","\u017e":"z","\u1e91":"z","\u0291":"z","\u2c6c":"z","\u017c":"z","\u1e93":"z","\u0225":"z","\u1e95":"z","\u1d76":"z","\u1d8e":"z","\u0290":"z","\u01b6":"z","\u0240":"z","\ufb00":"ff","\ufb03":"ffi","\ufb04":"ffl","\ufb01":"fi","\ufb02":"fl","\u0133":"ij","\u0153":"oe","\ufb06":"st","\u2090":"a","\u2091":"e","\u1d62":"i","\u2c7c":"j","\u2092":"o","\u1d63":"r","\u1d64":"u","\u1d65":"v","\u2093":"x"},A=function(){return _createClass2((function e(t){var n=arguments.length>
11&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck2(this,e),this.item=t,this.value=n,this.header=r}),[{key:"isHeader",value:function(){return this.header}},{key:"toString",value:function(){return this.value}}])}();function v(e){return e?e.replace(/[^A-Za-z0-9\[\] ]/g,(function(e){return _[e]||e})):""}function m(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=e.split(new RegExp("(?:[".concat(r,"])([^").concat(r,"]+)(?:[").concat(r,"])|([^").concat(n,"]+)"),"g")),o=[],a=i.length,s=new RegExp("[".concat(r,"]+"),"g"),l=0;l<a;l+=1)(t=i[l])&&t.length&&t!==n&&o.push(t.replace(s,""));return o}function y(e,t){if(!t||"object"!=typeof e)return e.toString();if(t.endsWith("()"))return e[t.slice(0,t.length-2)]().toString();var n,r=_createForOfIteratorHelper2(t.replace(/\[(\w+)\]/g,".$1").replace(/^\./,"").split("."));try{for(r.s();!(n=r.n()).done;){var i=n.value;i in e&&(e=e[i])}}catch(o){r.e(o)}finally{r.f()}return e?e.toString():""}var b=0,C=function(){return _createClass2((function e(t,n,i,o){var a=this;_classCallCheck2(this,e),this.positionService=t,this.renderer=n,this.element=i,this.changeDetectorRef=o,this.activeChangeEvent=ne
1w r.EventEmitter,this.isFocused=!1,this.height=0,this.popupId="ngb-typeahead-"+b++,this._matches=[],this.isScrolledIntoView=function(e){var t=this.ulElement.nativeElement.scrollTop,n=t+Number(this.ulElement.nativeElement.offsetHeight),r=e.offsetTop;return r+e.offsetHeight<=n&&r>=t},this.renderer.setAttribute(this.element.nativeElement,"id",this.popupId),this.positionServiceSubscription=this.positionService.event$.subscribe((function(){if(a.isAnimated)return a.animationState=a.isTopPosition?"animated-up":"animated-down",void a.changeDetectorRef.detectChanges();a.animationState="unanimated",a.changeDetectorRef.detectChanges()}))}),[{key:"isBs4",get:function(){return!Object(i.d)()}},{key:"typeaheadTemplateMethods",get:function(){return{selectMatch:this.selectMatch.bind(this),selectActive:this.selectActive.bind(this),isActive:this.isActive.bind(this)}}},{key:"active",get:function(){return this._active},set:function(e){this._active=e,this.activeChanged()}},{key:"matches",get:function(){return this._matches},set:function(e){var t=this;if(this.positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition}},allowedPositions:["top","bottom"]}),this._matches=e,this.needScrollbar=this.typeaheadScrollable&&this.typeaheadOptionsInScrollableView<this.matches.length,this.typeaheadScrollable&&setTimeout((function(){t.setScrollableMode()})),this.typeaheadIsFirstItemActive&&this._matches.length>0&&(this.active=this._matches[0],this._active.isHeader()&&this.nextActiveMatch()),this._active&&!this.typeaheadIsFirstItemActive){var n=this._matches.find((function(e){return e.value===t._active.value}));if(n)return void this.selectActive(n);this.active=null}}},{key:"isTopPosition",get:function(){return this.element.nativeElement.classList.contains("top")}},{key:"optionsListTemplate",get:function(){return this.parent?this.parent.optionsListTemplate:void 0}},{key:"isAnimated",get:function(){return!!this.parent&&this.parent.isAnimated}},{key:"adaptivePosition",get:function(){return!!this.parent&&this.parent.adaptivePosition}},{key:"typeaheadScrollable",get:function(){return!!this.parent&&this.parent.typeaheadScrollable}},{key:"typeaheadOptionsInScrollableView",get:function(){return this.parent?this.parent.typeaheadOptionsInScrollableView:5}},{key:"typeaheadIsFirstItemActive",get:function(){return!this.parent||this.parent.typeaheadIsFirstItemActive}},{key:"itemTemplate",get:function(){return this.parent?this.parent.typeaheadItemTemplate:void 0}},{key:"selectActiveMatch",value:function(e){this._active&&this.parent.typeaheadSelectFirstItem&&this.selectMatch(this._active),!this.parent.typeaheadSelectFirstItem&&e&&this.selectMatch(this._active)}},{key:"activeChanged",value:function(){var e=this.matches.indexOf(this._active);this.activeChangeEvent.emit("".concat(this.popupId,"-").concat(e))}},{key:"prevActiveMatch",value:function(){var e=this.matches.indexOf(this._active);this.active=this.matches[e-1<0?this.matches.length-1:e-1],this._active.isHeader()&&this.prevActiveMatch(),this.typeaheadScrollable&&this.scrollPrevious(e)}},{key:"nextActiveMatch",value:function(){var e=this.matches.indexOf(this._active);this.active=this.matches[e+1>this.matches.length-1?0:e+1],this._active.isHeader()&&this.nextActiveMatch(),this.typeaheadScrollable&&this.scrollNext(e)}},{key:"selectActive",value:function(e){this.isFocused=!0,this.active=e}},{key:"highlight",value:function(e,t){var n,r,i=e.value,o=(this.parent&&this.parent.typeaheadLatinize?v(i):i).toLowerCase();if("object"==typeof t)for(var a=t.length,s=0;s<a;s+=1)n=o.indexOf(t[s]),r=t[s].length,n>=0&&r>0&&(i="".concat(i.substring(0,n),"<strong>").concat(i.substring(n,n+r),"</strong>")+i.substring(n+r),o="".concat(o.substring(0,n)," ").concat(" ".repeat(r)," ")+o.substring(n+r));else t&&(n=o.indexOf(t),r=t.length,n>=0&&r>0&&(i="".concat(i.substring(0,n),"<strong>").concat(i.substring(n,n+r),"</strong>")+i.substring(n+r)));return i}},{key:"focusLost",value:function(){this.isFocused=!1}},{key:"isActive",value:function(e){return this.active===e}},{key:"selectMatch",value:function(e,t){var n=this;return t&&(t.stopPropagation(),t.preventDefault()),this.parent.changeModel(e),setTimeout((function(){return n.parent.typeaheadOnSelect.emit(e)}),0),!1}},{key:"setScrollableMode",value:function(){if(this.ulElement||(this.ulElement=this.element),this.liElements.first){var e=i.b.getStyles(this.ulElement.nativeElement),t=i.b.getStyles(this.liElements.first.
1nativeElement),n=parseFloat((e["padding-bottom"]?e["padding-bottom"]:"").replace("px","")),r=parseFloat((e["padding-top"]?e["padding-top"]:"0").replace("px","")),o=parseFloat((t.height?t.height:"0").replace("px",""));this.guiHeight=this.typeaheadOptionsInScrollableView*o+r+n+"px"}this.renderer.setStyle(this.element.nativeElement,"visibility","visible")}},{key:"scrollPrevious",value:function(e){if(0!==e){if(this.liElements){var t=this.liElements.toArray()[e-1];t&&!this.isScrolledIntoView(t.nativeElement)&&(this.ulElement.nativeElement.scrollTop=t.nativeElement.offsetTop)}}else this.scrollToBottom()}},{key:"scrollNext",value:function(e){if(e+1>this.matches.length-1)this.scrollToTop();else if(this.liElements){var t=this.liElements.toArray()[e+1];t&&!this.isScrolledIntoView(t.nativeElement)&&(this.ulElement.nativeElement.scrollTop=t.nativeElement.offsetTop-Number(this.ulElement.nativeElement.offsetHeight)+Number(t.nativeElement.offsetHeight))}}},{key:"ngOnDestroy",value:function(){this.positionServiceSubscription.unsubscribe()}},{key:"scrollToBottom",value:function(){this.ulElement.nativeElement.scrollTop=this.ulElement.nativeElement.scrollHeight}},{key:"scrollToTop",value:function(){this.ulElement.nativeElement.scrollTop=0}}])}(),w=_createClass2((function e(){_classCallCheck2(this,e),this.adaptivePosition=!1,this.isAnimated=!1,this.hideResultsOnBlur=!0,this.cancelRequestOnFocusLost=!1,this.selectFirstItem=!0,this.isFirstItemActive=!0,this.minLength=1})),k=function(){return _createClass2((function e(t,n,i,o,a,s,l){_classCallCheck2(this,e),this.changeDetection=i,this.element=o,this.ngControl=a,this.renderer=s,this.typeaheadMinLength=void 0,this.isAnimated=!1,this.typeaheadAsync=void 0,this.typeaheadLatinize=!0,this.typeaheadSingleWords=!0,this.typeaheadWordDelimiters=" ",this.typeaheadPhraseDelimiters="'\"",this.typeaheadScrollable=!1,this.typeaheadOptionsInScrollableView=5,this.typeaheadSelectFirstItem=!0,this.typeaheadIsFirstItemActive=!0,this.typeaheadLoading=new r.EventEmitter,this.typeaheadNoResults=new r.EventEmitter,this.typeaheadOnSelect=new r.EventEmitter,this.typeaheadOnBlur=new r.EventEmitter,this.dropup=!1,this.isOpen=!1,this.list="list",this.isActiveItemChanged=!1,this.isFocused=!1,this.cancelRequestOnFocusLost=!1,this.keyUpEventEmitter=new r.EventEmitter,this.placement="bottom left",this._subscriptions=[],this._typeahead=t.createLoader(o,l,s).provide({provide:w,useValue:n}),Object.assign(this,{typeaheadHideResultsOnBlur:n.hideResultsOnBlur,typeaheadCancelRequestOnFocusLost:n.cancelRequestOnFocusLost,typeaheadSelectFirstItem:n.selectFirstItem,typeaheadIsFirstItemActive:n.isFirstItemActive,typeaheadMinLength:n.minLength,adaptivePosition:n.adaptivePosition,isAnimated:n.isAnimated})}),[{key:"ngOnInit",value:function(){this.typeaheadOptionsLimit=this.typeaheadOptionsLimit||20,this.typeaheadMinLength=void 0===this.typeaheadMinLength?1:this.typeaheadMinLength,this.typeaheadWaitMs=this.typeaheadWaitMs||0,void 0!==this.typeaheadAsync||s(this.typeahead)||(this.typeaheadAsync=!1),s(this.typeahead)&&(this.typeaheadAsync=!0),this.typeaheadAsync?this.asyncActions():this.syncActions()}},{key:"onInput",value:function(e){var t=void 0!==e.target.value?e.target.value:void 0!==e.target.textContent?e.target.textContent:e.target.innerText;null!=t&&t.trim().length>=this.typeaheadMinLength?(this.typeaheadLoading.emit(!0),this.keyUpEventEmitter.emit(e.target.value)):(this.typeaheadLoading.emit(!1),this.typeaheadNoResults.emit(!1),this.hide())}},{key:"onChange",value:function(e){if(this._container){if(27===e.keyCode||"Escape"===e.key)return void this.hide();if(38===e.keyCode||"ArrowUp"===e.key)return this.isActiveItemChanged=!0,void this._container.prevActiveMatch();if(40===e.keyCode||"ArrowDown"===e.key)return this.isActiveItemChanged=!0,void this._container.nextActiveMatch();if(13===e.keyCode||"Enter"===e.key)return void this._container.selectActiveMatch()}}},{key:"onFocus",value:function(){var e=this;this.isFocused=!0,setTimeout((function(){0===e.typeaheadMinLength&&(e.typeaheadLoading.emit(!0),e.keyUpEventEmitter.emit(e.element.nativeElement.value||""))}),0)}},{key:"onBlur",value:function(){this.isFocused=!1,this._container&&!this._container.isFocused&&this.typeaheadOnBlur.emit(this._container.active),this.container||0!==this._matches.length||this.typeaheadOnBlur.emit(new A(this.element.nativeElement.value,this.element.nativeElement.value,!1))}},{key:"onKeydown",value:function(e){if(this._container&&(9!==e.keyCode&&"Tab"!==e.key||this.onBlur(),9===e.keyCode||"Tab"===e.key||13===e.keyCode||"Enter"===e.key)){if(e.preventDefault(),this.typeaheadSelectFirstItem)return void this._container.selectActiveMatch();this.typeaheadSelectFirstItem||(this._container.selectActiveMatch(this.isActiveItem
1Changed),this.isActiveItemChanged=!1,this.hide())}}},{key:"changeModel",value:function(e){var t=e.value;this.ngControl.viewToModelUpdate(t),this.ngControl.control.setValue(t),this.changeDetection.markForCheck(),this.hide()}},{key:"matches",get:function(){return this._matches}},{key:"show",value:function(){var e=this;this._typeahead.attach(C).to(this.container).position({attachment:(this.dropup?"top":"bottom")+" left"}).show({typeaheadRef:this,placement:this.placement,animation:!1,dropup:this.dropup}),this._outsideClickListener=this.renderer.listen("document","click",(function(t){0===e.typeaheadMinLength&&e.element.nativeElement.contains(t.target)||e.typeaheadHideResultsOnBlur&&!e.element.nativeElement.contains(t.target)&&e.onOutsideClick()})),this._container=this._typeahead.instance,this._container.parent=this;var t=(this.typeaheadLatinize?v(this.ngControl.control.value):this.ngControl.control.value).toString().toLowerCase();this._container.query=this.typeaheadSingleWords?m(t,this.typeaheadWordDelimiters,this.typeaheadPhraseDelimiters):t,this._container.matches=this._matches,this.element.nativeElement.focus(),this._container.activeChangeEvent.subscribe((function(t){e.activeDescendant=t,e.changeDetection.markForCheck()})),this.isOpen=!0}},{key:"hide",value:function(){this._typeahead.isShown&&(this._typeahead.hide(),this._outsideClickListener(),this._container=null,this.isOpen=!1,this.changeDetection.markForCheck())}},{key:"onOutsideClick",value:function(){this._container&&!this._container.isFocused&&this.hide()}},{key:"ngOnDestroy",value:function(){var e,t=_createForOfIteratorHelper2(this._subscriptions);try{for(t.s();!(e=t.n()).done;){e.value.unsubscribe()}}catch(n){t.e(n)}finally{t.f()}this._typeahead.dispose()}},{key:"asyncActions",value:function(){var e=this;this._subscriptions.push(this.keyUpEventEmitter.pipe(Object(c.a)(this.typeaheadWaitMs),Object(h.a)((function(){return e.typeahead}))).subscribe((function(t){e.finalizeAsyncCall(t)})))}},{key:"syncActions",value:function(){var e=this;this._subscriptions.push(this.keyUpEventEmitter.pipe(Object(c.a)(this.typeaheadWaitMs),Object(d.a)((function(t){var n=e.normalizeQuery(t);return Object(l.a)(e.typeahead).pipe(Object(f.a)((function(t){return t&&e.testMatch(e.normalizeOption(t),n)})),Object(p.a)(g,[]))}))).subscribe((function(t){e.finalizeAsyncCall(t)})))}},{key:"normalizeOption",value:function(e){var t=y(e,this.typeaheadOptionField);return(this.typeaheadLatinize?v(t):t).toLowerCase()}},{key:"normalizeQuery",value:function(e){var t=(this.typeaheadLatinize?v(e):e).toString().toLowerCase();return t=this.typeaheadSingleWords?m(t,this.typeaheadWordDelimiters,this.typeaheadPhraseDelimiters):t}},{key:"testMatch",value:function(e,t){var n;if("object"==typeof t){n=t.length;for(var r=0;r<n;r+=1)if(t[r].length>0&&e.indexOf(t[r])<0)return!1;return!0}return e.indexOf(t)>=0}},{key:"finalizeAsyncCall",value:function(e){if(this.prepareMatches(e||[]),this.typeaheadLoading.emit(!1),this.typeaheadNoResults.emit(!this.hasMatches()),this.hasMatches()){if(this.isFocused||!this.cancelRequestOnFocusLost)if(this._container){var t=((this.typeaheadLatinize?v(this.ngControl.control.value):this.ngControl.control.value)||"").toString().toLowerCase();this._container.query=this.typeaheadSingleWords?m(t,this.typeaheadWordDelimiters,this.typeaheadPhraseDelimiters):t,this._container.matches=this._matches}else this.show()}else this.hide()}},{key:"prepareMatches",value:function(e){var t=this,n=e.slice(0,this.typeaheadOptionsLimit),r=this.typeaheadOrderBy?this.orderMatches(n):n;if(this.typeaheadGroupField){var i=[];r.map((function(e){return y(e,t.typeaheadGroupField)})).filter((function(e,t,n){return n.indexOf(e)===t}
1)).forEach((function(e){i.push(new A(e,e,!0)),i=i.concat(r.filter((function(n){return y(n,t.typeaheadGroupField)===e})).map((function(e){return new A(e,y(e,t.typeaheadOptionField))})))})),this._matches=i}else this._matches=r.map((function(e){return new A(e,y(e,t.typeaheadOptionField))}))}},{key:"orderMatches",value:function(e){if(!e.length)return e;if(null!=this.typeaheadOrderBy&&"object"==typeof this.typeaheadOrderBy&&0===Object.keys(this.typeaheadOrderBy).length)return console.error("Field and direction properties for typeaheadOrderBy have to be set according to documentation!"),e;var t=this.typeaheadOrderBy,n=t.field,r=t.direction;return!r||"asc"!==r&&"desc"!==r?(console.error('typeaheadOrderBy direction has to equal "asc" or "desc". Please follow the documentation.'),e):"string"==typeof e[0]?"asc"===r?e.sort():e.sort().reverse():n&&"string"==typeof n?e.sort((function(e,t){var i=y(e,n),o=y(t,n);return i<o?"asc"===r?-1:1:i>o?"asc"===r?1:-1:0})):(console.error("typeaheadOrderBy field has to set according to the documentation."),e)}},{key:"hasMatches",value:function(){return this._matches.length>0}}])}(),E=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[u.a,o.a,w]}}}])}()},ZUHj:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("51Dv"),i=n("SeVD"),o=n("HDdC");function a(e,t,n,a){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new r.a(e,n,a);if(!s.closed)return t instanceof o.a?t.subscribe(s):Object(i.a)(t)(s)}},"ZkL/":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("8Y7J"),i=n("SxV6"),o=n("sKXY"),a=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.orderService=t,this.router=n,this.done=new r.EventEmitter,this.orders=[],this.loading=!1,this.error=null,this.ordersChecked=!1,this.OrderStatus=o.c,this.subscriptions=[]}),[{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}},{key:"ngAfterViewInit",value:function(){var e=this;this.subscriptions.push(this.modal.done.subscribe((function(t){e.done.emit(t)})))}},{key:"open",value:function(){this.ordersChecked&&this.orders.length>0?(this.loading=!1,this.error=null):this.loadOrders(),this.modal.open()}},{key:"hasOrders",value:function(){var e=this;return new Promise((function(t){e.orderService.getOrders().pipe(Object(i.a)()).subscribe((function(n){var r=n&&n.length>0;r&&(e.orders=n,e.ordersChecked=!0),t(r)}),(function(e){console.error("Error checking orders:",e),t(!1)}))}))}},{key:"close",value:function(){this.modal&&this.modal.close()}},{key:"onCancel",value:function(){this.done.emit("cancel"),this.close()}},{key:"onOrderSelect",value:function(e){var t=this;this.router.navigate(["/order",e.id]).then((function(){t.done.emit("accept"),t.close()}))}},{key:"loadOrders",value:function(){var e=this;this.loading=!0,this.error=null,this.orders=[],this.subscriptions.push(this.orderService.getOrders().pipe(Object(i.a)()).subscribe((function(t){e.orders=t,e.loading=!1}),(function(t){e.error="Failed to load orders. Please try again.",e.loading=!1,console.error("Error loading orders:",t)})))}},{key:"getOrderDescription",value:function(e){return e.firstName&&e.lastName?"".concat(e.firstName," ").concat(e.lastName," - ").concat(e.formattedNumericId||e.id):e.formattedNumericId?"Order "+e.formattedNumericId:"Order "+e.id}}])}()},aHM3:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n("8Y7J"),n("s7LF");var r=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this.el=t,this.cdr=n,this.group=r,this.renderer=i,this.onChange=Function.prototype,this.onTouched=Function.prototype}),[{key:"value",get:function(){return this.group?this.group.value:this._value},set:function(e){this.group?this.group.value=e:this._value=e}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e,this.setDisabledState(e)}},{key:"isActive",get:function(){return this.btnRadio===this.value}},{key:"onClick",value:function(){this.el.nativeElement.attributes.disabled||!this.uncheckable&&this.btnRadio===this.value||(this.value=this.uncheckable&&this.btnRadio===this.value?void 0:this.btnRadio,this._onChange(this.value))}},{key:"ngOnInit",value:function(){this.uncheckable=void 0!==this.uncheckable}},{key:"onBlur",value:function(){this.onTouched()}},{key:"_onChange",value:function(e){if(this.group)return this.group.onTouched(),void this.group.onChange(e);this.onTouched(),this.onChange(e)}},{key:"writeValue",value:function(e){this.value=e,this.cdr.markForCheck()}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.renderer.setAttribute(this.el.nativeElement,"disabled","disabled"):this.renderer.removeAttribute(this.el.nativeElement,"disabled")}}])}(),i=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.cdr=t,this.onChange=Function.prototype,this.onTouched=Function.prototype}),[{key:"value",get:function(){return this._value},set:function(e){this._value=e}},{key:"writeValue",value:function(e){this._value=e,this.cdr.markForCheck()}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.radioButtons&&this.radioButtons.forEach((function(t){t.setDisabledState(e)}))}}])}(),o=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[]}}}])}()},"aLe/":function(e,t,n){"use strict";var r=n("XNiG"),i=n("xgIS"),o=n("VRyK"),a=n("3UWI"),s=n("1G5W"),l=n("/uUt"),u=n("7o/Q");function c(e){return function(t){return t.lift(new h(e))}}var h=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.value=t}),[{key:"call",value:function(e,t){return t.subscribe(new d(e,this.value))}}])}(),d=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).value=n,r}
vendor: 4,114 bytes, line 1
1return _inherits2(t,e),_createClass2(t,[{key:"_next",value:function(e){this.destination.next(this.value)}}])}(u.a),f=n("8Y7J"),p=n("SVse");function g(e){return getComputedStyle(e)}function _(e,t){for(var n in t){var r=t[n];"number"==typeof r&&(r+="px"),e.style[n]=r}return e}function A(e){var t=document.createElement("div");return t.className=e,t}var v="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function m(e,t){if(!v)throw new Error("No element matching method supported");return v.call(e,t)}function y(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function b(e,t){return Array.prototype.filter.call(e.children,(function(e){return m(e,t)}))}var C=function(e){return"ps__thumb-"+e},w=function(e){return"ps__rail-"+e},k=function(e){return"ps--active-"+e},E=function(e){return"ps--scrolling-"+e},S={x:null,y:null};function O(e,t){var n=e.element.classList,r=E(t);n.contains(r)?clearTimeout(S[t]):n.add(r)}function x(e,t){S[t]=setTimeout((function(){return e.isAlive&&e.element.classList.remove(E(t))}),e.settings.scrollingThreshold)}var P=function(e){this.element=e,this.handlers={}},T={isEmpty:{configurable:!0}};P.prototype.bind=function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},P.prototype.unbind=function(e,t){var n=this;this.handlers[e]=this.handlers[e].filter((function(r){return!(!t||r===t)||(n.element.removeEventListener(e,r,!1),!1)}))},P.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},T.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every((function(t){return 0===e.handlers[t].length}))},Object.defineProperties(P.prototype,T);var B=function(){this.eventElements=[]};function D(e){if("function"==typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function M(e,t,n,r,i){var o;if(void 0===r&&(r=!0),void 0===i&&(i=!1),"top"===t)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(e,t,n,r,i){var o=n[0],a=n[1],s=n[2],l=n[3],u=n[4],c=n[5];void 0===r&&(r=!0),void 0===i&&(i=!1);var h=e.element;e.reach[l]=null,h[s]<1&&(e.reach[l]="start"),h[s]>e[o]-e[a]-1&&(e.reach[l]="end"),t&&(h.dispatchEvent(D("ps-scroll-"+l)),t<0?h.dispatchEvent(D("ps-scroll-"+u)):t>0&&h.dispatchEvent(D("ps-scroll-"+c)),r&&function(e,t){O(e,t),x(e,t)}(e,l)),e.reach[l]&&(t||i)&&h.dispatchEvent(D("ps-"+l+"-reach-"+e.reach[l]))}(e,n,o,r,i)}function I(e){return parseInt(e,10)||0}B.prototype.eventElement=function(e){var t=this.eventElements.filter((function(t){return t.element===e}))[0];return t||(t=new P(e),this.eventElements.push(t)),t},B.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},B.prototype.unbind=function(e,t,n){var r=this.eventElement(e);r.unbind(t,n),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},B.prototype.unbindAll=function(){this.eventElements.forEach((function(e){return e.unbindAll()})),this.eventElements=[]},B.prototype.once=function(e,t,n){var r=this.eventElement(e),i=function(e){r.unbind(t,i),n(e)};r.bind(t,i)};var R={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function F(e){var t=e.element,n=Math.floor(t.scrollTop),r=t.getBoundingClientRect();e.containerWidth=Math.ceil(r.width),e.containerHeight=Math.ceil(r.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(b(t,w("x")).forEac
1h((function(e){return y(e)})),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(b(t,w("y")).forEach((function(e){return y(e)})),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=L(e,I(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=I((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=L(e,I(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=I(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),function(e,t){var n={width:t.railXWidth},r=Math.floor(e.scrollTop);n.left=t.isRtl?t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:e.scrollLeft,t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-r:n.top=t.scrollbarXTop+r,_(t.scrollbarXRail,n);var i={top:r,height:t.railYHeight};t.isScrollbarYUsingRight?i.right=t.isRtl?t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:t.scrollbarYRight-e.scrollLeft:i.left
1=t.isRtl?t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:t.scrollbarYLeft+e.scrollLeft,_(t.scrollbarYRail,i),_(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),_(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}(t,e),e.scrollbarXActive?t.classList.add(k("x")):(t.classList.remove(k("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=!0===e.isRtl?e.contentWidth:0),e.scrollbarYActive?t.classList.add(k("y")):(t.classList.remove(k("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function L(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function U(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],c=t[8],h=e.element,d=null,f=null,p=null;function g(t){t.touches&&t.touches[0]&&(t[i]=t.touches[0].pageY),h[l]=d+p*(t[i]-f),O(e,u),F(e),t.stopPropagation(),t.preventDefault()}function _(){x(e,u),e[c].classList.remove("ps--clicking"),e.event.unbind(e.ownerDocument,"mousemove",g)}function A(t,a){d=h[l],a&&t.touches&&(t[i]=t.touches[0].pageY),f=t[i],p=(e[r]-e[n])/(e[o]-e[s]),a?e.event.bind(e.ownerDocument,"touchmove",g):(e.event.bind(e.ownerDocument,"mousemove",g),e.event.once(e.ownerDocument,"mouseup",_),t.preventDefault()),e[c].classList.add("ps--clicking"),t.stopPropagation()}e.event.bind(e[a],"mousedown",(function(e){A(e)})),e.event.bind(e[a],"touchstart",(function(e){A(e,!0)}))}var N={"click-rail":function(e){e.event.bind(e.scrollbarY,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarYRail,"mousedown",(function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top;e.element.scrollTop+=(n>e.scrollbarYTop?1:-1)*e.containerHeight,F(e),t.stopPropagation()})),e.event.bind(e.scrollbarX,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarXRail,"mousedown",(function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left;e.element.scrollLeft+=(n>e.scrollbarXLeft?1:-1)*e.containerWidth,F(e),t.stopPropagation()}))},"drag-thumb":function(e){U(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),U(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(e){var t=e.element;e.event.bind(e.ownerDocument,"keydown",(function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(m(t,":hover")||m(e.scrollbarX,":focus")||m(e.scrollbarY,":focus"))){var r,i=document.activeElement?document.activeElement:e.ownerDocument.activeElement;
vendor: 7,383 bytes, line 1
1if(i){if("IFRAME"===i.tagName)i=i.contentDocument.activeElement;else for(;i.shadowRoot;)i=i.shadowRoot.activeElement;if(m(r=i,"input,[contenteditable]")||m(r,"select,[contenteditable]")||m(r,"textarea,[contenteditable]")||m(r,"button,[contenteditable]"))return}var o=0,a=0;switch(n.which){case 37:o=n.metaKey?-e.contentWidth:n.altKey?-e.containerWidth:-30;break;case 38:a=n.metaKey?e.contentHeight:n.altKey?e.containerHeight:30;break;case 39:o=n.metaKey?e.contentWidth:n.altKey?e.containerWidth:30;break;case 40:a=n.metaKey?-e.contentHeight:n.altKey?-e.containerHeight:-30;break;case 32:a=n.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:a=e.containerHeight;break;case 34:a=-e.containerHeight;break;case 36:a=e.contentHeight;break;case 35:a=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&0!==o||e.settings.suppressScrollY&&0!==a||(t.scrollTop-=a,t.scrollLeft+=o,F(e),function(n,r){var i=Math.floor(t.scrollTop);if(0===n){if(!e.scrollbarYActive)return!1;if(0===i&&r>0||i>=e.contentHeight-e.containerHeight&&r<0)return!e.settings.wheelPropagation}var o=t.scrollLeft;if(0===r){if(!e.scrollbarXActive)return!1;if(0===o&&n<0||o>=e.contentWidth-e.containerWidth&&n>0)return!e.settings.wheelPropagation}return!0}(o,a)&&n.preventDefault())}}))},wheel:function(e){var t=e.element;function n(n){var r=function(e){var t=e.deltaX,n=-1*e.deltaY;return void 0!==t&&void 0!==n||(t=-1*e.wheelDeltaX/6,n=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,n*=10),t!=t&&n!=n&&(t=0,n=e.wheelDelta),e.shiftKey?[-n,-t]:[t,n]}(n),i=r[0],o=r[1];if(!function(e,n,r){if(!R.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(e))return!1;for(var i=e;i&&i!==t;){if(i.classList.contains("ps__child--consume"))return!0;var o=g(i);if(r&&o.overflowY.match(/(scroll|auto)/)){var a=i.scrollHeight-i.clientHeight;if(a>0&&(i.scrollTop>0&&r<0||i.scrollTop<a&&r>0))return!0}if(n&&o.overflowX.match(/(scroll|auto)/)){var s=i.scrollWidth-i.clientWidth;if(s>0&&(i.scrollLeft>0&&n<0||i.scrollLeft<s&&n>0))return!0}i=i.parentNode}return!1}(n.target,i,o)){var a=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(o?t.scrollTop-=o*e.settings.wheelSpeed:t.scrollTop+=i*e.settings.wheelSpeed,a=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(i?t.scrollLeft+=i*e.settings.wheelSpeed:t.scrollLeft-=o*e.settings.wheelSpeed,a=!0):(t.scrollTop-=o*e.settings.wheelSpeed,t.scrollLeft+=i*e.settings.wheelSpeed),F(e),(a=a||function(n,r){var i=Math.floor(t.scrollTop),o=0===t.scrollTop,a=i+t.offsetHeight===t.scrollHeight,s=0===t.scrollLeft,l=t.scrollLeft+t.offsetWidth===t.scrollWidth;return!(Math.abs(r)>Math.abs(n)?o||a:s||l)||!e.settings.wheelPropagation}(i,o))&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}void 0!==window.onwheel?e.event.bind(t,"wheel",n):void 0!==window.onmousewheel&&e.event.bind(t,"mousewheel",n)},touch:function(e){if(R.supportsTouch||R.supportsIePointer){var t=e.element,n={},r=0,i={},o=null;R.supportsTouch?(e.event.bind(t,"touchstart",u),e.event.bind(t,"touchmove",c),e.event.bind(t,"touchend",h)):R.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",u),e.event.bind(t,"pointermove",c),e.event.bind(t,"pointerup",h)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",u),e.event.bind(t,"MSPointerMove",c),e.event.bind(t,"MSPointerUp",h)))}function a(n,r){t.scrollTop-=r,t.scrollLeft-=n,F(e)}function s(e){return e.targetTouches?e.targetTouches[0]:e}function l(e){return!(e.pointerType&&"pen"===e.pointerType&&0===e.buttons||(!e.targetTouches||1!==e.targetTouches.length)&&(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function u(e){if(l(e)){var t=s(e);n.pageX=t.pageX,n.pageY=t.pageY,r=(new Date).getTime(),null!==o&&clearInterval(o)}}function c(o){if(l(o)){var u=s(o),c={pageX:u.pageX,pageY:u.pageY},h=c.pageX-n.pageX,d=c.pageY-n.pageY;if(function(e,n,r){if(!t.contains(e))return!1;for(var i=e;i&&i!==t;){if(i.classList.contains("ps__child--consume"))return!0;var o=g(i);if(r&&o.overflowY.match(/(scroll|auto)/)){var a=i.scrollHeight-i.clientHeight;if(a>0&&(i.scrollTop>0&&r<0||i.scrollTop<a&&r>0))return!0}if(n&&o.overflowX.match(/(scroll|auto)/)){var s=i.scrollWidth-i.clientWidth;if(s>0&&(i.scrollLeft>0&&n<0||i.scrollLeft<s&&n>0))return!0}i=i.parentNode}return!1}(o.target,h,d))return;a(h,d),n=c;var f=(new Date).getTime(),p=f-r;p>0&&(i.x=h/p,i.y=d/p,r=f),function(n,r){var i=Math.floor(t.scrollTop),o=t.scrollLeft,a=Math.abs(n),s=Math.abs(r);if(s>a){if(r<0&&i===e.contentHeight-e.containerHeight||r>0&&0===i)return 0===window.scrollY&&r>0&&R.isChrome}else if(a>s&&(n<0&&o===e.contentWidth-e.containerWidth||n>0&&0===o))return!0;return!0}(h,d)&&o.preventDefault()}}function h(){e.settings.swipeEasing&&(clearInterval(o),o=setInterval((function(){e.isInitialized?clearInterval(o):i.x||i.y?Math.abs(i.x)<.01&&Math.abs(i.y)<.01?clearInterval(o):(a(30*i.x,30*i.y),i.x*=.8,i.y*=.8):clearInterval(o)}),10))}}},j=function(e,t){var n=this;if(void 0===t&&(t={}),"string"==typeof e&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var r in this.element=e,e.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},t)this.settings[r]=t[r];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var i,o,a=function(){return e.classList.add("ps--focus")},s=function(){return e.classList.remove("ps--focus")};this.isRtl="rtl"===g(e).direction,!0===this.isRtl&&e.classList.add("ps__rtl"),this.isNegativeScroll=(o=e.scrollLeft,e.scrollLeft=-1,i=e.scrollLeft<0,e.scrollLeft=o,i),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new B,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=A(w("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=A(C("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",a),this.event.bind(this.scrollbarX,"blur",s),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var l=g(this.scrollbarXRail);this.scrollbarXBottom=parseInt(l.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=I(l.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=I(l.borderLeftWidth)+I(l.borderRightWidth),_(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=I(l.marginLeft)+I(l.marginRight),_(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=A(w("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=A(C("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",a),this.event.bind(this.scrollbarY,"blur",s),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var u=g(this.scrollbarYRail);this.scrollbarYRight=parseInt(u.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=I(u.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(e){var t=g(e);
1return I(t.width)+I(t.paddingLeft)+I(t.paddingRight)+I(t.borderLeftWidth)+I(t.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=I(u.borderTopWidth)+I(u.borderBottomWidth),_(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=I(u.marginTop)+I(u.marginBottom),_(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach((function(e){return N[e](n)})),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",(function(e){return n.onScroll(e)})),F(this)};j.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,_(this.scrollbarXRail,{display:"block"}),_(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=I(g(this.scrollbarXRail).marginLeft)+I(g(this.scrollbarXRail).marginRight),this.railYMarginHeight=I(g(this.scrollbarYRail).marginTop)+I(g(this.scrollbarYRail).marginBottom),_(this.scrollbarXRail,{display:"none"}),_(this.scrollbarYRail,{display:"none"}),F(this),M(this,"top",0,!1,!0),M(this,"left",0,!1,!0),_(this.scrollbarXRail,{display:""}),_(this.scrollbarYRail,{display:""}))},j.prototype.onScroll=function(e){this.isAlive&&(F(this),M(this,"top",this.element.scrollTop-this.lastScrollTop),M(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},j.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),y(this.scrollbarX),y(this.scrollbarY),y(this.scrollbarXRail),y(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},j.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(e){return!e.match(/^ps([-_].+|)$/)})).join(" ")};var H=j,Q=n("bdgK");n.d(t,"a",(function(){return V})),n.d(t,"b",(function(){return G})),n.d(t,"c",(function(){return Y})),n.d(t,"d",(function(){return X}));var V=new f.InjectionToken("PERFECT_SCROLLBAR_CONFIG"),K=_createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this.x=t,this.y=n,this.w=r,this.h=i})),W=_createClass2((function e(t,n){_classCallCheck2(this,e),this.x=t,this.y=n})),z=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"],q=function(){return _createClass2((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck2(this,e),this.assign(t)}),[{key:"assign",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in e)this[t]=e[t]}}])}(),Y=function(){return _createClass2((function e(t,n,i,o,a){_classCallCheck2(this,e),this.zone=t,this.differs=n,this.elementRef=i,this.platformId=o,this.defaults=a,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new r.a,this.disabled=!1,this.psScrollY=new f.EventEmitter,this.psScrollX=new f.EventEmitter,this.psScrollUp=new f.EventEmitter,this.psScrollDown=new f.EventEmitter,this.psScrollLeft=new f.EventEmitter,this.psScrollRight=new f.EventEmitter,this.psYReachEnd=new f.EventEmitter,this.psYReachStart=new f.EventEmitter,this.psXReachEnd=new f.EventEmitter,this.psXReachStart=new f.EventEmitter}),[{key:"ngOnInit",value:function(){var e=this;if(!this.disabled&&Object(p.z)(this.platformId)){var t=new q(this.defaults);t.assign(this.config),this.zone.runOutsideAngular((function(){e.instance=new H(e.elementRef.nativeElement,t)})),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular((function(){e.ro=new Q.a((function(){e.update()})),e.elementRef.nativeElement.children[0]&&e.ro.observe(e.elementRef.nativeElement.children[0]),e.ro.observe(e.elementRef.nativeElement)})),this.zone.runOutsideAngular((function(){z.forEach((function(t){var n=t.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}));Object(i.a)(e.elementRef.nativeElement,n).pipe(Object(a.a)(20),Object(s.a)(e.ngDestroy)).subscribe((function(n){e[t].emit(n)}))}))}))}}},{key:"ngOnDestroy",value:function(){var e=this;Object(p.z)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular((function(){e.instance&&e.instance.destroy()})),this.instance=null)}},{key:"ngDoCheck",value:function(){!this.disabled&&this.configDiff&&Object(p.z)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}},{key:"ngOnChanges",value:function(e){e.disabled&&!e.disabled.isFirstChange()&&Object(p.z)(this.platformId)&&e.disabled.currentValue!==e.disabled.previousValue&&(!0===e.disabled.currentValue?this.ngOnDestroy():!1===e.disabled.currentValue&&this.ngOnInit())}},{key:"ps",value:function(){return this.instance}},{key:"update",value:function(){var e=this;"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout((function(){if(!e.disabled&&e.configDiff)try{e.zone.runOutsideAngular((function(){e.instance&&e.instance.update(
1)}))}catch(t){}}),0))}},{key:"geometry",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scroll";return new K(this.elementRef.nativeElement[e+"Left"],this.elementRef.nativeElement[e+"Top"],this.elementRef.nativeElement[e+"Width"],this.elementRef.nativeElement[e+"Height"])}},{key:"position",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!e&&this.instance?new W(this.instance.reach.x||0,this.instance.reach.y||0):new W(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}},{key:"scrollable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"any",t=this.elementRef.nativeElement;return"any"===e?t.classList.contains("ps--active-x")||t.classList.contains("ps--active-y"):"both"===e?t.classList.contains("ps--active-x")&&t.classList.contains("ps--active-y"):t.classList.contains("ps--active-"+e)}},{key:"scrollTo",value:function(e,t,n){this.disabled||(null==t&&null==n?this.animateScrolling("scrollTop",e,n):(null!=e&&this.animateScrolling("scrollLeft",e,n),null!=t&&this.animateScrolling("scrollTop",t,n)))}},{key:"scrollToX",value:function(e,t){this.animateScrolling("scrollLeft",e,t)}},{key:"scrollToY",value:function(e,t){this.animateScrolling("scrollTop",e,t)}},{key:"scrollToTop",value:function(e,t){this.animateScrolling("scrollTop",e||0,t)}},{key:"scrollToLeft",value:function(e,t){this.animateScrolling("scrollLeft",e||0,t)}},{key:"scrollToRight",value:function(e,t){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(e||0),t)}},{key:"scrollToBottom",value:function(e,t){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(e||0),t)}},{key:"scrollToElement",value:function(e,t,n){var r=this.elementRef.nativeElement.querySelector(e);if(r){var i=r.getBoundingClientRect(),o=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",i.left-o.left+this.elementRef.nativeElement.scrollLeft+(t||0),n),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",i.top-o.top+this.elementRef.nativeElement.scrollTop+(t||0),n)}}},{key:"animateScrolling",value:function(e,t,n){var r=this;if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),n&&"undefined"!=typeof window){if(t!==this.elementRef.nativeElement[e]){var i=0,o=0,a=performance.now(),s=this.elementRef.nativeElement[e],l=(s-t)/2,u=function(c){o+=Math.PI/(n/(c-a)),i=Math.round(t+l+l*Math.cos(o)),r.elementRef.nativeElement[e]===s&&(o>=Math.PI?r.animateScrolling(e,t,0):(r.elementRef.nativeElement[e]=i,s=r.elementRef.nativeElement[e],a=c,r.animation=window.requestAnimationFrame(u)))};window.requestAnimationFrame(u)}}else this.elementRef.nativeElement[e]=t}}])}(),G=function(){return _createClass2((function e(t,n,i){_classCallCheck2(this,e),this.zone=t,this.cdRef=n,this.platformId=i,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new r.a,this.stateUpdate=new r.a,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new f.EventEmitter,this.psScrollX=new f.EventEmitter,this.psScrollUp=new f.EventEmitter,this.psScrollDown=new f.EventEmitter,this.psScrollLeft=new f.EventEmitter,this.psScrollRight=new f.EventEmitter,this.psYReachEnd=new f.EventEmitter,this.psYReachStart=new f.EventEmitter,this.psXReachEnd=new f.EventEmitter,this.psXReachStart=new f.EventEmitter}),[{key:"ngOnInit",value:function(){var e=this;Object(p.z)(this.platformId)&&(this.stateUpdate.pipe(Object(s.a)(this.ngDestroy),Object(l.a)((function(t,n){return t===n&&!e.stateTimeout}))).subscribe((function(t){e.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(e.stateTimeout),e.stateTimeout=null),"x"===t||"y"===t?(e.interaction=!1,"x"===t?(e.indicatorX=!1,e.states.left=!1,e.states.right=!1,e.autoPropagation&&e.usePropagationX&&(e.allowPropagationX=!1)):"y"===t&&(e.indicatorY=!1,e.states.top=!1,e.states.bottom=!1,e.autoPropagation&&e.usePropagationY&&(e.allowPropagationY=!1))):("left"===t||"right"===t?(e.states.left=!1,e.states.right=!1,e.states[t]=!0,e.autoPropagation&&e.usePropagationX&&(e.indicatorX=!0)):"top"!==t&&"bottom"!==t||(e.states.top=!1,e.states.bottom=!1,e.states[t]=!0,e.autoPropagation&&e.usePropagationY&&(e.indicatorY=!0)),e.autoPropagation&&"undefined"!=typeof window&&(e.stateTimeout=window.setTimeout((function(){e.indicatorX=!1,e.indicatorY=!1,e.stateTimeout=null,e.interaction&&(e.states.left||e.states.right)&&(e.allowPropagationX=!0),e.interaction&&(e.states.top||e.states.bottom)&&(e.allowPropagationY=!0),e.cdRef.markForCheck()}),500))),e.cdRef.markForCheck(),e.cdRef.detectChanges()})),this.zone.runOutsideAngular((function(){if(e.directiveRef){var t=e.directiveRef.elementRef.nativeElement;Object(i.a)(t,"wheel").pipe(Object(s.a)(e.ngDestroy)).subscribe((function(t){!e.disabled&&e.autoPropagation&&e.checkPropagation(t,t.deltaX,t.deltaY)})),Object(i.a)(t,"touchmove").pipe(Object(s.a)(e.ngDestroy)).subscribe((function(t){if(!e.disabled&&e.autoPropagation){var n=t.touches[0].clientX,r=t.touches[0].clientY;e.checkPropagation(t,n-e.scrollPositionX,r-e.scrollPositionY),e.scrollPositionX=n,e.scrollPositionY=r}})),Object(o.a)(Object(i.a)(t,"ps-scroll-x").pipe(c("x")),Object(i.a)(t,"ps-scroll-y").pipe(c("y")),Object(i.a)(t,"ps-x-reach-end").pipe(c("right")),Object(i.a)(t,"ps-y-reach-end").pipe(c("bottom")),Object(i.a)(t,"ps-x-reach-start").pipe(c("left")),Object(i.a)(t,"ps-y-reach-start").pipe(c("top"))).pipe(Object(s.a)(e.ngDestroy)).subscribe((function(t){e.disabled||!e.autoPropagation&&!e.scrollIndicators||e.stateUpdate.next(t)}))}})),window.setTimeout((function(){z.forEach((function(t){e.directiveRef&&(e.directiveRef[t]=e[t])}))}),0))}},{key:"ngOnDestroy",value:function(){Object(p.z)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}},{key:"ngDoCheck",value:function(){if(Object(p.z)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){var e=this.directiveRef.elementRef.nativeElement;this.usePropagationX=e.classList.contains("ps--active-x"),this.usePropagationY=e.classList.contains("ps--active-y")}}},{key:"checkPropagation",value:function(e,t,n){this.interaction=!0;var r=t<0?-1:1,i=n<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==r)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==i))&&(e.preventDefault(),e.stopPropagation()),t&&(this.scrollDirectionX=r),n&&(this.scrollDirectionY=i),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}])}(),X=_createClass2((function e(){_classCallCheck2(this,e)}))},aZ8m:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var r=n("SxV6"),i=n("AytR"),o=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.orderService=t,this.router=n,this.authService=r,this.orders=[],this.ordersCount=0,this.subscriptions=[],this.isAuthenticated=!1}),[{key:"ngOnInit",value:function(){var e=this;this.subscriptions.push(this.orderService.getOrders().pipe(Object(r.a)()).subscribe((function(t){e.orders=t,e.ordersCount=t.length}))),this.subscriptions.push(this.authService.isAuthenticated().subscribe((function(t){e.isAuthenticated=t})))}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}},{key:"openOrdersModal",value:function(){var e=this;this.ordersModal.open(),this.ordersModal.done.subscribe((function(t){e.ordersModal.close()}))}},{key:"navigateToDashboard",value:function(){this.router.navigate(["/account/dashboard"])}},{key:"onSaveAndExitClick",value:function(){window.location.href=i.a.webEndpoint}}])}()},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("5+tZ"),i=n("SpAZ");function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(r.a)(i.a,e)}},bOdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("5+tZ");function i(e,t){return Object(r.a)(e,t,1)}},bOtU:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return g})),n.d(t,"h",(function(){return o})),n.d(t,"i",(function(){return l}));var r=n("8Y7J"),i=n("mrSG"),o=new r.InjectionToken("config"),a=new r.InjectionToken("NEW_CONFIG"),s=new r.InjectionToken("INITIAL_CONFIG"),l={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:".",clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},u=["Hh:m0:s0","Hh:m0","m0:s0"],c=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"],h=function(){return _createClass2((function e(t){var n=this;_classCallCheck2(this,e),this._config=t,this.maskExpression="",this.actualValue="",this.shownMaskExpression="",this._formatWithSeparators=function(e,t,r,i){var o=e.split(r),a=o.length>1?"".concat(r).concat(o[1]):"",s=o[0],l=n.separatorLimit.replace(/\s/g,"");l&&+l&&(s="-"===s[0]?"-"+s.slice(1,s.length).slice(0,l.length):s.slice(0,l.length));for(var u=/(\d+)(\d{3})/;u.test(s);)s=s.replace(u,"$1"+t+"$2");return void 0===i?s+a:0===i?s:s+a.substr(0,i+1)},this.percentage=function(e){return Number(e)>=0&&Number(e)<=100},this.getPrecision=function(e){var t=e.split(".");return t.length>1?Number(t[t.length-1]):1/0},this.checkInputPrecision=function(e,t,r){if(t<1/0){var i=new RegExp(n._charToRegExpExpression(r)+"\\d{".concat(t,"}.*$")),o=e.match(i);(o&&o[0].length-1>t||0===t&&e.endsWith(r))&&(e=e.substring(0,e.length-1))}return e},this._shift=new Set,this.clearIfNotMatch=this._config.clearIfNotMatch,this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.maskSpecialCharacters=this._config.specialCharacters,this.maskAvailablePatterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.hiddenInput=this._config.hiddenInput,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers}),[{key:"applyMaskWithPattern",value:function(e,t){var n=_slicedToArray2(t,2),r=n[0],i=n[1];return this.customPattern=i,this.applyMask(e,r)}},{key:"applyMask",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){};if(null==e||void 0===t)return"";var i=0,o="",a=!1,s=!1,l=1,u=!1;
1e.slice(0,this.prefix.length)===this.prefix&&(e=e.slice(this.prefix.length,e.length)),this.suffix&&e.endsWith(this.suffix)&&(e=e.slice(0,e.length-this.suffix.length));var c=e.toString().split("");if("IP"===t&&(this.ipError=!!(c.filter((function(e){return"."===e})).length<3&&c.length<7),t="099.099.099.099"),t.startsWith("percent")){if(e.match("[a-z]|[A-Z]")||e.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/]/)){e=this._stripToDecimal(e);var h=this.getPrecision(t);e=this.checkInputPrecision(e,h,".")}if(e.indexOf(".")>0&&!this.percentage(e.substring(0,e.indexOf(".")))){var d=e.substring(0,e.indexOf(".")-1);e="".concat(d).concat(e.substring(e.indexOf("."),e.length))}o=this.percentage(e)?e:e.substring(0,e.length-1)}else if(t.startsWith("separator")){(e.match("[w\u0430-\u044f\u0410-\u042f]")||e.match("[\u0401\u0451\u0410-\u044f]")||e.match("[a-z]|[A-Z]")||e.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\[\]:";<>.?\/]/)||e.match("[^A-Za-z0-9,]"))&&(e=this._stripToDecimal(e)),e=e.length>1&&"0"===e[0]&&e[1]!==this.decimalMarker?e.slice(1,e.length):e;var f=this._charToRegExpExpression(this.thousandSeparator),p=this._charToRegExpExpression(this.decimalMarker),g='@#!$%^&*()_+|~=`{}\\[\\]:\\s,";<>?\\/'.replace(f,"").replace(p,""),_=new RegExp("["+g+"]");e.match(_)&&(e=e.substring(0,e.length-1));var A=this.getPrecision(t),v=(e=this.checkInputPrecision(e,A,this.decimalMarker)).replace(new RegExp(f,"g"),""),m=(o=this._formatWithSeparators(v,this.thousandSeparator,this.decimalMarker,A)).indexOf(",")-e.indexOf(","),y=o.length-e.length;if(y>0&&","!==o[n]){s=!0;var b=0;do{this._shift.add(n+b),b++}while(b<y)}else 0!==m&&n>0&&!(o.indexOf(",")>=n&&n>3)||!(o.indexOf(".")>=n&&n>3)&&y<=0?(this._shift.clear(),s=!0,l=y,this._shift.add(n+=y)):this._shift.clear()}else for(var C=0,w=c[0];C<c.length&&i!==t.length;w=c[++C])if(this._checkSymbolMask(w,t[i])&&"?"===t[i+1])o+=w,i+=2;else if("*"===t[i+1]&&a&&this._checkSymbolMask(w,t[i+2]))o+=w,i+=3,a=!1;else if(this._checkSymbolMask(w,t[i])&&"*"===t[i+1])o+=w,a=!0;else if("?"===t[i+1]&&this._checkSymbolMask(w,t[i+2]))o+=w,i+=3;else if(this._checkSymbolMask(w,t[i])||this.hiddenInput&&this.maskAvailablePatterns[t[i]]&&this.maskAvailablePatterns[t[i]].symbol===w){if("H"===t[i]&&Number(w)>2){i+=1;var k=/[*?]/g.test(t.slice(0,i))?c.length:i;this._shift.add(k+this.prefix.length||0),C--;continue}if("h"===t[i]&&"2"===o&&Number(w)>3){i+=1,C--;continue}if("m"===t[i]&&Number(w)>5){i+=1;var E=/[*?]/g.test(t.slice(0,i))?c.length:i;this._shift.add(E+this.prefix.length||0),C--;continue}if("s"===t[i]&&Number(w)>5){i+=1;var S=/[*?]/g.test(t.slice(0,i))?c.length:i;this._shift.add(S+this.prefix.length||0),C--;continue}var O=31;if("d"===t[i]&&(Number(e.slice(i,i+2))>O||"/"===e[i+1])){i+=1;var x=/[*?]/g.test(t.slice(0,i))?c.length:i;this._shift.add(x+this.prefix.length||0),C--;continue}if("M"===t[i]){var P=12,T=0===i&&(Number(w)>2||Number(e.slice(i,i+2))>P||"/"===e[i+1]),B=e.slice(i-3,i-1).includes("/")&&("/"===e[i-2]&&Number(e.slice(i-1,i+1))>P&&"/"!==e[i]||"/"===e[i]||"/"===e[i-3]&&Number(e.slice(i-2,i))>P&&"/"!==e[i-1]||"/"===e[i-1]),D=Number(e.slice(i-3,i-1))<=O&&!e.slice(i-3,i-1).includes("/")&&"/"===e[i-1]&&(Number(e.slice(i,i+2))>P||"/"===e[i+1]),M=Number(e.slice(i-3,i-1))>O&&!e.slice(i-3,i-1).includes("/")&&!e.slice(i-2,i).includes("/")&&Number(e.slice(i-2,i))>P,I=Number(e.slice(i-3,i-1))<=O&&!e.slice(i-3,i-1).includes("/")&&"/"!==e[i-1]&&Number(e.slice(i-1,i+1))>P;if(T||B||D||M||I){i+=1;var R=/[*?]/g.test(t.slice(0,i))?c.length:i;this._shift.add(R+this.prefix.length||0),C--;continue}}o+=w,i++}else if(-1!==this.maskSpecialCharacters.indexOf(t[i])){o+=t[i],i++;var F=/[*?]/g.test(t.slice(0,i))?c.length:i;this._shift.add(F+this.prefix.length||0),C--}else this.maskSpecialCharacters.indexOf(w)>-1&&this.maskAvailablePatterns[t[i]]&&this.maskAvailablePatterns[t[i]].optional?(c[i]&&"099.099.099.099"!==t&&(o+=c[i]),i++,C--):"*"===this.maskExpression[i+1]&&this._findSpecialChar(this.maskExpression[i+2])&&this._findSpecialChar(w)===this.maskExpression[i+2]&&a||"?"===this.maskExpression[i+1]&&this._findSpecialChar(this.maskExpression[i+2])&&this._findSpecialChar(w)===this.maskExpression[i+2]&&a?(i+=3,o+=w):this.showMaskTyped&&this.maskSpecialCharacters.indexOf(w)<0&&w!==this.placeHolderCharacter&&(u=!0);o.length+1===t.length&&-1!==this.maskSpecialCharacters.indexOf(t[t.length-1])&&(o+=t[t.length-1]);for(var L=n+1;this._shift.has(L);)l++,L++;var U=this._shift.has(n)?l:0;u&&U--,r(U,s),l<0&&this._shift.clear();
1var N="".concat(this.prefix).concat(o).concat(this.suffix);return 0===o.length&&(N="".concat(this.prefix).concat(o)),N}},{key:"_findSpecialChar",value:function(e){return this.maskSpecialCharacters.find((function(t){return t===e}))}},{key:"_checkSymbolMask",value:function(e,t){return this.maskAvailablePatterns=this.customPattern?this.customPattern:this.maskAvailablePatterns,this.maskAvailablePatterns[t]&&this.maskAvailablePatterns[t].pattern&&this.maskAvailablePatterns[t].pattern.test(e)}},{key:"_stripToDecimal",value:function(e){return e.split("").filter((function(e,t){return e.match("^-?\\d")||"."===e||","===e||"-"===e&&0===t})).join("")}},{key:"_charToRegExpExpression",value:function(e){return" "===e?"\\s":"[\\^$.|?*+()".indexOf(e)>=0?"\\"+e:e}}])}(),d=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t,[n])).document=e,o._config=n,o._elementRef=r,o._renderer=i,o.maskExpression="",o.isNumberValue=!1,o.placeHolderCharacter="_",o.maskIsShown="",o.selStart=null,o.selEnd=null,o.onChange=function(e){},o._formElement=o._elementRef.nativeElement,o}return _inherits2(t,e),_createClass2(t,[{key:"applyMask",value:function(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){};if(!n)return e;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(e||"#")),!e&&this.showMaskTyped)return this.formControlResult(this.prefix),this.prefix+this.maskIsShown;var a=e&&"number"==typeof this.selStart?e[this.selStart]:"",s="";if(void 0!==this.hiddenInput){var l=this.actualValue.split("");""!==e&&l.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(e.length>l.length?l.splice(this.selStart,0,a):e.length<l.length&&(l.length-e.length==1?l.splice(this.selStart-1,1):l.splice(this.selStart,this.selEnd-this.selStart))):l=[],s=this.actualValue.length?this.shiftTypedSymbols(l.join("")):e}s=Boolean(s)&&s.length?s:e;var u=_superPropGet(t,"applyMask",this,3)([s,n,i,o]);if(this.actualValue=this.getActualValue(u),"."===this.thousandSeparator&&"."===this.decimalMarker&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&!0===this.dropSpecialCharacters&&(this.maskSpecialCharacters=this.maskSpecialCharacters.filter((function(e){return e!==r.decimalMarker}))),this.formControlResult(u),!this.showMaskTyped)return this.hiddenInput&&u&&u.length?this.hideInput(u,this.maskExpression):u;var c=this.prefix+this.maskIsShown;return u+("IP"===this.maskExpression?c:c.slice(u.length))}},{key:"applyValueChanges",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};this._formElement.value=this.applyMask(this._formElement.value,this.maskExpression,e,t),this._formElement!==this.document.activeElement&&this.clearIfNotMatchFn()}},{key:"hideInput",value:function(e,t){var n=this;return e.split("").map((function(e,r){return n.maskAvailablePatterns&&n.maskAvailablePatterns[t[r]]&&n.maskAvailablePatterns[t[r]].symbol?n.maskAvailablePatterns[t[r]].symbol:e})).join("")}},{key:"getActualValue",value:function(e){var t=this,n=e.split("").filter((function(e,n){return t._checkSymbolMask(e,t.maskExpression[n])||t.maskSpecialCharacters.includes(t.maskExpression[n])&&e===t.maskExpression[n]}));return n.join("")===e?n.join(""):e}},{key:"shiftTypedSymbols",value:function(e){var t=this,n="";return(e&&e.split("").map((function(r,i){if(t.maskSpecialCharacters.includes(e[i+1])&&e[i+1]!==t.maskExpression[i+1])return n=r,e[i+1];if(n.length){var o=n;return n="",o}return r}))||[]).join("")}},{key:"showMaskInInput",value:function(e){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}return this.showMaskTyped?e?this._checkForIp(e):this.maskExpression.replace(/\w/g,this.placeHolderCharacter):""}},{key:"clearIfNotMatchFn",value:function(){this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==this._formElement.value.replace(/_/g,"").length&&(this.formElementProperty=["value",""],this.applyMask(this._formElement.value,this.maskExpression))}},{key:"formElementProperty",set:function(e){var t=_slicedToArray2(e,2),n=t[0],r=t[1];this._renderer.setProperty(this._formElement,n,r)}},{key:"checkSpecialCharAmount",value:function(e){var t=this;return e.split("").filter((function(e){return t._findSpecialChar(e)})).length}},{key:"_checkForIp",value:function(e){if("#"===e)return"".concat(this.placeHolderCharacter,".").concat(this.placeHolderCharacter,".").concat(this.placeHolderCharacter,".").concat(this.placeHolderCharacter);for(var t=[],n=0;n<e.length;n++)e[n].match("\\d")&&t.push(e[n]);return t.length<=3?"".concat(this.placeHolderCharacter,".").concat(this.placeHolderCharacter,".").concat(this.placeHolderCharacter):t.length>3&&t.length<=6?"".concat(this.placeHolderCharacter,".").concat(this.placeHolderCharacter):t.length>6&&t.length<=9?this.placeHolderCharacter:""}},{key:"formControlResult",value:function(e){Array.isArray(this.dropSpecialCharacters)?this.onChange(this._removeMask(this._removeSuffix(this._removePrefix(e)),this.dropSpecialCharacters)):this.onChange(this.dropSpecialCharacters?this._checkSymbol
1s(e):this._removeSuffix(this._removePrefix(e)))}},{key:"_removeMask",value:function(e,t){return e?e.replace(this._regExpForRemove(t),""):e}},{key:"_removePrefix",value:function(e){return this.prefix&&e?e.replace(this.prefix,""):e}},{key:"_removeSuffix",value:function(e){return this.suffix&&e?e.replace(this.suffix,""):e}},{key:"_retrieveSeparatorValue",value:function(e){return this._removeMask(this._removeSuffix(this._removePrefix(e)),this.maskSpecialCharacters)}},{key:"_regExpForRemove",value:function(e){return new RegExp(e.map((function(e){return"\\"+e})).join("|"),"gi")}},{key:"_checkSymbols",value:function(e){if(""===e)return e;var t=this._retrieveSeparatorPrecision(this.maskExpression),n=this._retrieveSeparatorValue(e);return"."!==this.decimalMarker&&(n=n.replace(this.decimalMarker,".")),this.isNumberValue?t?e===this.decimalMarker?null:this._checkPrecision(this.maskExpression,n):Number(n):n}},{key:"_retrieveSeparatorPrecision",value:function(e){var t=e.match(new RegExp("^separator\\.([^d]*)"));return t?Number(t[1]):null}},{key:"_checkPrecision",value:function(e,t){return e.indexOf("2")>0?Number(t).toFixed(2):Number(t)}}])}(h),f=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.document=t,this._maskService=n,this._config=r,this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this._maskValue="",this._position=null,this.onChange=function(e){},this.onTouch=function(){}}),[{key:"ngOnChanges",value:function(e){var t=e.maskExpression,n=e.specialCharacters,r=e.patterns,i=e.prefix,o=e.suffix,a=e.thousandSeparator,s=e.decimalMarker,l=e.dropSpecialCharacters,u=e.hiddenInput,c=e.showMaskTyped,h=e.placeHolderCharacter,d=e.shownMaskExpression,f=e.showTemplate,p=e.clearIfNotMatch,g=e.validation,_=e.separatorLimit,A=e.allowNegativeNumbers;if(t&&(this._maskValue=e.maskExpression.currentValue||""),n){if(!n.currentValue||!Array.isArray(n.currentValue))return;this._maskService.maskSpecialCharacters=e.specialCharacters.currentValue||[]}r&&r.currentValue&&(this._maskService.maskAvailablePatterns=r.currentValue),i&&(this._maskService.prefix=i.currentValue),o&&(this._maskService.suffix=o.currentValue),a&&(this._maskService.thousandSeparator=a.currentValue),s&&(this._maskService.decimalMarker=s.currentValue),l&&(this._maskService.dropSpecialCharacters=l.currentValue),u&&(this._maskService.hiddenInput=u.currentValue),c&&(this._maskService.showMaskTyped=c.currentValue),h&&(this._maskService.placeHolderCharacter=h.currentValue),d&&(this._maskService.shownMaskExpression=d.currentValue),f&&(this._maskService.showTemplate=f.currentValue),p&&(this._maskService.clearIfNotMatch=p.currentValue),g&&(this._maskService.validation=g.currentValue),_&&(this._maskService.separatorLimit=_.currentValue),A&&(this._maskService.maskSpecialCharacters=this._maskService.maskSpecialCharacters.filter((function(e){return"-"!==e}))),this._applyMask()}},{key:"validate",value:function(e){var t=this,n=e.value;if(!this._maskService.validation)return null;if(this._maskService.ipError)return this._createValidationError(n);if(this._maskValue.startsWith("separator"))return null;if(c.includes(this._maskValue))return null;if(this._maskService.clearIfNotMatch)return null;if(u.includes(this._maskValue))return this._validateTime(n);if(n&&n.toString().length>=1){var r,i=0,o=function(e){if(t._maskService.maskAvailablePatterns[e].optional&&!0===t._maskService.maskAvailablePatterns[e].optional){if(t._maskValue.indexOf(e)!==t._maskValue.lastIndexOf(e)?i+=t._maskValue.split("").filter((function(t){return t===e})).join("").length:-1!==t._maskValue.indexOf(e)&&i++,-1!==t._maskValue.indexOf(e)&&n.toString().length>=t._maskValue.indexOf(e))return{v:null};if(i===t._maskValue.length)return{v:null}}};for(var a in this._maskService.maskAvailablePatterns)if(r=o(a))return r.v;if(1===this._maskValue.indexOf("{")&&n.toString().length===this._maskValue.length+Number(this._maskValue.split("{")[1].split("}")[0])-4)return null;if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null;if(this._maskValue.indexOf("*")>1&&n.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&n.toString().length<this._maskValue.indexOf("?")||1===this._maskValue.indexOf("{"))return this._createValidationError(n);if(-1===this._maskValue.indexOf("*")||-1===this._maskValue.indexOf("?")){var s=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkSpecialCharAmount(this._maskValue)-i:this._maskValue.length-i;if(n.toString().length<s)return this._createValidationError(n)}}return null}},{key:"onInput",value:function(e){var t=e.target;if(this._inputValue=t.value,this._maskValue){var n=1===t.selectionStart?t.selectionStart+this._maskService.prefix.length:t.selectionStart,r=0,i=!1;if(this._maskService.applyValueChanges(n,(function(e,t){r=e,i=t})),this.document.activeElement===t){this._position=1===this._position&&1===this._inputValue.length?null:this._position;var o=this._position?this._inputValue.length+n+r:n+("Backspace"!==this._code||i?r:0);o>this._getActualInputLength()&&(o=this._getActualInputLength()),t.setSelectionRange(o,o),(this.maskExpression.includes("H")||this.maskExpression.includes("M"))&&0===r&&t.setSelectionRange(t.selectionStart+1,t.selectionStart+1),this._position=null}}else this.onChange(t.value)}},{key:"onBlur",value:function(){this._maskService.clearIfNotMatchFn(),this.onTouch()}},{key:"onFocus",value:function(e){var t=e.target;null!==t&&null!==t.selectionStart&&t.selectionStart===t.selectionEnd&&t.selectionStart>this._maskService.prefix.length&&38!==e.keyCode&&this._maskService.showMaskTyped&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),t.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===t.value?(t.focus(),t.setSelectionRange(0,0)):t.selectionStart>this._maskService.actualValue.length&&t.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));var n=t.value&&t.value!==this._maskService.prefix?t.value:this._maskService.prefix+this._maskService.maskIsShown;t.value!==n&&(t.value=n),(t.selectionStart||t.selectionEnd)<=this._maskService.prefix.length?t.selectionStart=this._maskService.prefix.length:t.selectionEnd>this._getActualInputLength()&&(t.selectionEnd=this._getActualInputLength())}},{key:"onKeyDown",value:function(e){this._code=e.code?e.code:e.key;var t=e.target;if(this._inputValue=t.value,38===e.keyCode&&e.preventDefault(),37===e.ke
1yCode||8===e.keyCode||46===e.keyCode){if(8===e.keyCode&&0===t.value.length&&(t.selectionStart=t.selectionEnd),8===e.keyCode&&0!==t.selectionStart)if(this.specialCharacters=this.specialCharacters||this._config.specialCharacters,this.prefix.length>1&&t.selectionStart<=this.prefix.length)t.setSelectionRange(this.prefix.length,this.prefix.length);else{if(this._inputValue.length!==t.selectionStart&&1!==t.selectionStart)for(;this.specialCharacters.includes(this._inputValue[t.selectionStart-1].toString())&&(this.prefix.length>=1&&t.selectionStart>this.prefix.length||0===this.prefix.length);)t.setSelectionRange(t.selectionStart-1,t.selectionStart-1);this.suffixCheckOnPressDelete(e.keyCode,t)}this.suffixCheckOnPressDelete(e.keyCode,t),this._maskService.prefix.length&&t.selectionStart<=this._maskService.prefix.length&&t.selectionEnd<=this._maskService.prefix.length&&e.preventDefault();var n=t.selectionStart;8!==e.keyCode||t.readOnly||0!==n||t.selectionEnd!==t.value.length||0===t.value.length||(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<t.selectionStart?t.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):(65===e.keyCode&&!0===e.ctrlKey||65===e.keyCode&&!0===e.metaKey)&&(t.setSelectionRange(0,this._getActualInputLength()),e.preventDefault()),this._maskService.selStart=t.selectionStart,this._maskService.selEnd=t.selectionEnd}},{key:"writeValue",value:function(e){return Object(i.b)(this,void 0,void 0,_regenerator2().m((function t(){return _regenerator2().w((function(t){for(;;)switch(t.n){case 0:void 0===e&&(e=""),"number"==typeof e&&(e=String(e),e="."!==this.decimalMarker?e.replace(".",this.decimalMarker):e,this._maskService.isNumberValue=!0),this._maskService.formElementProperty=e&&this._maskService.maskExpression||this._maskService.maskExpression&&(this._maskService.prefix||this._maskService.showMaskTyped)?["value",this._maskService.applyMask(e,this._maskService.maskExpression)]:["value",e],this._inputValue=e;case 1:return t.a(2)}}),t,this)})))}},{key:"registerOnChange",value:function(e){this.onChange=e,this._maskService.onChange=this.onChange}},{key:"registerOnTouched",value:function(e){this.onTouch=e}},{key:"suffixCheckOnPressDelete",value:function(e,t){46===e&&this.suffix.length>0&&this._inputValue.length-this.suffix.length<=t.selectionStart&&t.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length),8===e&&(this.suffix.length>1&&this._inputValue.length-this.suffix.length<t.selectionStart&&t.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length),1===this.suffix.length&&this._inputValue.length===t.selectionStart&&t.setSelectionRange(t.selectionStart-1,t.selectionStart-1))}},{key:"setDisabledState",value:function(e){this._maskService.formElementProperty=["disabled",e]}},{key:"onModelChange",value:function(e){e||(this._maskService.actualValue="")}},{key:"_repeatPatternSymbols",value:function(e){var t=this;return e.match(/{[0-9]+}/)&&e.split("").reduce((function(n,r,i){if(t._start="{"===r?i:t._start,"}"!==r)return t._maskService._findSpecialChar(r)?n+r:n;t._end=i;var o=Number(e.slice(t._start+1,t._end));return n+new Array(o+1).join(e[t._start-1])}),"")||e}},{key:"_applyMask",value:function(){this._maskService.maskExpression=this._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}},{key:"_validateTime",value:function(e){var t=this._maskValue.split("").filter((function(e){return":"!==e})).length;return null===e||0===e.length?null:0==+e[e.length-1]&&e.length<t||e.length<=t-2?this._createValidationError(e):null}},{key:"_getActualInputLength",value:function(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}},{key:"_createValidationError",value:function(e){return{mask:{requiredMask:this._maskValue,actualValue:e}}}}])}(),p=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"forRoot",value:function(t){return{ngModule:e,providers:[{provide:a,useValue:t},{provide:s,useValue:l},{provide:o,useFactory:g,deps:[s,a]},h]}}},{key:"forChild",value:function(t){return{ngModule:e}}}])}();function g(e,t){return Object.assign({},e,t instanceof Function?t():t)}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self},bdgK:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&l()}function s(){a(o)}function l(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,20);i=e}return l}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}
vendor: 4,637 bytes, line 1
1));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=_(0,0,0,0);function f(e){return parseFloat(e)||0}function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}var g="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&"function"==typeof e.getBBox};function _(e,t,n,r){return{x:e,y:t,width:n,height:r}}var A=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e,t=(e=this.target,i?g(e)?function(e){var t=e.getBBox();return _(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=h(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n];t[i]=f(e["padding-"+i])}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=f(r.width),l=f(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=p(r,"left","right")+o),Math.round(l+a)!==n&&(l-=p(r,"top","bottom")+a)),!function(e){return e===h(e).document.documentElement}(e)){var u=Math.round(s+o)-t,c=Math.round(l+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return _(i.left,i.top,s,l)}(e):d);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),v=function(e,t){var n,r,i,o,a,s,l,u=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),l);c(this,{target:e,contentRect:u})},m=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new A(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new v(e.target,e.broadcastRect())}
1));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),y="undefined"!=typeof WeakMap?new WeakMap:new r,b=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),r=new m(t,n,this);y.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){b.prototype[e]=function(){var t;return(t=y.get(this))[e].apply(t,arguments)}})),t.a=void 0!==o.ResizeObserver?o.ResizeObserver:b},"c/fn":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n("8Y7J");var r=n("Ckfk"),i=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.el=t,this.iconPos="left",this.cornerStyleClass="ui-corner-all"}),[{key:"ngAfterViewInit",value:function(){if(r.a.addMultipleClasses(this.el.nativeElement,this.getStyleClass()),this.icon){var e=document.createElement("span");e.setAttribute("aria-hidden","true"),e.className=("right"==this.iconPos?"ui-button-icon-right":"ui-button-icon-left")+" ui-clickable "+this.icon,this.el.nativeElement.appendChild(e)}var t=document.createElement("span");this.icon&&!this.label&&t.setAttribute("aria-hidden","true"),t.className="ui-button-text ui-clickable",t.appendChild(document.createTextNode(this.label||"ui-btn")),this.el.nativeElement.appendChild(t),this.initialized=!0}},{key:"getStyleClass",value:function(){var e="ui-button ui-widget ui-state-default "+this.cornerStyleClass;return e+=this.icon?null!=this.label&&null!=this.label?"left"==this.iconPos?" ui-button-text-icon-left":" ui-button-text-icon-right":" ui-button-icon-only":this.label?" ui-button-text-only":" ui-button-text-empty"}},{key:"label",get:function(){return this._label},set:function(e){this._label=e,this.initialized&&(r.a.findSingle(this.el.nativeElement,".ui-button-text").textContent=this._label,this.icon||(this._label?(r.a.removeClass(this.el.nativeElement,"ui-button-text-empty"),r.a.addClass(this.el.nativeElement,"ui-button-text-only")):(r.a.addClass(this.el.nativeElement,"ui-button-text-empty"),r.a.removeClass(this.el.nativeElement,"ui-button-text-only"))))}},{key:"icon",get:function(){return this._icon},set:function(e){if(this._icon=e,this.initialized){var t="right"==this.iconPos?"ui-button-icon-right":"ui-button-icon-left";r.a.findSingle(this.el.nativeElement,".ui-clickable").className=t+" ui-clickable "+this.icon}}},{key:"ngOnDestroy",value:function(){for(;this.el.nativeElement.hasChildNodes();)this.el.nativeElement.removeChild(this.el.nativeElement.lastChild);this.initialized=!1}}])}(),o=_createClass2((function e(){_classCallCheck2(this,e)}))},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return r}))},cUpR:function(e,t,n){"use strict";n.d(t,"q",(function(){return b})),n.d(t,"a",(function(){return ce})),n.d(t,"i",(function(){return ue})),n.d(t,"h",(function(){return de})),n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return q})),n.d(t,"f",(function(){return Y})),n.d(t,"g",(function(){return G})),n.d(t,"b",(function(){return ee})),n.d(t,"r",(function(){return a})),n.d(t,"k",(function(){return B})),n.d(t,"j",(function(){return W})),n.d(t,"n",(function(){return X})),n.d(t,"o",(function(){return $})),n.d(t,"m",(function(){return S})),n.d(t,"p",(function(){return E})),n.d(t,"l",(function(){return te}));var r=n("SVse"),i=n("8Y7J"),o=null;function a(){return o}var s,l={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},u={"\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"},c={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"},h=function(){if(i["\u0275global"].Node)return i["\u0275global"].Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}}(),d=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}
1return _inherits2(t,e),_createClass2(t,[{key:"parse",value:function(e){throw new Error("parse not implemented")}},{key:"hasProperty",value:function(e,t){return t in e}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"getProperty",value:function(e,t){return e[t]}},{key:"invoke",value:function(e,t,n){e[t].apply(e,_toConsumableArray2(n))}},{key:"logError",value:function(e){window.console&&(console.error?console.error(e):console.log(e))}},{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:"attrToPropMap",get:function(){return l}},{key:"contains",value:function(e,t){return h.call(e,t)}},{key:"querySelector",value:function(e,t){return e.querySelector(t)}},{key:"querySelectorAll",value:function(e,t){return e.querySelectorAll(t)}},{key:"on",value:function(e,t,n){e.addEventListener(t,n,!1)}},{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:"createMouseEvent",value:function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}},{key:"createEvent",value:function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}},{key:"preventDefault",value:function(e){e.preventDefault(),e.returnValue=!1}},{key:"isPrevented",value:function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}},{key:"getInnerHTML",value:function(e){return e.innerHTML}},{key:"getTemplateContent",value:function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}},{key:"getOuterHTML",value:function(e){return e.outerHTML}},{key:"nodeName",value:function(e){return e.nodeName}},{key:"nodeValue",value:function(e){return e.nodeValue}},{key:"type",value:function(e){return e.type}},{key:"content",value:function(e){return this.hasProperty(e,"content")?e.content:e}},{key:"firstChild",value:function(e){return e.firstChild}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"parentElement",value:function(e){return e.parentNode}},{key:"childNodes",value:function(e){return e.childNodes}},{key:"childNodesAsList",value:function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n}},{key:"clearNodes",value:function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"removeChild",value:function(e,t){e.removeChild(t)}},{key:"replaceChild",value:function(e,t,n){e.replaceChild(t,n)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"insertBefore",value:function(e,t,n){e.insertBefore(n,t)}},{key:"insertAllBefore",value:function(e,t,n){n.forEach((function(n){return e.insertBefore(n,t)}))}},{key:"insertAfter",value:function(e,t,n){e.insertBefore(n,t.nextSibling)}},{key:"setInnerHTML",value:function(e,t){e.innerHTML=t}},{key:"getText",value:function(e){return e.textContent}},{key:"setText",value:function(e,t){e.textContent=t}},{key:"getValue",value:function(e){return e.value}},{key:"setValue",value:function(e,t){e.value=t}},{key:"getChecked",value:function(e){return e.checked}},{key:"setChecked",value:function(e,t){e.checked=t}},{key:"createComment",value:function(e){return this.getDefaultDocument().createComment(e)}},{key:"createTemplate",value:function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createElementNS",value:function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}},{key:"createTextNode",value:function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}},{key:"createScriptTag",value:function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}},{key:"createStyleElement",value:function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}},{key:"createShadowRoot",value:function(e){return e.createShadowRoot()}},{key:"getShadowRoot",value:function(e){return e.shadowRoot}},{key:"getHost",value:function(e){return e.host}},{key:"clone",value:function(e){return e.cloneNode(!0)}},{key:"getElementsByClassName",value:function(e,t){return e.getElementsByClassName(t)}},{key:"getElementsByTagName",value:function(e,t){return e.getElementsByTagName(t)}},{key:"classList",value:function(e){return Array.prototype.slice.call(e.classList,0)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"hasClass",value:function(e,t){return e.classList.contains(t)}},{key:"setStyle",value:function(e,t,n){e.style[t]=n}},{key:"removeStyle",value:function(e,t){e.style[t]=""}},{key:"getStyle",value:function(e,t){return e.style[t]}},{key:"hasStyle",value:function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0}},{key:"tagName",value:function(e){return e.tagName}},{key:"attributeMap",value:function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var i=n.item(r);t.set(i.name,i.value)}return t}},{key:"hasAttribute",value:function(e,t){return e.hasAttribute(t)}},{key:"hasAttributeNS",value:function(e,t,n){return e.hasAttributeNS(t,n)}},{key:"getAttribute",value:function(e,t){return e.getAttribute(t)}},{key:"getAttributeNS",value:function(e,t,n){return e.getAttributeNS(t,n)}},{key:"setAttribute",value:function(e,t,n){e.setAttribute(t,n)}},{key:"setAttributeNS",value:function(e,t,n,r){e.setAttributeNS(t,n,r)}},{key:"removeAttribute",value:function(e,t){e.removeAttribute(t)}},{key:"removeAttributeNS",value:function(e,t,n){e.removeAttributeNS(t,n)}},{key:"templateAwareRoot",value:function(e){return this.isTemplateElement(e)?this.content(e):e}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"getBoundingClientRect",value:function(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}},{key:"getTitle",value:function(e){return e.title}},{key:"setTitle",value:function(e,t){e.title=t||""}},{key:"elementMatches",value:function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}},{key:"isTemplateElement",value:function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}}
1,{key:"isTextNode",value:function(e){return e.nodeType===Node.TEXT_NODE}},{key:"isCommentNode",value:function(e){return e.nodeType===Node.COMMENT_NODE}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"hasShadowRoot",value:function(e){return null!=e.shadowRoot&&e instanceof HTMLElement}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"importIntoDoc",value:function(e){return document.importNode(this.templateAwareRoot(e),!0)}},{key:"adoptNode",value:function(e){return document.adoptNode(e)}},{key:"getHref",value:function(e){return e.getAttribute("href")}},{key:"getEventKey",value: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&&c.hasOwnProperty(t)&&(t=c[t]))}return u[t]||t}},{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=f||(f=document.querySelector("base"))?f.getAttribute("href"):null;return null==n?null:(t=n,s||(s=document.createElement("a")),s.setAttribute("href",t),"/"===s.pathname.charAt(0)?s.pathname:"/"+s.pathname)}},{key:"resetBaseElement",value:function(){f=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"setData",value:function(e,t,n){this.setAttribute(e,"data-"+t,n)}},{key:"getData",value:function(e,t){return this.getAttribute(e,"data-"+t)}},{key:"getComputedStyle",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return getComputedStyle(e)}))},{key:"supportsWebAnimation",value:function(){return"function"==typeof Element.prototype.animate}},{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 Object(r.H)(document.cookie,e)}},{key:"setCookie",value:function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}],[{key:"makeCurrent",value:function(){var e;e=new t,o||(o=e)}}])}(function(e){function t(){var e;_classCallCheck2(this,t),(e=_callSuper(this,t))._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i<r.length;i++)if(null!=e.getStyle(n,r[i]+"AnimationName")){e._animationPrefix="-"+r[i].toLowerCase()+"-";break}var o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(o).forEach((function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=o[t])}))}catch(a){e._animationPrefix=null,e._transitionEnd=null}return e}return _inherits2(t,e),_createClass2(t,[{key:"getDistributedNodes",value:function(e){return e.getDistributedNodes()}},{key:"resolveAndSetHref",value:function(e,t,n){e.href=null==n?t:t+"/../"+n}},{key:"supportsDOMEvents",value:function(){return!0}},{key:"supportsNativeShadowDOM",value:function(){return"function"==typeof document.body.createShadowRoot}},{key:"getAnimationPrefix",value:function(){return this._animationPrefix?this._animationPrefix:""}},{key:"getTransitionEnd",value:function(){return this._transitionEnd?this._transitionEnd:""}},{key:"supportsAnimation",value:function(){return null!=this._animationPrefix&&null!=this._transitionEnd}}])}(function(){return _createClass2((function e(){_classCallCheck2(this,e),this.resourceLoaderType=null}),[{key:"attrToPropMap",get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e}}])}())),f=null;function p(){return!!window.history.pushState}var g=new i.InjectionToken("TRANSITION_ID"),_=[{provide:i.APP_INITIALIZER,useFactory:function(e,t,n){return function(){n.get(i.ApplicationInitStatus).donePromise.then((function(){var n=a();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter((function(t){return n.getAttribute(t,"ng-transition")===e}
1)).forEach((function(e){return n.remove(e)}))}))}},deps:[g,r.e,i.Injector],multi:!0}],A=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,[{key:"addToWindow",value:function(e){i["\u0275global"].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},i["\u0275global"].getAllAngularTestabilities=function(){return e.getAllTestabilities()},i["\u0275global"].getAllAngularRootElements=function(){return e.getAllRootElements()},i["\u0275global"].frameworkStabilizers||(i["\u0275global"].frameworkStabilizers=[]),i["\u0275global"].frameworkStabilizers.push((function(e){var t=i["\u0275global"].getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(o)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?a().isShadowRoot(t)?this.findTestabilityInTree(e,a().getHost(t),!0):this.findTestabilityInTree(e,a().parentElement(t),!0):null}}],[{key:"init",value:function(){Object(i.setTestabilityGetter)(new e)}}])}();function v(e,t){"undefined"!=typeof COMPILED&&COMPILED||((i["\u0275global"].ng=i["\u0275global"].ng||{})[e]=t)}var m={ApplicationRef:i.ApplicationRef,NgZone:i.NgZone};function y(e){return Object(i.getDebugNode)(e)}function b(e){return v("probe",y),v("coreTokens",Object.assign({},m,(e||[]).reduce((function(e,t){return e[t.name]=t.token,e}),{}))),function(){return y}}var C=new i.InjectionToken("EventManagerPlugins"),w=function(){return _createClass2((function e(t,n){var r=this;_classCallCheck2(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=r})),this._plugins=t.slice().reverse()}),[{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)}}])}(),k=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._doc=t}),[{key:"addGlobalEventListener",value:function(e,t,n){var r=a().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=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._stylesSet=new Set}),[{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)}}])}(),S=function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t))._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return _inherits2(t,e),_createClass2(t,[{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 a().remove(e)}))}}])}(E),O={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/"},x=/%COMP%/g;function P(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?P(e,i,n):(i=i.replace(x,e),n.push(i))}return n}function T(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var B=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new D(t)}),[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new R(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyTo
1Host(e),n;case i.ViewEncapsulation.Native:case i.ViewEncapsulation.ShadowDom:return new F(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=P(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(){}}])}(),D=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.eventManager=t,this.data=Object.create(null)}),[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(O[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=O[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=O[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&i.RendererStyleFlags2.DashCase?e.style.setProperty(t,n,r&i.RendererStyleFlags2.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&i.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){I(t,"property"),e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return I(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,T(n)):this.eventManager.addEventListener(e,t,T(n))}}])}(),M="@".charCodeAt(0);function I(e,t){if(e.charCodeAt(0)===M)throw new Error("Found the synthetic ".concat(t," ").concat(e,'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.'))}var R=function(e){function t(e,n,r,i){var o;_classCallCheck2(this,t),(o=_callSuper(this,t,[e])).component=r;var a,s=P(i+"-"+r.id,r.styles,[]);return n.addStyles(s),o.contentAttr="_ngcontent-%COMP%".replace(x,i+"-"+r.id),o.hostAttr=(a=i+"-"+r.id,"_nghost-%COMP%".replace(x,a)),o}return _inherits2(t,e),_createClass2(t,[{key:"applyToHost",value:function(e){_superPropGet(t,"setAttribute",this,3)([e,this.hostAttr,""])}},{key:"createElement",value:function(e,n){var r=_superPropGet(t,"createElement",this,3)([e,n]);return _superPropGet(t,"setAttribute",this,3)([r,this.contentAttr,""]),r}}])}(D),F=function(e){function t(e,n,r,o){var a;_classCallCheck2(this,t),(a=_callSuper(this,t,[e])).sharedStylesHost=n,a.hostEl=r,a.component=o,a.shadowRoot=o.encapsulation===i.ViewEncapsulation.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=P(o.id,o.styles,[]),l=0;l<s.length;l++){var u=document.createElement("style");u.textContent=s[l],a.shadowRoot.appendChild(u)}return a}return _inherits2(t,e),_createClass2(t,[{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,n){return _superPropGet(t,"appendChild",this,3)([this.nodeOrShadowRoot(e),n])}},{key:"insertBefore",value:function(e,n,r){return _superPropGet(t,"insertBefore",this,3)([this.nodeOrShadowRoot(e),n,r])}},{key:"removeChild",value:function(e,n){return _superPropGet(t,"removeChild",this,3)([this.nodeOrShadowRoot(e),n])}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(_superPropGet(t,"parentNode",this,3)([this.nodeOrShadowRoot(e)]))}}])}(D),L="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},U=L("addEventListener"),N=L("removeEventListener"),j={},H="__zone_symbol__propagationStopped",Q=function(){var e="undefined"!=typeof Zone&&Zone[L("BLACK_LISTED_EVENTS")];if(e){var t={};return e.forEach((function(e){t[e]=e})),t}}(),V=function(e){return!!Q&&Q.hasOwnProperty(e)},K=function(e){var t=j[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length){var i=n[0];return i.zone!==Zone.current?i.zone.run(i.handler,this,r):i.handler.apply(this,r)}for(var o=n.slice(),a=0;a<o.length&&!0!==e[H];a++){var s=o[a];s.zone!==Zone.current?s.zone.run(s.handler,this,r):s.handler.apply(this,r)}}}},W=function(e){function t(e,n,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t,[e])).ngZone=n,i&&Object(r.A)(i)||o.patchEvent(),o}
1return _inherits2(t,e),_createClass2(t,[{key:"patchEvent",value:function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[H]=!0),e&&e.apply(this,arguments)}}}},{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var r=this,o=n;if(!e[U]||i.NgZone.isInAngularZone()&&!V(t))e.addEventListener(t,o,!1);else{var a=j[t];a||(a=j[t]=L("ANGULAR"+t+"FALSE"));var s=e[a],l=s&&s.length>0;s||(s=e[a]=[]);var u=V(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:o});else{for(var c=!1,h=0;h<s.length;h++)if(s[h].handler===o){c=!0;break}c||s.push({zone:u,handler:o})}l||e[U](t,K,!1)}return function(){return r.removeEventListener(e,t,o)}}},{key:"removeEventListener",value:function(e,t,n){var r=e[N];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var i=j[t],o=i&&e[i];if(!o)return e.removeEventListener.apply(e,[t,n,!1]);for(var a=!1,s=0;s<o.length;s++)if(o[s].handler===n){a=!0,o.splice(s,1);break}a?0===o.length&&r.apply(e,[t,K,!1]):e.removeEventListener.apply(e,[t,n,!1])}}])}(k),z={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},q=new i.InjectionToken("HammerGestureConfig"),Y=new i.InjectionToken("HammerLoader"),G=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.events=[],this.overrides={}}),[{key:"buildHammer",value:function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t}}])}(),X=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t,[e]))._config=n,o.console=r,o.loader=i,o}return _inherits2(t,e),_createClass2(t,[{key:"supports",value:function(e){return!(!z.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'.concat(e,'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.')),1))}},{key:"addEventListener",value:function(e,t,n){var r=this,i=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var o=!1,a=function(){o=!0};return this.loader().then((function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});o||(a=r.addEventListener(e,t,n))})).catch((function(){r.console.warn('The "'.concat(t,'" event cannot be bound because the custom Hammer.JS loader failed.')),a=function(){}})),function(){a()}}return i.runOutsideAngular((function(){var o=r._config.buildHammer(e),a=function(e){i.runGuarded((function(){n(e)}))};return o.on(t,a),function(){o.off(t,a),"function"==typeof o.destroy&&o.destroy()}}))}},{key:"isCustomEvent",value:function(e){return this._config.events.indexOf(e)>-1}}])}(k),J=["alt","control","meta","shift"],Z={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},$=function(e){function t(e){return _classCallCheck2(this,t),_callSuper(this,t,[e])}return _inherits2(t,e),_createClass2(t,[{key:"supports",value:function(e){return null!=t.parseEventName(e)}},{key:"addEventListener",value:function(e,n,r){var i=t.parseEventName(n),o=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return a().onAndCancel(e,i.domEventName,o)}))}}],[{key:"parseEventName",value:function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=t._normalizeKey(n.pop()),o="";if(J.forEach((function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")})),o+=i,0!=n.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=a().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),J.forEach((function(r){r!=n&&(0,Z[r])(e)&&(t+=r+".")})),t+=n}},{key:"eventCallback",value:function(e,n,r){return function(i){t.getEventFullKey(i)===e&&r.runGuarded((function(){return n(i)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}])}(k),ee=_createClass2((function e(){_classCallCheck2(this,e)})),te=function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t))._doc=e,n}
1return _inherits2(t,e),_createClass2(t,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case i.SecurityContext.NONE:return t;case i.SecurityContext.HTML:return t instanceof re?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),Object(i["\u0275_sanitizeHtml"])(this._doc,String(t)));case i.SecurityContext.STYLE:return t instanceof ie?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Object(i["\u0275_sanitizeStyle"])(t));case i.SecurityContext.SCRIPT:if(t instanceof oe)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case i.SecurityContext.URL:return t instanceof se||t instanceof ae?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Object(i["\u0275_sanitizeUrl"])(String(t)));case i.SecurityContext.RESOURCE_URL:if(t instanceof se)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),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:"checkNotSafeValue",value:function(e,t){if(e instanceof ne)throw new Error("Required a safe ".concat(t,", got a ").concat(e.getTypeName()," (see http://g.co/ng/security#xss)"))}},{key:"bypassSecurityTrustHtml",value:function(e){return new re(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return new ie(e)}},{key:"bypassSecurityTrustScript",value:function(e){return new oe(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return new ae(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return new se(e)}}])}(ee),ne=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.changingThisBreaksApplicationSecurity=t}),[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}])}(),re=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t,[{key:"getTypeName",value:function(){return"HTML"}}])}(ne),ie=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t,[{key:"getTypeName",value:function(){return"Style"}}])}(ne),oe=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t,[{key:"getTypeName",value:function(){return"Script"}}])}(ne),ae=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t,[{key:"getTypeName",value:function(){return"URL"}}])}(ne),se=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t,[{key:"getTypeName",value:function(){return"ResourceURL"}}])}(ne),le=[{provide:i.PLATFORM_ID,useValue:r.F},{provide:i.PLATFORM_INITIALIZER,useValue:function(){d.makeCurrent(),A.init()},multi:!0},{provide:r.w,useClass:function(e){function t(e){var n;return _classCallCheck2(this,t),(n=_callSuper(this,t))._doc=e,n._init(),n}return _inherits2(t,e),_createClass2(t,[{key:"_init",value:function(){this.location=a().getLocation(),this._history=a().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return a().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){a().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{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}},{key:"pushState",value:function(e,t,n){p()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){p()?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}}])}(r.w),deps:[r.e]},{provide:r.e,useFactory:function(){return document},deps:[]}],ue=Object(i.createPlatformFactory)(i.platformCore,"browser",le),ce=function(){function e(t){if(_classCallCheck2(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 _createClass2(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:i.APP_ID,useValue:t.appId},{provide:g,useExisting:i.APP_ID},_]}}}])}();function he(){return new de(Object(i["\u0275\u0275inject"])(r.e))}var de=function(){var e=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._doc=t}),[{key:"getTitle",value:function(){return a().getTitle(this._doc)}},{key:"setTitle",value:function(e){a().setTitle(this._doc,e)}}])}();return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:he,token:e,providedIn:"root"}),e}();"undefined"!=typeof window&&window},cp0P:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("HDdC"),i=n("DH7j"),o=n("lJxs"),a=n("XoHu"),s=n("Cfvw");function l(){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(Object(i.a)(r))return u(r,null);if(Object(a.a)(r)&&Object.getPrototypeOf(r)===Object.prototype){var s=Object.keys(r);return u(s.map((function(e){return r[e]})),s)}}if("function"==typeof t[t.length-1]){var l=t.pop();return u(t=1===t.length&&Object(i.a)(t[0])?t[0]:t,null).pipe(Object(o.a)((function(e){return l.apply(void 0,_toConsumableArray2(e))})))}return u(t,null)}function u(e,t){return new r.a((function(n){var r=e.length;if(0!==r)for(var i=new Array(r),o=0,a=0,l=function(l){var u=Object(s.a)(e[l]),c=!1;n.add(u.subscribe({next:function(e){c||(c=!0,a++),i[l]=e},error:function(e){return n.error(e)},complete:function(){++o!==r&&c||(a===r&&n.next(t?t.reduce((function(e,t,n){return e[t]=i[n],e}),{}):i),n.complete())}}))},u=0;u<r;u++)l(u);else n.complete()}
1))}},d7n7:function(e,t,n){"use strict";var r=n("8Y7J"),i=function(e){e&&Object.assign(this,e)};n.d(t,"a",(function(){return o}));var o=function(){function e(e,t){this.el=e,this.ngZone=t,this.onAddressChange=new r.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.options||(this.options=new i),this.initialize()},e.prototype.isGoogleLibExists=function(){return!(!google||!google.maps||!google.maps.places)},e.prototype.initialize=function(){var e=this;if(!this.isGoogleLibExists())throw new Error("Google maps library can not be found");if(this.autocomplete=new google.maps.places.Autocomplete(this.el.nativeElement,this.options),!this.autocomplete)throw new Error("Autocomplete is not initialized");null!=!this.autocomplete.addListener&&(this.eventListener=this.autocomplete.addListener("place_changed",(function(){e.handleChangeEvent()}))),this.el.nativeElement.addEventListener("keydown",(function(t){t.key&&"enter"==t.key.toLowerCase()&&t.target===e.el.nativeElement&&(t.preventDefault(),t.stopPropagation())})),window&&window.navigator&&window.navigator.userAgent&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&setTimeout((function(){var e=document.getElementsByClassName("pac-container");if(e){var t=Array.from(e);if(t)for(var n=0,r=t;n<r.length;n++){var i=r[n];i&&i.addEventListener("touchend",(function(e){e.stopImmediatePropagation()}))}}}),500)},e.prototype.reset=function(){this.autocomplete.setComponentRestrictions(this.options.componentRestrictions),this.autocomplete.setTypes(this.options.types)},e.prototype.handleChangeEvent=function(){var e=this;this.ngZone.run((function(){e.place=e.autocomplete.getPlace(),e.place&&e.onAddressChange.emit(e.place)}))},e}()},dvZr:function(e,t,n){"use strict";n.d(t,"k",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"e",(function(){return o})),n.d(t,"j",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return u})),n.d(t,"l",(function(){return c})),n.d(t,"i",(function(){return h})),n.d(t,"b",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"a",(function(){return g})),n.d(t,"m",(function(){return _})),n.d(t,"o",(function(){return A}));var r=9,i=13,o=27,a=32,s=35,l=36,u=37,c=38,h=39,d=40,f=48,p=57,g=65,_=90;function A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.length?n.some((function(t){return e[t]})):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}},eIep:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("l7GE"),i=n("51Dv"),o=n("ZUHj"),a=n("lJxs"),s=n("Cfvw");function l(e,t){return"function"==typeof t?function(n){return n.pipe(l((function(n,r){return Object(s.a)(e(n,r)).pipe(Object(a.a)((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new u(e))}}var u=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.project=t}),[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.project))}}])}(),c=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).project=n,r.index=0,r}return _inherits2(t,e),_createClass2(t,[{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 a=new i.a(this,t,n),s=this.destination;s.add(a),this.innerSubscription=Object(o.a)(this,e,void 0,void 0,a),this.innerSubscription!==a&&s.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||_superPropGet(t,"_complete",this,3)([]),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&_superPropGet(t,"_complete",this,3)([])}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}}])}(r.a)},eNwd:function(e,t,n){"use strict";var r=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e,n])).scheduler
1=e,r.work=n,r}return _inherits2(t,e),_createClass2(t,[{key:"requestAsyncId",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?_superPropGet(t,"requestAsyncId",this,3)([e,n,r]):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))}},{key:"recycleAsyncId",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return _superPropGet(t,"recycleAsyncId",this,3)([e,n,r]);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)}}])}(n("3N8a").a),i=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<i&&(e=n.shift()));if(this.active=!1,t){for(;++r<i&&(e=n.shift());)e.unsubscribe();throw t}}}])}(n("IjjT").a);n.d(t,"a",(function(){return o}));var o=new i(r)},f4AX:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("lJxs"),i=n("sKXY"),o=n("teW0"),a=n("8Y7J"),s=n("IheW"),l=function(){var e=function(e){function t(e){return _classCallCheck2(this,t),_callSuper(this,t,[e])}return _inherits2(t,e),_createClass2(t,[{key:"getCurrentUser",value:function(){var e=this;return this.get(i.a.Users+"/current").pipe(Object(r.a)((function(t){return e.mapDates(t)})))}},{key:"getDashboard",value:function(e){var t=this;return this.get("".concat(i.a.Users,"/").concat(e,"/dashboard")).pipe(Object(r.a)((function(e){return t.mapDates(e)})))}},{key:"userExists",value:function(e){return this.get("".concat(i.a.Users,"/user-exists?email=").concat(e))}}])}(o.a);return e.ngInjectableDef=a["\u0275\u0275defineInjectable"]({factory:function(){return new e(a["\u0275\u0275inject"](s.c))},token:e,providedIn:"root"}),e}()},fBBY:function(e,t,n){"use strict";var r=n("8Y7J"),i=n("SVse"),o=n("SJ4l"),a=n("Pa/3"),s=n("3fkT");n("ZkL/"),n("HdJu"),n("iInd"),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return _}));var l=r["\u0275crt"]({encapsulation:0,styles:[['[_ngcontent-%COMP%]:root{--black:#000;--blue:#5e51ff;--blue-100:#5154e6;--blue-darked:#2B2E33;--indigo:#8A8CEF;--purple:#6f42c1;--pearl:#fcedde;--pearl-dark:#E3A2C5;--pink:#fc4675;--pink-100:rgba(252, 70, 117, 0.1);--red:#e23852;--red-100:#fd1d55;--orange:#ea8824;--orange-100:#d47311;--yellow:#f7ac08;--green-light:#7fba00;--green:#25c825;--teal:#20c997;--brown:#783D2B;--cyan:#17a2b8;--white:#fff;--gray-light:#e2e3e7;--gray-light-300:#d2d2d4;--gray-lightest:#c0c1c2;--gray-light-400:#ccc;--gray-lighten:#8c9BA6;--gray:#6c757d;--gray-dark:#979797;--primary:#5e51ff;--secondary:#2b2e33;--secondary-200:#e9e9ea;--secondary-100:#f4f5f6;--success:#25c825;--info:#17a2b8;--warning:#f7ac08;--danger:#e23852;--light:#f5f7fa;--lighten:#e4e4e5;--dark:#212529;--darked:#292b3a;--quaternary_color:#333333;--font-normal:Graphik-400-Regular;--font-medium:Graphik-500-Medium;--font-bold:Graphik-600-Semibold;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}[_nghost-%COMP%] .orders-list{max-height:400px;overflow-y:auto;padding:0;margin:0}[_nghost-%COMP%] .order-item{background-color:var(--light);border:1px solid var(--gray-light-300);border-radius:8px;padding:10px 12px;margin-bottom:8px;transition:background-color .2s,border-color .2s}[_nghost-%COMP%] .order-item:hover{background-color:#f4f5f6;border-color:var(--gray)}[_nghost-%COMP%] .order-item:last-child{margin-bottom:0}[_nghost-%COMP%] .order-content{display:flex;align-items:center;justify-content:space-between;gap:12px}[_nghost-%COMP%] .order-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}[_nghost-%COMP%] .order-title{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}[_nghost-%COMP%] .order-title strong{font-size:15px;font-weight:600;color:var(--secondary);white-space:nowrap}[_nghost-%COMP%] .order-title .order-name{font-size:14px;color:var(--secondary);opacity:.7}[_nghost-%COMP%] .order-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}[_nghost-%COMP%] .order-meta .badge{font-size:11px;padding:3px 8px;font-weight:500}[_nghost-%COMP%] .order-meta .order-date{font-size:12px;color:var(--secondary);opacity:.6}[_nghost-%COMP%] .order-action{flex-shrink:0}[_nghost-%COMP%] .order-action .btn{padding:6px 14px;font-size:13px;white-space:nowrap;min-width:auto}']],data:{}});function u(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,2,"div",[["class","text-center py-4"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,1,"p",[],null,
1null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Loading orders..."]))],null,null)}function c(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","alert alert-danger"],["role","alert"]],null,null,null,null,null)),(e()(),r["\u0275ted"](1,null,[" "," "]))],null,(function(e,t){e(t,1,0,t.component.error)}))}function h(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,2,"div",[["class","text-center py-4"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["No orders found."]))],null,null)}function d(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,17,"div",[["class","order-item"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,16,"div",[["class","order-content"]],null,null,null,null,null)),(e()(),r["\u0275eld"](2,0,null,null,12,"div",[["class","order-info"]],null,null,null,null,null)),(e()(),r["\u0275eld"](3,0,null,null,4,"div",[["class","order-title"]],null,null,null,null,null)),(e()(),r["\u0275eld"](4,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),r["\u0275ted"](5,null,["",""])),(e()(),r["\u0275eld"](6,0,null,null,1,"span",[["class","order-name"]],null,null,null,null,null)),(e()(),r["\u0275ted"](7,null,[""," "," ",""])),(e()(),r["\u0275eld"](8,0,null,null,6,"div",[["class","order-meta"]],null,null,null,null,null)),(e()(),r["\u0275eld"](9,0,null,null,2,"span",[["class","badge badge-primary"]],null,null,null,null,null)),(e()(),r["\u0275ted"](10,null,["",""])),r["\u0275ppd"](11,1),(e()(),r["\u0275eld"](12,0,null,null,2,"span",[["class","order-date"]],null,null,null,null,null)),(e()(),r["\u0275ted"](13,null,["(",")"])),r["\u0275ppd"](14,2),(e()(),r["\u0275eld"](15,0,null,null,2,"div",[["class","order-action"]],null,null,null,null,null)),(e()(),r["\u0275eld"](16,0,null,null,1,"button",[["class","btn btn-primary btn-sm"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onOrderSelect(e.context.$implicit)&&r),r}),null,null)),(e()(),r["\u0275ted"](-1,null,[" Go to Order "]))],null,(function(e,t){var n=t.component;e(t,5,0,t.context.$implicit.formattedNumericId||t.context.$implicit.id),e(t,7,0,t.context.$implicit.firstName,t.context.$implicit.middleName,t.context.$implicit.lastName);var i=r["\u0275unv"](t,10,0,e(t,11,0,r["\u0275nov"](t.parent.parent.parent,0),n.OrderStatus[t.context.$implicit.orderStatus]));e(t,10,0,i);var o=r["\u0275unv"](t,13,0,e(t,14,0,r["\u0275nov"](t.parent.parent.parent,1),t.context.$implicit.createdUtc,"short"));e(t,13,0,o)}))}function f(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,2,"div",[["class","orders-list"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,d)),r["\u0275did"](2,278528,null,0,i.m,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.component.orders)}),null)}function p(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,u)),r["\u0275did"](1,16384,null,0,i.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,c)),r["\u0275did"](3,16384,null,0,i.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,h)),r["\u0275did"](5,16384,null,0,i.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,f)),r["\u0275did"](7,16384,null,0,i.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](0,null,null,0))],(function(e,t){var n=t.component;e(t,1,0,n.loading),e(t,3,0,n.error),e(t,5,0,!n.loading&&!n.error&&0===n.orders.length),e(t,7,0,!n.loading&&!n.error&&n.orders.length>0)}),null)}function g(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"a",[["class","btn default-dgray-btn"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onCancel()&&r),r}),null,null)),(e()(),r["\u0275ted"](-1,null,["Cancel"]))],null,null)}function _(e){return r["\u0275vid"](0,[r["\u0275pid"](0,o.a,[]),r["\u0275pid"](0,i.f,[r.LOCALE_ID]),r["\u0275qud"](671088640,1,{modal:0}),(e()(),r["\u0275eld"](3,0,null,null,8,"ico-wiz-modal",[["title","Select Order"]],null,null,null,a.q,a.g)),r["\u0275did"](4,114688,[[1,4],["modal",4]],3,s.xb,[],{title:[0,"title"]},null),r["\u0275qud"](603979776,2,{headerTemplate:0}),r["\u0275qud"](603979776,3,{bodyTemplate:0}),r["\u0275qud"](603979776,4,{footerTemplate:0}),(e()(),r["\u0275and"](0,null,2,1,null,p)),r["\u0275did"](9,16384,[[3,4]],0,s.wb,[r.TemplateRef],null,
1null),(e()(),r["\u0275and"](0,null,2,1,null,g)),r["\u0275did"](11,16384,[[4,4]],0,s.yb,[r.TemplateRef],null,null)],(function(e,t){e(t,4,0,"Select Order")}),null)}},fDlF:function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"c",(function(){return pe})),n.d(t,"g",(function(){return ge})),n.d(t,"e",(function(){return w})),n.d(t,"b",(function(){return He})),n.d(t,"d",(function(){return tt})),n.d(t,"f",(function(){return rt})),n.d(t,"h",(function(){return it}));var r=n("GS7A");function i(){return"undefined"!=typeof process}function o(e){switch(e.length){case 0:return new r.d;case 1:return e[0];default:return new r.o(e)}}function a(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],l=[],u=-1,c=null;if(i.forEach((function(e){var n=e.offset,i=n==u,h=i&&c||{};Object.keys(e).forEach((function(n){var i=n,l=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,s),l){case r.p:l=o[n];break;case r.a:l=a[n];break;default:l=t.normalizeStyleValue(n,i,l,s)}h[i]=l})),i||l.push(h),c=h,u=n})),s.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(s.join(h)))}return l}function s(e,t,n,r){switch(t){case"start":e.onStart((function(){return r(n&&l(n,"start",e))}));break;case"done":e.onDone((function(){return r(n&&l(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return r(n&&l(n,"destroy",e))}))}}function l(e,t,n){var r=n.totalTime,i=u(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 u(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 c(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 h(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var d=function(e,t){return!1},f=function(e,t){return!1},p=function(e,t,n){return[]},g=i();(g||"undefined"!=typeof Element)&&(d=function(e,t){return e.contains(t)},f=function(){if(g||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])}:f}(),p=function(e,t,n){var r=[];if(n)r.push.apply(r,_toConsumableArray2(e.querySelectorAll(t)));else{var i=e.querySelector(t);i&&r.push(i)}return r});var _=null,A=!1;function v(e){_||(_=("undefined"!=typeof document?document.body:null)||{},A=!!_.style&&"WebkitAppearance"in _.style);var t=!0;return _.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in _.style)&&A)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in _.style),t}var m=f,y=d,b=p;function C(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 w=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"validateStyleProperty",value:function(e){return v(e)}},{key:"matchesElement",value:function(e,t){return m(e,t)}},{key:"containsElement",value:function(e,t){return y(e,t)}},{key:"query",value:function(e,t,n){return b(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,i,o){arguments.length>5&&void 0!==arguments[5]&&arguments[5],arguments.length>6&&arguments[6];return new r.d(n,i)}}])}(),k=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e.NOOP=new w,e}();function E(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:S(parseFloat(t[1]),t[2])}function S(e,t){switch(t){case"s":return 1e3*e;default:return e}}function O(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 invali
1d.')),{duration:0,delay:0,easing:""};r=S(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=S(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else r=e;if(!n){var u=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(c,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:r,delay:i,easing:o}}(e,t,n)}function x(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 P(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 x(e,n);return n}function T(e,t,n){return n?t+":"+n+";":""}function B(e){for(var t="",n=0;n<e.style.length;n++){var r=e.style.item(n);t+=T(0,r,e.style.getPropertyValue(r))}for(var i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=T(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function D(e,t,n){e.style&&(Object.keys(t).forEach((function(r){var i=j(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]})),i()&&B(e))}function M(e,t){e.style&&(Object.keys(t).forEach((function(t){var n=j(t);e.style[n]=""})),i()&&B(e))}function I(e){return Array.isArray(e)?1==e.length?e[0]:Object(r.j)(e):e}var R=new RegExp("{{\\s*(.+?)\\s*}}","g");function F(e){var t=[];if("string"==typeof e){for(var n,r=e.toString();n=R.exec(r);)t.push(n[1]);R.lastIndex=0}return t}function L(e,t,n){var r=e.toString(),i=r.replace(R,(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 U(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var N=/-+([a-z0-9])/g;function j(e){return e.replace(N,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()}))}function H(e,t){return 0===e||0===t}function Q(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]=K(e,t)}))},s=1;s<t.length;s++)a()}return t}function V(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 K(e,t){return window.getComputedStyle(e)[t]}var W=new Set(["true","1"]),z=new Set(["false","0"]);function q(e,t){var n=W.has(e)||z.has(e),r=W.has(t)||z.has(t);return function(i,o){var a="*"==e||e==i,s="*"==t||t==o;return!a&&n&&"boolean"==typeof i&&(a=i?W.has(e):z.has(e)),!s&&r&&"boolean"==typeof o&&(s=o?W.has(t):z.has(t)),a&&s}}var Y=new RegExp("s*:selfs*,?","g");function G(e,t,n){return new X(e).build(t,n)}var X=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._driver=t}),[{key:"build",value:function(e,t){var n=new J(t);return this._resetContextStyleTimingState(n),V(this,I(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,l=s.name;l.toString().split(/\s*,\s*/).forEach((function(e){s.name=e,o.push(n.visitState(s,t))})),s.name=l}else if(1==e.type){var u=n.visitTransition(e,t);r+=u.queryCount,i+=u.depCount,a.push(u)}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||{};
1if(n.styles.forEach((function(e){if(Z(e)){var t=e;Object.keys(t).forEach((function(e){F(t[e]).forEach((function(e){o.hasOwnProperty(e)||i.add(e)}))}))}})),i.size){var a=U(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=V(this,I(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(q(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(q(s,o))}(e,i,r)})):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:$(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return V(n,e,t)})),options:$(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=V(n,e,t);return i=Math.max(i,t.currentTime),o}));return t.currentTime=i,{type:3,steps:o,options:$(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return ee(O(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var i=ee(0,0,"");return i.dynamic=!0,i.strValue=r,i}return ee((n=n||O(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var o=e.styles?e.styles:Object(r.l)({});if(5==o.type)n=this.visitKeyframes(o,t);else{var a=e.styles,s=!1;if(!a){s=!0;var l={};i.easing&&(l.easing=i.easing),a=Object(r.l)(l)}t.currentTime+=i.duration+i.delay;var u=this.visitStyle(a,t);u.isEmptyStep=s,n=u}return t.currentAnimateTimings=null,{type:4,timings:i,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==r.a?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)})):n.push(e.styles);var i=!1,o=null;return n.forEach((function(e){if(Z(e)){var t=e,n=t.easing;if(n&&(o=n,delete t.easing),!i)for(var r in t)if(t[r].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:o,offset:e.offset,containsDynamicStyles:i,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,l,u,c,h=t.collectedStyles[t.currentQuerySelector],d=h[r],f=!0;d&&(o!=i&&o>=d.startTime&&i<=d.endTime&&(t.errors.push('The CSS property "'.concat(r,'" that exists between the times of "').concat(d.startTime,'ms" and "').concat(d.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(i,'ms"')),f=!1),o=d.startTime),f&&(h[r]={startTime:o,endTime:i}),t.options&&(a=e[r],s=t.options,l=t.errors,u=s.params||{},(c=F(a)).length&&c.forEach((function(e){u.hasOwnProperty(e)||l.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,l=0,u=e.steps.map((function(e){var r=n._makeStyleAst(e,t),u=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(Z(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(Z(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),s=s||c<0||c>1,a=a||c<l,l=c,o.push(c),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 c=e.steps.length,h=0;i>0&&i<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(h=1/(c-1));var d=c-1,f=t.currentTime,p=t.currentAnimateTimings,g=p.duration;return u.forEach((function(e,i){var a=h>0?i==d?1:h*i:o[i],s=a*g;t.currentTime=f+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:V(this,I(e.animation),t),options:$(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:$(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:$(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}));
1return t&&(e=e.replace(Y,"")),[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,c(t.collectedStyles,t.currentQuerySelector,{});var s=V(this,I(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:$(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"}:O(e.timings,t.errors,!0);return{type:12,animation:V(this,I(e.animation),t),timings:n,options:null}}}])}(),J=_createClass2((function e(t){_classCallCheck2(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 Z(e){return!Array.isArray(e)&&"object"==typeof e}function $(e){var t;return e?(e=x(e)).params&&(e.params=(t=e.params)?x(t):null):e={},e}function ee(e,t,n){return{duration:e,delay:t,easing:n}}function te(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 ne=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._map=new Map}),[{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,_toConsumableArray2(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}])}(),re=new RegExp(":enter","g"),ie=new RegExp(":leave","g");function oe(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,l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new ae).buildKeyframes(e,t,n,r,i,o,a,s,l,u)}var ae=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"buildKeyframes",value:function(e,t,n,r,i,o,a,s,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new ne;var c=new le(e,t,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),V(this,n,c);var h=c.timelines.filter((function(e){return e.containsAnimation()}));if(h.length&&Object.keys(a).length){var d=h[h.length-1];d.allowOnlyTimelineStyles()||d.setStyles([a],null,c.errors,s)}return h.length?h.map((function(e){return e.buildKeyframes()})):[te(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?E(n.duration):null,o=null!=n.delay?E(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),V(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=se);var a=E(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach((function(e){return V(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?E(e.options.delay):0;e.steps.forEach((function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),V(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 O(t.params?L(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;
1o.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?E(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=se);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach((function(r,i){t.currentQueryIndex=i;var s=t.createSubContext(e.options,r);o&&s.delayNextStep(o),r===t.element&&(l=s.currentTimeline),V(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),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 l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;V(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}])}(),se={},le=function(){function e(t,n,r,i,o,a,s,l){_classCallCheck2(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=se,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new ue(this._driver,n,0),s.push(this.currentTimeline)}return _createClass2(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=E(r.duration)),null!=r.delay&&(i.delay=E(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]=L(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=se,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 ce(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(re,"."+this._enterClassName)).replace(ie,"."+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,_toConsumableArray2(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}}])}(),ue=function(){function e(t,n,r,i){_classCallCheck2(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()}
1return _createClass2(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:"currentTime",get:function(){return this.startTime+this.duration}},{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]||r.a,t._currentKeyframe[e]=r.a})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var o=this;t&&(this._previousKeyframe.easing=t);var a=i&&i.params||{},s=function(e,t){var n,i={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){i[e]=r.a})):P(e,!1,i)})),i}(e,this._globalTimelineStyles);Object.keys(s).forEach((function(e){var t=L(s[e],a,n);o._pendingStyles[e]=t,o._localTimelineStyles.hasOwnProperty(e)||(o._backFill[e]=o._globalTimelineStyles.hasOwnProperty(e)?o._globalTimelineStyles[e]:r.a),o._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:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{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,i=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach((function(a,s){var l=P(a,!0);Object.keys(l).forEach((function(e){var i=l[e];i==r.p?t.add(e):i==r.a&&n.add(e)})),i||(l.offset=s/e.duration),o.push(l)}));var a=t.size?U(t.values()):[],s=n.size?U(n.values()):[];if(i){var l=o[0],u=x(l);l.offset=0,u.offset=1,o=[l,u]}return te(this.element,o,a,s,this.duration,this.startTime,this.easing,!1)}}])}(),ce=function(e){function t(e,n,r,i,o,a){var s,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck2(this,t),(s=_callSuper(this,t,[e,n,a.delay])).element=n,s.keyframes=r,s.preStyleProps=i,s.postStyleProps=o,s._stretchStartingKeyframe=l,s.timings={duration:a.duration,delay:a.delay,easing:a.easing},s}return _inherits2(t,e),_createClass2(t,[{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,l=P(e[0],!1);l.offset=0,o.push(l);var u=P(e[0],!1);u.offset=he(s),o.push(u);for(var c=e.length-1,h=1;h<=c;h++){var d=P(e[h],!1);d.offset=he((n+d.offset*r)/a),o.push(d)}r=a,n=0,i="",e=o}return te(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}])}(ue);function he(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 de,fe,pe=_createClass2((function e(){_classCallCheck2(this,e)})),ge=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}
1return _inherits2(t,e),_createClass2(t,[{key:"normalizePropertyName",value:function(e,t){return j(e)}},{key:"normalizeStyleValue",value:function(e,t,n,r){var i="",o=n.toString().trim();if(_e[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}}])}(pe),_e=(de="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(","),fe={},de.forEach((function(e){return fe[e]=!0})),fe);function Ae(e,t,n,r,i,o,a,s,l,u,c,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:d}}var ve={},me=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._triggerName=t,this.ast=n,this._stateStyles=r}),[{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,l,u){var h=[],d=this.ast.options&&this.ast.options.params||ve,f=this.buildStyles(n,a&&a.params||ve,h),p=s&&s.params||ve,g=this.buildStyles(r,p,h),_=new Set,A=new Map,v=new Map,m="void"===r,y={params:Object.assign({},d,p)},b=u?[]:oe(e,t,this.ast.animation,i,o,f,g,y,l,h),C=0;if(b.forEach((function(e){C=Math.max(e.duration+e.delay,C)})),h.length)return Ae(t,this._triggerName,n,r,m,f,g,[],[],A,v,C,h);b.forEach((function(e){var n=e.element,r=c(A,n,{});e.preStyleProps.forEach((function(e){return r[e]=!0}));var i=c(v,n,{});e.postStyleProps.forEach((function(e){return i[e]=!0})),n!==t&&_.add(n)}));var w=U(_.values());return Ae(t,this._triggerName,n,r,m,f,g,b,w,A,v,C)}}])}(),ye=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.styles=t,this.defaultParams=n}),[{key:"buildStyles",value:function(e,t){var n={},r=x(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;
1Object.keys(i).forEach((function(e){var o=i[e];o.length>1&&(o=L(o,r,t)),n[e]=o}))}})),n}}])}(),be=function(){return _createClass2((function e(t,n){var r=this;_classCallCheck2(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(e){r.states[e.name]=new ye(e.style,e.options&&e.options.params||{})})),Ce(this.states,"true","1"),Ce(this.states,"false","0"),n.transitions.forEach((function(e){r.transitionFactories.push(new me(t,e,r.states))})),this.fallbackTransition=new me(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}),[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{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)}}])}();function Ce(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var we=new ne,ke=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}),[{key:"register",value:function(e,t){var n=[],r=G(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=a(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,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=[],l=this._animations[e],u=new Map;if(l?(n=oe(this._driver,t,l,"ng-enter","ng-leave",{},{},a,we,s)).forEach((function(e){var t=c(u,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(s.push("The requested animation doesn't exist or has already been destroyed"),n=[]),s.length)throw new Error("Unable to create the animation due to the following errors: "+s.join("\n"));u.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=i._driver.computeStyle(t,n,r.a)}))}));var h=o(n.map((function(e){var t=u.get(e.element);return i._buildPlayer(e,{},t)})));return this._playersById[e]=h,h.onDestroy((function(){return i.destroy(e)})),this.players.push(h),h}},{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=u(t,"","","");return s(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])}}])}(),Ee=[],Se={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Oe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},xe=function(){return _createClass2((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck2(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=x(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}),[{key:"params",get:function(){return this.options.params}},{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])}))}}}])}(),Pe=new xe("void"),Te=function(){return _createClass2((function e(t,n,r){_classCallCheck2(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-"
1+t,Le(n,this._hostClassName)}),[{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=c(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var l=c(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(Le(e,"ng-trigger"),Le(e,"ng-trigger-"+t),l[t]=Pe),function(){o._engine.afterFlush((function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete l[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 De(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Le(e,"ng-trigger"),Le(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],u=new xe(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[t]=u,l||(l=Pe),"void"===u.value||l.value!==u.value){var h=c(this._engine.playersByElement,e,[]);h.forEach((function(e){e.namespaceId==r.id&&e.triggerName==t&&e.queued&&e.destroy()}));var d=o.matchTransition(l.value,u.value,e,u.params),f=!1;if(!d){if(!i)return;d=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:a,isFallbackTransition:f}),f||(Le(e,"ng-animate-queued"),a.onStart((function(){Ue(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),h.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}(l.params,u.params)){var p=[],g=o.matchStyles(l.value,l.params,p),_=o.matchStyles(u.value,u.params,p);p.length?this._engine.reportError(p):this._engine.afterFlush((function(){M(e,g),D(e,_)}))}}},{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;arguments.length>2&&void 0!==arguments[2]&&arguments[2];
1this._engine.driver.query(e,".ng-trigger",!0).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)}}))}},{key:"triggerLeaveAnimation",value:function(e,t,n,r){var i=this,a=this._engine.statesByElement.get(e);if(a){var s=[];if(Object.keys(a).forEach((function(t){if(i._triggers[t]){var n=i.trigger(e,t,"void",r);n&&s.push(n)}})),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&o(s).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]||Pe,s=new xe("void"),l=new De(t.id,i,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:i,transition:o,fromState:a,toState:s,player:l,isFallbackTransition:!0})}}))}}},{key:"removeNode",value:function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t,!0),!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}}this.prepareLeaveAnimationListeners(e),i?r.markElementAsRemoved(this.id,e,!1,t):(r.afterFlush((function(){return n.clearElementCache(e)})),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}},{key:"insertNode",value:function(e,t){Le(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=u(o,r.triggerName,r.fromState.value,r.toState.value);n._data=e,s(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}}])}(),Be=function(){return _createClass2((function e(t,n,r){_classCallCheck2(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){}}),[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e}},{key:"createNamespace",value:function(e,t){var n=new Te(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(Me(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(Me(t)){var i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>
1=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),Le(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ue(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,r){if(Me(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 Me(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 o(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=Se,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++)Le(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 a=0;a<i.length;a++)i[a]()}}else for(var s=0;s<this.collectedLeaveElements.length;s++)this.processLeaveNode(this.collectedLeaveElements[s]);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 l=this._whenQuietFns;this._whenQuietFns=[],n.length?o(n).onDone((function(){l.forEach((function(e){return e()}))})):l.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,i=new ne,a=[],s=new Map,l=[],u=new Map,h=new Map,d=new Map,f=new Set;this.disabledNodes.forEach((function(e){f.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)f.add(t[r])}));var p=this.bodyNode,g=Array.from(this.statesByElement.keys()),_=Fe(g,this.collectedEnterElements),A=new Map,v=0;_.forEach((function(e,t){var n="ng-enter"+v++;A.set(t,n),e.forEach((function(e){return Le(e,n)}))}));for(var m=[],y=new Set,b=new Set,C=0;C<this.collectedLeaveElements.length;C++){var w=this.collectedLeaveElements[C],k=w.__ng_removed;
1k&&k.setForRemoval&&(m.push(w),y.add(w),k.hasAnimation?this.driver.query(w,".ng-star-inserted",!0).forEach((function(e){return y.add(e)})):b.add(w))}var E=new Map,S=Fe(g,Array.from(y));S.forEach((function(e,t){var n="ng-leave"+v++;E.set(t,n),e.forEach((function(e){return Le(e,n)}))})),e.push((function(){_.forEach((function(e,t){var n=A.get(t);e.forEach((function(e){return Ue(e,n)}))})),S.forEach((function(e,t){var n=E.get(t);e.forEach((function(e){return Ue(e,n)}))})),m.forEach((function(e){n.processLeaveNode(e)}))}));for(var O=[],x=[],P=this._namespaceList.length-1;P>=0;P--)this._namespaceList[P].drainQueuedTransitions(t).forEach((function(e){var t=e.player,r=e.element;if(O.push(t),n.collectedEnterElements.length){var o=r.__ng_removed;if(o&&o.setForMove)return void t.destroy()}var s=!p||!n.driver.containsElement(p,r),f=E.get(r),g=A.get(r),_=n._buildInstruction(e,i,g,f,s);if(_.errors&&_.errors.length)x.push(_);else{if(s)return t.onStart((function(){return M(r,_.fromStyles)})),t.onDestroy((function(){return D(r,_.toStyles)})),void a.push(t);if(e.isFallbackTransition)return t.onStart((function(){return M(r,_.fromStyles)})),t.onDestroy((function(){return D(r,_.toStyles)})),void a.push(t);_.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),i.append(r,_.timelines),l.push({instruction:_,player:t,element:r}),_.queriedElements.forEach((function(e){return c(u,e,[]).push(t)})),_.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var r=h.get(t);r||h.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}})),_.postStyleProps.forEach((function(e,t){var n=Object.keys(e),r=d.get(t);r||d.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}))}}));if(x.length){var T=[];x.forEach((function(e){T.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach((function(e){return T.push("- ".concat(e,"\n"))}))})),O.forEach((function(e){return e.destroy()})),this.reportError(T)}var B=new Map,I=new Map;l.forEach((function(e){var t=e.element;i.has(t)&&(I.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,B))})),a.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){c(B,t,[]).push(e),e.destroy()}))}));var R=m.filter((function(e){return je(e,h,d)})),F=new Map;Re(F,this.driver,b,d,r.a).forEach((function(e){je(e,h,d)&&R.push(e)}));var L=new Map;_.forEach((function(e,t){Re(L,n.driver,new Set(e),h,r.p)})),R.forEach((function(e){var t=F.get(e),n=L.get(e);F.set(e,Object.assign({},t,n))}));var U=[],N=[],j={};l.forEach((function(e){var t=e.element,r=e.player,l=e.instruction;if(i.has(t)){if(f.has(t))return r.onDestroy((function(){return D(t,l.toStyles)})),r.disabled=!0,r.overrideTotalTime(l.totalTime),void a.push(r);var u=j;if(I.size>1){for(var c=t,h=[];c=c.parentNode;){var d=I.get(c);if(d){u=d;break}h.push(c)}h.forEach((function(e){return I.set(e,u)}))}var p=n._buildAnimation(r.namespaceId,l,B,s,L,F);if(r.setRealPlayer(p),u===j)U.push(r);else{var g=n.playersByElement.get(u);g&&g.length&&(r.parentPlayer=o(g)),a.push(r)}}else M(t,l.fromStyles),r.onDestroy((function(){return D(t,l.toStyles)})),N.push(r),f.has(t)&&a.push(r)})),N.forEach((function(e){var t=s.get(e.element);if(t&&t.length){var n=o(t);e.setRealPlayer(n)}})),a.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var H=0;H<m.length;H++){var Q=m[H],V=Q.__ng_removed;if(Ue(Q,"ng-leave"),!V||!V.hasAnimation){var K=[];if(u.size){var W=u.get(Q);W&&W.length&&K.push.apply(K,_toConsumableArray2(W));for(var z=this.driver.query(Q,".ng-animating",!0),q=0;q<z.length;q++){var Y=u.get(z[q]);Y&&Y.length&&K.push.apply(K,_toConsumableArray2(Y))}}var G=K.filter((function(e){return!e.destroyed}));G.length?Ne(this,Q,G):this.processLeaveNode(Q)}}return m.length=0,U.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()})),U}},{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 l=!i||"void"==i;
1s.forEach((function(e){e.queued||(l||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,l=_createForOfIteratorHelper2(t.timelines);try{var u=function(){var e=r.value.element,l=e!==o,u=c(n,e,[]);i._getPreviousPlayers(e,l,a,s,t.toState).forEach((function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),u.push(e)}))};for(l.s();!(r=l.n()).done;)u()}catch(h){l.e(h)}finally{l.f()}M(o,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,i,s,l){var u=this,h=t.triggerName,d=t.element,f=[],p=new Set,g=new Set,_=t.timelines.map((function(t){var o=t.element;p.add(o);var c=o.__ng_removed;if(c&&c.removedBeforeQueried)return new r.d(t.duration,t.delay);var _,A,v=o!==d,m=(_=(n.get(o)||Ee).map((function(e){return e.getRealPlayer()})),A=[],function e(t,n){for(var i=0;i<t.length;i++){var o=t[i];o instanceof r.o?e(o.players,n):n.push(o)}}(_,A),A).filter((function(e){return!!e.element&&e.element===o})),y=s.get(o),b=l.get(o),C=a(0,u._normalizer,0,t.keyframes,y,b),w=u._buildPlayer(t,C,m);if(t.subTimeline&&i&&g.add(o),v){var k=new De(e,h,o);k.setRealPlayer(w),f.push(k)}return w}));f.forEach((function(e){c(u.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}(u.playersByQueriedElement,e.element,e)}))})),p.forEach((function(e){return Le(e,"ng-animating")}));var A=o(_);return A.onDestroy((function(){p.forEach((function(e){return Ue(e,"ng-animating")})),D(d,t.toStyles)})),g.forEach((function(e){c(i,e,[]).push(A)})),A}},{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 r.d(e.duration,e.delay)}}])}(),De=function(){return _createClass2((function e(t,n,i){_classCallCheck2(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new r.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}),[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEac
1h((function(n){t._queuedCallbacks[n].forEach((function(t){return s(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){c(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)}}])}();function Me(e){return e&&1===e.nodeType}function Ie(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Re(e,t,n,r,i){var o=[];n.forEach((function(e){return o.push(Ie(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=Oe,a.push(r))})),e.set(r,o)}));var s=0;return n.forEach((function(e){return Ie(e,o[s++])})),a}function Fe(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 Le(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ue(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Ne(e,t,n){o(n).onDone((function(){return e.processLeaveNode(t)}))}function je(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 He=function(){return _createClass2((function e(t,n,r){var i=this;_classCallCheck2(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Be(t,n,r),this._timelineEngine=new ke(t,n,r),this._transitionEngine.onRemovalComplete=function(e,t){return i.onRemovalComplete(e,t)}}),[{key:"registerTrigger",value:function(e,t,n,r,i){var o=e+"-"+r,a=this._triggerCache[o];if(!a){var s=[],l=G(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 be(e,t)}(r,l),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(h(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(h(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:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}])}();function Qe(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=Ke(t[0]),t.length>1&&(r=Ke(t[t.length-1]))):t&&(n=Ke(t)),n||r?new Ve(e,n,r):null}var Ve=function(){var e=function(){function e(t,n,r){_classCallCheck2(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 _createClass2(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&D(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(D(this._element,this._initialStyles),this._endStyles&&(D(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&&(M(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(M(this._element,this._endStyles),this._endStyles=null),D(this._element,this._initialStyles),this._state=3)}}])}();return e.initialStylesByElement=new WeakMap,e}();function Ke(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];We(i)&&((t=t||{})[i]=e[i])}return t}function We(e){return"display"===e||"position"===e}var ze=function(){return _createClass2((function e(t,n,r,i,o,a,s){var l=this;_classCallCheck2(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 l._handleCallback(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=Ze(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)e.charAt(n)}(n),t="".concat(n,", ").concat(t)),Je(e,"",t),Xe(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){qe(this._element,this._name,"paused")}},{key:"resume",value:function(){qe(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=Ye(this._element,this._name);this._position=e*this._duration,Je(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(),Xe(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=Ze(e,"").split(","),(r=Ge(n,t))>=0&&(n.splice(r,1),Je(e,"",n.join(","))))}}])}();function qe(e,t,n){Je(e,"PlayState",n,Ye(e,t))}function Ye(e,t){var n=Ze(e,"");return n.indexOf(",")>0?Ge(n.split(","),t):Ge([n],t)}function Ge(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function Xe(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Je(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 Ze(e,t){return e.style["animation"+t]}var $e=function(){return _createClass2((function e(t,n,r,i,o,a,s,l){_classCallCheck2(this,e),this.element=t,this.keyframes=n,this.animationName=r,this._duration=i,this._delay=o,this._finalStyles=s,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=i+o,this._buildStyler()}),[{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>
1=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 ze(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]:K(e.element,r))}))}this.currentSnapshot=t}}])}(),et=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=C(n),r}return _inherits2(t,e),_createClass2(t,[{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]})),_superPropGet(t,"init",this,3)([]))}},{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])})),_superPropGet(t,"play",this,3)([]))}},{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,_superPropGet(t,"destroy",this,3)([]))}}])}(r.d),tt=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}),[{key:"validateStyleProperty",value:function(e){return v(e)}},{key:"matchesElement",value:function(e,t){return m(e,t)}},{key:"containsElement",value:function(e,t){return y(e,t)}},{key:"query",value:function(e,t,n){return b(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 C(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 $e})),l={};H(n,r)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return l[e]=t[e]}))}));var u=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=Q(e,t,l));if(0==n)return new et(e,u);var c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(h);var d=Qe(e,t),f=new $e(e,t,c,n,r,i,u,d);return f.onDestroy((function(){var e;(e=h).parentNode.removeChild(e)})),f}},{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/IWu
1kam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}])}(),nt=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(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}),[{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:"totalTime",get:function(){return this._delay+this._duration}},{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]:K(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}}])}(),rt=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ot().toString()),this._cssKeyframesDriver=new tt}),[{key:"validateStyleProperty",value:function(e){return v(e)}},{key:"matchesElement",value:function(e,t){return m(e,t)}},{key:"containsElement",value:function(e,t){return y(e,t)}},{key:"query",value:function(e,t,n){return b(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 l={},u=o.filter((function(e){return e instanceof nt}));H(n,r)&&u.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return l[e]=t[e]}))}));var c=Qe(e,t=Q(e,t=t.map((function(e){return P(e,!1)})),l));return new nt(e,t,s,c)}}])}();function it(){return"function"==typeof ot()}function ot(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}},fdUv:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var r=n("8Y7J"),i=n("wOnQ"),o=n.n(i),a=function(){var e=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"getImage",value:function(e,t,n){var r={logging:!1};if(!t&&n.width>10&&n.height>10)r=Object.assign({},r,n);else if(!t)return;return o()(e,r).then((function(e){var t=e.toDataURL("image/png");return Promise.resolve(t)}),(function(e){throw new Error(e)})).catch((function(e){throw new Error(e)}))}},{key:"downloadImage",value:function(e){}}])}();return e.ngInjectableDef=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),s=_createClass2((function e(){_classCallCheck2(this,e)}))},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var r=n("2fFW"),i=n("NJ4a"),o={closed:!0,next:function(e){},error:function(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete:function(){}}},gtzJ:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n("mrSG"),i=n("lW6c");function o(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=Object(i.a)();if(o&&o[e])return o[e].apply(o,Object(r.h)(t));throw new Error("No hub defined or "+e+" was not found on the hub, please open a bug report.")}function a(e,t){var n;try{throw new Error("Sentry syntheticException")}catch(e){n=e}return o("captureException",e,{captureContext:t,originalException:e,syntheticException:n})}function s(e){o("withScope",e)}},hOhj:function(e,t,n){"use strict";var r=n("8Y7J"),i=n("KCVW"),o=n("XNiG"),a=n("LRne"),s=n("HDdC"),l=n("xgIS"),u=n("eNwd"),c=n("7Hc7"),h=n("VRyK"),d=n("/uUt"),f=n("3UWI"),p=n("pLZG"),g=n("1G5W"),_=n("JX91");n("7o/Q"),n("eIep"),n("jtHE");var A=n("/HVE");n("8bJo"),n.d(t,"j",(function(){return y})),n.d(t,"a",(function(){return w})),n.d(t,"e",(function(){return k})),n.d(t,"b",(function(){return E})),n.d(t,"f",(function(){return x})),n.d(t,"d",(function(){return P})),n.d(t,"i",(function(){return T})),n.d(t,"g",(function(){return B})),n.d(t,"h",(function(){return v})),n.d(t,"c",(function(){return O}));var v=new r.InjectionToken("VIRTUAL_SCROLL_STRATEGY"),m=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._scrolledIndexChange=new o.a,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Object(d.a)()),this._viewport=null,this._itemSize=t,this._minBufferPx=n,this._maxBufferPx=r}),[{key:"attach",value:function(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"detach",value:function(){this._scrolledIndexChange.complete(),this._viewport=null}},{key:"updateItemAndBufferSize",value:function(e,t,n){if(n<t)throw Error("CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx");this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentScrolled",value:function(){this._updateRenderedRange()}},{key:"onDataLengthChanged",value:function(){this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentRendered",value:function(){}},{key:"onRenderedOffsetChanged",value:function(){}},{key:"scrollToIndex",value:function(e,t){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,t)}},{key:"_updateTotalContentSize",value:function(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}},{key:"_updateRenderedRange",value:function(){if(this._viewport){var e=this._viewport.measureScrollOffset(),t=e/this._itemSize,n=this._viewport.getRenderedRange(),r={start:n.start,end:n.end},i=this._viewport.getViewportSize(),o=this._viewport.getDataLength(),a=e-r.start*this._itemSize;if(a<this._minBufferPx&&0!=r.start){var s=Math.ceil((this._maxBufferPx-a)/this._itemSize);r.start=Math.max(0,r.start-s),r.end=Math.min(o,Math.ceil(t+(i+this._minBufferPx)/this._itemSize))}else{var l=r.end*this._itemSize-(e+i);if(l<this._minBufferPx&&r.end!=o){var u=Math.ceil((this._maxBufferPx-l)/this._itemSize);u>0&&(r.end=Math.min(o,r.end+u),r.start=Math.max(0,Math.floor(t-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(r),this._viewport.setRenderedContentOffset(this._itemSize*r.start),this._scrolledIndexChange.next(Math.floor(t))}}}])}();function y(e){return e._scrollStrategy}var b,C,w=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new m(this.itemSize,this.minBufferPx,this.maxBufferPx)}),[{key:"itemSize",get:function(){return this._itemSize},set:function(e){this._itemSize=Object(i.f)(e)}},{key:"minBufferPx",get:function(){return this._minBufferPx},set:function(e){this._minBufferPx=Object(i.f)(e)}},{key:"maxBufferPx",get:function(){return this._maxBufferPx},set:function(e){this._maxBufferPx=Object(i.f)(e)}},{key:"ngOnChanges",value:function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}])}(),k=((b=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._ngZone=t,this._platform=n,this._scrolled=new o.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}),[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe((function(){return t._scrolled.next(e)})))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new s.a((function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Object(f.a)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Object(a.a)()}},{key:"ngOnDestroy",value:function(){var e=this;
1this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(p.a)((function(e){return!e||n.indexOf(e)>-1})))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach((function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)})),n}},{key:"_scrollableContainsElement",value:function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Object(l.a)(window.document,"scroll").subscribe((function(){return e._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}])}()).ngInjectableDef=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new b(Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(A.a))},token:b,providedIn:"root"}),b),E=function(){return _createClass2((function e(t,n,r,i){var a=this;_classCallCheck2(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=r,this.dir=i,this._destroyed=new o.a,this._elementScrolled=new s.a((function(e){return a.ngZone.runOutsideAngular((function(){return Object(l.a)(a.elementRef.nativeElement,"scroll").pipe(Object(g.a)(a._destroyed)).subscribe(e)}))}))}),[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;e.left=null==e.left?n?e.end:e.start:e.left,e.right=null==e.right?n?e.start:e.end:e.right,null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&Object(A.d)()!=A.c.NORMAL?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),Object(A.d)()==A.c.INVERTED?e.left=e.right:Object(A.d)()==A.c.NEGATED&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;Object(A.f)()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&Object(A.d)()==A.c.INVERTED?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&Object(A.d)()==A.c.NEGATED?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}])}(),S="undefined"!=typeof requestAnimationFrame?u.a:c.a,O=function(e){function t(e,n,r,i,a,l){var u;if(_classCallCheck2(this,t),(u=_callSuper(this,t,[e,l,r,a])).elementRef=e,u._changeDetectorRef=n,u._scrollStrategy=i,u._detachedSubject=new o.a,u._renderedRangeSubject=new o.a,u._orientation="vertical",u.scrolledIndexChange=new s.a((function(e){return u._scrollStrategy.scrolledIndexChange.subscribe((function(t){return Promise.resolve().then((function(){return u.ngZone.run((function(){return e.next(t)}))}))}))})),u.renderedRangeStream=u._renderedRangeSubject.asObservable(),u._totalContentSize=0,u._totalContentWidth="",u._totalContentHeight="",u._renderedRange={start:0,end:0},u._dataLength=0,u._viewportSize=0,u._renderedContentOffset=0,u._renderedContentOffsetNeedsRewrite=!1,u._isChangeDetectionPending=!1,u._runAfterChangeDetection=[],!i)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');return u}
1return _inherits2(t,e),_createClass2(t,[{key:"orientation",get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}},{key:"ngOnInit",value:function(){var e=this;_superPropGet(t,"ngOnInit",this,3)([]),this.ngZone.runOutsideAngular((function(){return Promise.resolve().then((function(){e._measureViewportSize(),e._scrollStrategy.attach(e),e.elementScrolled().pipe(Object(_.a)(null),Object(f.a)(0,S)).subscribe((function(){return e._scrollStrategy.onContentScrolled()})),e._markChangeDetectionNeeded()}))}))}},{key:"ngOnDestroy",value:function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),_superPropGet(t,"ngOnDestroy",this,3)([])}},{key:"attach",value:function(e){var t=this;if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular((function(){t._forOf=e,t._forOf.dataStream.pipe(Object(g.a)(t._detachedSubject)).subscribe((function(e){var n=e.length;n!==t._dataLength&&(t._dataLength=n,t._scrollStrategy.onDataLengthChanged()),t._doChangeDetection()}))}))}},{key:"detach",value:function(){this._forOf=null,this._detachedSubject.next()}},{key:"getDataLength",value:function(){return this._dataLength}},{key:"getViewportSize",value:function(){return this._viewportSize}},{key:"getRenderedRange",value:function(){return this._renderedRange}},{key:"setTotalContentSize",value:function(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}},{key:"setRenderedRange",value:function(e){var t,n,r=this;((t=this._renderedRange).start!=(n=e).start||t.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded((function(){return r._scrollStrategy.onContentRendered()})))}},{key:"getOffsetToRenderedContentStart",value:function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}},{key:"setRenderedContentOffset",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"to-start",r="horizontal"==this.orientation,i=r?"X":"Y",o="translate".concat(i,"(").concat(Number((r&&this.dir&&"rtl"==this.dir.value?-1:1)*e),"px)");this._renderedContentOffset=e,"to-end"===n&&(o+=" translate".concat(i,"(-100%)"),this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=o&&(this._renderedContentTransform=o,this._markChangeDetectionNeeded((function(){t._renderedContentOffsetNeedsRewrite?(t._renderedContentOffset-=t.measureRenderedContentSize(),t._renderedContentOffsetNeedsRewrite=!1,t.setRenderedContentOffset(t._renderedContentOffset)):t._scrollStrategy.onRenderedOffsetChanged()})))}},{key:"scrollToOffset",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n={behavior:t};"horizontal"===this.orientation?n.start=e:n.top=e,this.scrollTo(n)}},{key:"scrollToIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";this._scrollStrategy.scrollToIndex(e,t)}},{key:"measureScrollOffset",value:function(e){return _superPropGet(t,"measureScrollOffset",this,3)([e||("horizontal"===this.orientation?"start":"top")])}},{key:"measureRenderedContentSize",value:function(){var e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}},{key:"measureRangeSize",value:function(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}},{key:"checkViewportSize",value:function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}},{key:"_measureViewportSize",value:function(){var e=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?e.clientWidth:e.clientHeight}},{key:"_markChangeDetectionNeeded",value:function(e){var t=this;e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular((function(){return Promise.resolve().then((function(){t._doChangeDetection()}))})))}},{key:"_doChangeDetection",value:function(){var e=this;this._isChangeDetectionPending=!1,this.ngZone.run((function(){return e._changeDetectorRef.markForCheck()})),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform;var t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];var n,r=_createForOfIteratorHelper2(t);try{for(r.s();!(n=r.n()).done;){(0,n.value)()}}catch(i){r.e(i)}finally{r.f()}}},{key:"_calculateSpacerSize",value:function(){this._totalContentHeight="horizontal"===this.orientation?"":this._totalContentSize+"px",this._totalContentWidth="horizontal"===this.orientation?this._totalContentSize+"px":""}}])}(E),x=_createClass2((function e(){_classCallCheck2(this,e)})),P=_createClass2((function e(){_classCallCheck2(this,e)})),T=((C=function(){return _createClass2((function e(t,n){var r=this;_classCallCheck2(this,e),this._platform=t,n.runOutsideAngular((function(){r._change=t.isBrowser?Object(h.a)(Object(l.a)(window,"resize"),Object(l.a)(window,"orientationchange")):Object(a.a)(),r._invalidateCache=r.change().subscribe((function(){return r._updateViewportSize()}))}))}),[{key:"ngOnDestroy",value:function(){this._invalidateCache.unsubscribe()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();
1var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=document.documentElement,t=e.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||e.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||e.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(Object(f.a)(e)):this._change}},{key:"_updateViewportSize",value:function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}])}()).ngInjectableDef=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new C(Object(r["\u0275\u0275inject"])(A.a),Object(r["\u0275\u0275inject"])(r.NgZone))},token:C,providedIn:"root"}),C),B={provide:T,deps:[[new r.Optional,new r.SkipSelf,T],A.a,r.NgZone],useFactory:function(e,t,n){return e||new T(t,n)}}},hhfa:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("mrSG"),i=n("8Y7J"),o=(n("XNiG"),n("SVse")),a=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e=Object(r.c)([Object(i.Component)({selector:"p-header",template:"<ng-content></ng-content>"})],e)}(),s=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e=Object(r.c)([Object(i.Component)({selector:"p-footer",template:"<ng-content></ng-content>"})],e)}(),l=function(){var e=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.template=t}),[{key:"getType",value:function(){return this.name}}])}();return Object(r.c)([Object(i.Input)()],e.prototype,"type",void 0),Object(r.c)([Object(i.Input)("pTemplate")],e.prototype,"name",void 0),e=Object(r.c)([Object(i.Directive)({selector:"[pTemplate]",host:{}})],e)}(),u=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e=Object(r.c)([Object(i.NgModule)({imports:[o.c],exports:[a,s,l],declarations:[a,s,l]})],e)}()},hpHm:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return u})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return v})),n.d(t,"j",(function(){return h}));var r=n("8Y7J"),i=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.open=t,this.close=n||t}),[{key:"isManual",value:function(){return"manual"===this.open||"manual"===this.close}}])}(),o={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,n=(e||"").trim();if(0===n.length)return[];var r=n.split(/\s+/).map((function(e){return e.split(":")})).map((function(e){var n=t[e[0]]||e;return new i(n[0],n[1])})),a=r.filter((function(e){return e.isManual()}));if(a.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===a.length&&r.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return r}function s(e,t){var n=a(t.triggers),r=t.target;if(1===n.length&&n[0].isManual())return Function.prototype;var i=[],o=[],s=function(){o.forEach((function(e){return i.push(e())})),o.length=0};return n.forEach((function(n){var a=n.open===n.close,l=a?t.toggle:t.show;a||o.push((function(){return e.listen(r,n.close,t.hide)})),i.push(e.listen(r,n.open,(function(){return l(s)})))})),function(){i.forEach((function(e){return e()}))}}function l(e,t){return t.outsideClick?e.listen("document","click",(function(e){t.target&&t.target.contains(e.target)||t.targets&&t.targets.some((function(t){return t.contains(e.target)}))||t.hide()})):Function.prototype}function u(e,t){return t.outsideEsc?e.listen("document","keyup.esc",(function(e){t.target&&t.target.contains(e.target)||t.targets&&t.targets.some((function(t){return t.contains(e.target)}))||t.hide()})):Function.prototype}var c,h="undefined"!=typeof window&&window||{},d=h.document;function f(){return void 0===h||(void 0===h.__theme?(c||(c=function(){if("undefined"==typeof document)return null;var e=document.createElement("span");e.innerText="test bs version",document.body.appendChild(e),e.classList.add("d-none");var t=e.getBoundingClientRect();return document.body.removeChild(e),t&&0===t.top?"bs4":"bs3"}()),"bs3"===c):"bs4"!==h.__theme)}function p(e){return function(e,t){var n=" __".concat(t,"Value");Object.defineProperty(e,t,{get:function(){return this[n]},set:function(e){var r=this[n];this[n]=e,r!==e&&this[t+"Change"]&&this[t+"Change"].emit(e)}})}}var g=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),null,[{key:"reflow",value:function(e){}},{key:"getStyles",value:function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=h),t.getComputedStyle(e)}}])}(),_={},A="undefined"==typeof console||!("warn"in console);function v(e){!Object(r.isDevMode)()||A||e in _||(_[e]=!0,console.warn(e))}},iInd:function(e,t,n){"use strict";var r=n("SVse"),i=n("8Y7J"),o=n("LRne"),a=n("Cfvw"),s=n("2Vo4"),l=n("HDdC"),u=n("sVev"),c=n("itXk"),h=n("NXyV"),d=n("XNiG"),f=n("EY2u"),p=n("lJxs"),g=n("0EUg"),_=n("pLZG"),A=n("BFxc"),v=n("XDbj"),m=n("xbPD"),y=n("SpAZ");function b(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Object(_.a)((function(t,n){return e(t,n,r)})):y.a,Object(A.a)(1),n?Object(m.a)(t):Object(v.a)((function(){return new u.a})))}}var C=n("JIr8"),w=n("SxV6"),k=n("5+tZ"),E=n("7o/Q"),S=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.predicate=t,this.thisArg=n,this.source=r}),[{key:"call",value:function(e,t){return t.subscribe(new O(e,this.predicate,this.thisArg,this.source))}}])}(),O=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t,[e])).predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||_assertThisInitialized2(o),o}
1return _inherits2(t,e),_createClass2(t,[{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)}}])}(E.a),x=n("eIep"),P=n("IzEk"),T=n("JX91"),B=n("Kqap"),D=n("bOdf"),M=n("128B"),I=n("vkgz"),R=n("nYR2"),F=n("bHdf"),L=n("cUpR");n.d(t,"K",(function(){return te})),n.d(t,"A",(function(){return gn})),n.d(t,"H",(function(){return En})),n.d(t,"C",(function(){return mn})),n.d(t,"I",(function(){return Sn})),n.d(t,"J",(function(){return On})),n.d(t,"E",(function(){return bn})),n.d(t,"D",(function(){return yn})),n.d(t,"G",(function(){return kn})),n.d(t,"B",(function(){return An})),n.d(t,"F",(function(){return wn})),n.d(t,"L",(function(){return fn})),n.d(t,"s",(function(){return en})),n.d(t,"u",(function(){return tn})),n.d(t,"t",(function(){return rn})),n.d(t,"w",(function(){return sn})),n.d(t,"b",(function(){return $})),n.d(t,"e",(function(){return H})),n.d(t,"f",(function(){return j})),n.d(t,"g",(function(){return Q})),n.d(t,"h",(function(){return N})),n.d(t,"o",(function(){return q})),n.d(t,"p",(function(){return z})),n.d(t,"q",(function(){return Kt})),n.d(t,"r",(function(){return $t})),n.d(t,"n",(function(){return zt})),n.d(t,"l",(function(){return pn})),n.d(t,"m",(function(){return xn})),n.d(t,"v",(function(){return vn})),n.d(t,"c",(function(){return an})),n.d(t,"i",(function(){return hn})),n.d(t,"j",(function(){return cn})),n.d(t,"k",(function(){return un})),n.d(t,"x",(function(){return dn})),n.d(t,"a",(function(){return Ke})),n.d(t,"y",(function(){return Yt})),n.d(t,"d",(function(){return we})),n.d(t,"z",(function(){return Ce}));var U=_createClass2((function e(t,n){_classCallCheck2(this,e),this.id=t,this.url=n})),N=function(e){function t(e,n){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e,n])).navigationTrigger=i,r.restoredState=o,r}return _inherits2(t,e),_createClass2(t,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}])}(U),j=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[e,n])).urlAfterRedirects=r,i}return _inherits2(t,e),_createClass2(t,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}])}(U),H=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[e,n])).reason=r,i}return _inherits2(t,e),_createClass2(t,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}])}(U),Q=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[e,n])).error=r,i}return _inherits2(t,e),_createClass2(t,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}])}(U),V=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t,[e,n])).urlAfterRedirects=r,o.state=i,o}return _inherits2(t,e),_createClass2(t,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(U),K=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t,[e,n])).urlAfterRedirects=r,o.state=i,o}return _inherits2(t,e),_createClass2(t,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(U),W=function(e){function t(e,n,r,i,o){var a;return _classCallCheck2(this,t),(a=_callSuper(this,t,[e,n])).urlAfterRedirects=r,a.state=i,a.shouldActivate=o,a}
1return _inherits2(t,e),_createClass2(t,[{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,")")}}])}(U),z=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t,[e,n])).urlAfterRedirects=r,o.state=i,o}return _inherits2(t,e),_createClass2(t,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(U),q=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t,[e,n])).urlAfterRedirects=r,o.state=i,o}return _inherits2(t,e),_createClass2(t,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(U),Y=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.route=t}),[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}])}(),G=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.route=t}),[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}])}(),X=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.snapshot=t}),[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),J=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.snapshot=t}),[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),Z=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.snapshot=t}),[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),$=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.snapshot=t}),[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),ee=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.routerEvent=t,this.position=n,this.anchor=r}),[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}])}(),te=_createClass2((function e(){_classCallCheck2(this,e)})),ne=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.params=t||{}}),[{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)}}])}();function re(e){return new ne(e)}function ie(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function oe(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 ae=_createClass2((function e(t,n){_classCallCheck2(this,e),this.routes=t,this.module=n}));function se(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var r=e[n];le(r,ue(t,r))}}function le(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&&se(e.children,t)}function ue(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function ce(e){var t=e.children&&e.children.map(ce),n=t?Object.assign({},e,{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=te),n}function he(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(e[n=r[o]]!==t[n])return!1;return!0}function de(e){return Array.prototype.concat.apply([],e)}function fe(e){return e.length>0?e[e.length-1]:null}function pe(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function ge(e){return Object(i["\u0275isObservable"])(e)?e:Object(i["\u0275isProm
1ise"])(e)?Object(a.a)(Promise.resolve(e)):Object(o.a)(e)}function _e(e,t,n){return n?function(e,t){return he(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!ye(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 t[n]===e[n]}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,i){if(n.segments.length>i.length)return!!ye(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!ye(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!!ye(n.segments,a)&&!!n.children.primary&&t(n.children.primary,r,s)}(t,n,n.segments)}(e.root,t.root)}var Ae=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.root=t,this.queryParams=n,this.fragment=r}),[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=re(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return ke.serialize(this)}}])}(),ve=function(){return _createClass2((function e(t,n){var r=this;_classCallCheck2(this,e),this.segments=t,this.children=n,this.parent=null,pe(n,(function(e,t){return e.parent=r}))}),[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Ee(this)}}])}(),me=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.path=t,this.parameters=n}),[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=re(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Be(this)}}])}();function ye(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function be(e,t){var n=[];return pe(e.children,(function(e,r){"primary"===r&&(n=n.concat(t(e,r)))})),pe(e.children,(function(e,r){"primary"!==r&&(n=n.concat(t(e,r)))})),n}var Ce=_createClass2((function e(){_classCallCheck2(this,e)})),we=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"parse",value:function(e){var t=new Fe(e);return new Ae(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+function e(t,n){if(!t.hasChildren())return Ee(t);if(n){var r=t.children.primary?e(t.children.primary,!1):"",i=[];return pe(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=be(t,(function(n,r){return"primary"===r?[e(t.children.primary,!1)]:["".concat(r,":").concat(e(n,!1))]}));return"".concat(Ee(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(Oe(e),"=").concat(Oe(t))})).join("&"):"".concat(Oe(e),"=").concat(Oe(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,n}}])}(),ke=new we;function Ee(e){return e.segments.map((function(e){return Be(e)})).join("/")}function Se(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Oe(e){return Se(e).replace(/%3B/gi,";")}function xe(e){return Se(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pe(e){return decodeURIComponent(e)}function Te(e){return Pe(e.replace(/\+/g,"%20"))}function Be(e){return"".concat(xe(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(xe(e),"=").concat(xe(t[e]))})).join("")));var t}var De=/^[^\/()?;=#]+/;function Me(e){var t=e.match(De);return t?t[0]:""}var Ie=/^[^=?&#]+/,Re=/^[^?&#]+/,Fe=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.url=t,this.remaining=t}),[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ve([],{}):new ve([],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("#")?decode
1URIComponent(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 ve(e,t)),n}},{key:"parseSegment",value:function(){var e=Me(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new me(Pe(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Me(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Me(this.remaining);r&&(n=r,this.capture(n))}e[Pe(t)]=Pe(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(Ie);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(Re);return t?t[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var i=Te(t),o=Te(n);if(e.hasOwnProperty(i)){var a=e[i];Array.isArray(a)||(a=[a],e[i]=a),a.push(o)}else e[i]=o}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Me(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 ve([],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,'".'))}}])}(),Le=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._root=t}),[{key:"root",get:function(){return this._root.value}},{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=Ue(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=Ue(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Ne(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 Ne(e,this._root).map((function(e){return e.value}))}}])}();function Ue(e,t){if(e===t.value)return t;var n,r=_createForOfIteratorHelper2(t.children);try{for(r.s();!(n=r.n()).done;){var i=Ue(e,n.value);if(i)return i}}catch(o){r.e(o)}finally{r.f()}return null}function Ne(e,t){if(e===t.value)return[t];var n,r=_createForOfIteratorHelper2(t.children);try{for(r.s();!(n=r.n()).done;){var i=Ne(e,n.value);if(i.length)return i.unshift(t),i}}catch(o){r.e(o)}finally{r.f()}return[]}var je=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.value=t,this.children=n}),[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}])}();function He(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var Qe=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).snapshot=n,Ye(_assertThisInitialized2(r),e),r}return _inherits2(t,e),_createClass2(t,[{key:"toString",value:function(){return this.snapshot.toString()}}])}(Le);function Ve(e,t){var n=function(e,t){var n=new ze([],{},{},"",{},"primary",t,null,e.root,-1,{});return new qe("",new je(n,[]))}(e,t),r=new s.a([new me("",{})]),i=new s.a({}),o=new s.a({}),a=new s.a({}),l=new s.a(""),u=new Ke(r,i,a,l,o,"primary",t,n.root);return u.snapshot=n.root,new Qe(new je(u,[]),n)}var Ke=function(){return _createClass2((function e(t,n,r,i,o,a,s,l){_classCallCheck2(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=l}
1),[{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(Object(p.a)((function(e){return re(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(p.a)((function(e){return re(e)})))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}])}();function We(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({},e.params,t.params),data:Object.assign({},e.data,t.data),resolve:Object.assign({},e.resolve,t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var ze=function(){return _createClass2((function e(t,n,r,i,o,a,s,l,u,c,h){_classCallCheck2(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=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=h}),[{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=re(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=re(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}])}(),qe=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[n])).url=e,Ye(_assertThisInitialized2(r),n),r}return _inherits2(t,e),_createClass2(t,[{key:"toString",value:function(){return Ge(this._root)}}])}(Le);function Ye(e,t){t.value._routerState=e,t.children.forEach((function(t){return Ye(e,t)}))}function Ge(e){var t=e.children.length>0?" { ".concat(e.children.map(Ge).join(", ")," } "):"";return"".concat(e.value).concat(t)}function Xe(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,he(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),he(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(!he(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),he(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Je(e,t){var n,r;return he(e.params,t.params)&&ye(n=e.url,r=t.url)&&n.every((function(e,t){return he(e.parameters,r[t].parameters)}))&&!(!e.parent!=!t.parent)&&(!e.parent||Je(e.parent,t.parent))}function Ze(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function $e(e,t,n,r,i){var o={};return r&&pe(r,(function(e,t){o[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),new Ae(n.root===e?t:function e(t,n,r){var i={};return pe(t.children,(function(t,o){i[o]=t===n?r:e(t,n,r)})),new ve(t.segments,i)}(n.root,e,t),o,i)}var et=function(){return _createClass2((function e(t,n,r){if(_classCallCheck2(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Ze(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!==fe(r))throw new Error("{outlets:{}} has to be the last command")}),[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}])}(),tt=_createClass2((function e(t,n,r){_classCallCheck2(this,e),this.segmentGroup=t,this.processChildren=n,this.index=r}));function nt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function rt(e,t,n){if(e||(e=new ve([],{})),0===e.segments.length&&e.hasChildren())return it(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=nt(n[r]),l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!lt(s,l,a))return o;r+=2}else{if(!lt(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 ve(e.segments.slice(0,r.pathIndex),{});return o.children.primary=new ve(e.segments.slice(r.pathIndex),e.children),it
1(o,0,i)}return r.match&&0===i.length?new ve(e.segments,{}):r.match&&!e.hasChildren()?ot(e,t,n):r.match?it(e,0,i):ot(e,t,n)}function it(e,t,n){if(0===n.length)return new ve(e.segments,{});var r=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),i={};return pe(r,(function(n,r){null!==n&&(i[r]=rt(e.children[r],t,n))})),pe(e.children,(function(e,t){void 0===r[t]&&(i[t]=e)})),new ve(e.segments,i)}function ot(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=at(n[i].outlets);return new ve(r,o)}if(0===i&&Ze(n[0]))r.push(new me(e.segments[t].path,n[0])),i++;else{var a=nt(n[i]),s=i<n.length-1?n[i+1]:null;a&&s&&Ze(s)?(r.push(new me(a,st(s))),i+=2):(r.push(new me(a,{})),i++)}}return new ve(r,{})}function at(e){var t={};return pe(e,(function(e,n){null!==e&&(t[n]=ot(new ve([],{}),0,e))})),t}function st(e){var t={};return pe(e,(function(e,n){return t[n]=""+e})),t}function lt(e,t,n){return e==n.path&&he(t,n.parameters)}var ut=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}),[{key:"activate",value:function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Xe(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var r=this,i=He(t);e.children.forEach((function(e){var t=e.value.outlet;r.deactivateRoutes(e,i[t],n),delete i[t]})),pe(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=He(e),o=e.value.component?r.children:t;pe(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=He(t);e.children.forEach((function(e){r.activateRoutes(e,i[e.value.outlet],n),r.forwardEvent(new $(e.value.snapshot))})),e.children.length&&this.forwardEvent(new J(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var r=e.value,i=t?t.value:null;if(Xe(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),ct(s.route)}else{var l=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),u=l?l.module.componentFactoryResolver:null;a.attachRef=null,a.route=r,a.resolver=u,a.outlet&&a.outlet.activateWith(r,u),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,n)}}])}();function ct(e){Xe(e.value),e.children.forEach(ct)}function ht(e){return"function"==typeof e}function dt(e){return e instanceof Ae}var ft=_createClass2((function e(t){_classCallCheck2(this,e),this.segmentGroup=t||null})),pt=_createClass2((function e(t){_classCallCheck2(this,e),this.urlTree=t}));function gt(e){return new l.a((function(t){return t.error(new ft(e))}))}function _t(e){return new l.a((function(t){return t.error(new pt(e))}))}function At(e){return new l.a((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))}))}var vt=function(){return _createClass2((function e(t,n,r,o,a){_classCallCheck2(this,e),this.configLoader=n,this.urlSerializer
1=r,this.urlTree=o,this.config=a,this.allowRedirects=!0,this.ngModule=t.get(i.NgModuleRef)}),[{key:"apply",value:function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(p.a)((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(Object(C.a)((function(t){if(t instanceof pt)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof ft)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(Object(p.a)((function(n){return t.createUrlTree(n,e.queryParams,e.fragment)}))).pipe(Object(C.a)((function(e){if(e instanceof ft)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 ve([],{primary:e}):e;return new Ae(r,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(p.a)((function(e){return new ve([],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 Object(o.a)({});var a=[],s=[],l={};return pe(n,(function(n,i){var o,u,c=(o=i,u=n,r.expandSegmentGroup(e,t,u,o)).pipe(Object(p.a)((function(e){return l[i]=e})));"primary"===i?a.push(c):s.push(c)})),o.a.apply(null,a.concat(s)).pipe(Object(g.a)(),b(),Object(p.a)((function(){return l})))}(n.children)}},{key:"expandSegment",value:function(e,t,n,r,i,a){var s=this;return Object(o.a).apply(void 0,_toConsumableArray2(n)).pipe(Object(p.a)((function(l){return s.expandSegmentAgainstRoute(e,t,n,l,r,i,a).pipe(Object(C.a)((function(e){if(e instanceof ft)return Object(o.a)(null);throw e})))})),Object(g.a)(),Object(w.a)((function(e){return!!e})),Object(C.a)((function(e,n){if(e instanceof u.a||"EmptyError"===e.name){if(s.noLeftoversInUrl(t,r,i))return Object(o.a)(new ve([],{}));throw new ft(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 Ct(r)!==o?gt(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):gt(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("/")?_t(o):this.lineralizeSegments(n,o).pipe(Object(k.a)((function(n){var o=new ve(n,{});return i.expandSegment(e,o,t,n,r,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,o){var a=this,s=mt(t,r,i),l=s.matched,u=s.consumedSegments,c=s.lastChild,h=s.positionalParamSegments;if(!l)return gt(t);var d=this.applyRedirectCommands(u,r.redirectTo,h);return r.redirectTo.startsWith("/")?_t(d):this.lineralizeSegments(r,d).pipe(Object(k.a)((function(r){return a.expandSegment(e,t,n,r.concat(i.slice(c)),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(Object(p.a)((function(e){return n._loadedConfig=e,new ve(r,{})}))):Object(o.a)(new ve(r,{}));var a=mt(t,n,r),s=a.matched,l=a.consumedSegments,u=a.lastChild;if(!s)return gt(t);var c=r.slice(u);return this.getChildConfig(e,n,r).pipe(Object(k.a)((function(e){var n=e.module,r=e.routes,a=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some((function(n){return bt(e,t,n)&&"primary"!==Ct(n)}))}(e,n,r)?{segmentGroup:yt(new ve(t,function(e,t){var n={};n.primary=t;var r,i=_createForOfIteratorHelper2(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;
1""===o.path&&"primary"!==Ct(o)&&(n[Ct(o)]=new ve([],{}))}}catch(a){i.e(a)}finally{i.f()}return n}(r,new ve(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return bt(e,t,n)}))}(e,n,r)?{segmentGroup:yt(new ve(e.segments,function(e,t,n,r){var i,o={},a=_createForOfIteratorHelper2(n);try{for(a.s();!(i=a.n()).done;){var s=i.value;bt(e,t,s)&&!r[Ct(s)]&&(o[Ct(s)]=new ve([],{}))}}catch(l){a.e(l)}finally{a.f()}return Object.assign({},r,o)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,l,c,r),s=a.segmentGroup,u=a.slicedSegments;return 0===u.length&&s.hasChildren()?i.expandChildren(n,r,s).pipe(Object(p.a)((function(e){return new ve(l,e)}))):0===r.length&&0===u.length?Object(o.a)(new ve(l,{})):i.expandSegment(n,s,r,u,"primary",!0).pipe(Object(p.a)((function(e){return new ve(l.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var r=this;return t.children?Object(o.a)(new ae(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(o.a)(t._loadedConfig):function(e,t,n){var r,i=t.canLoad;return i&&0!==i.length?Object(a.a)(i).pipe(Object(p.a)((function(r){var i,o=e.get(r);if(function(e){return e&&ht(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!ht(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return ge(i)}))).pipe(Object(g.a)(),(r=function(e){return!0===e},function(e){return e.lift(new S(r,void 0,e))})):Object(o.a)(!0)}(e.injector,t,n).pipe(Object(k.a)((function(n){return n?r.configLoader.load(e.injector,t).pipe(Object(p.a)((function(e){return t._loadedConfig=e,e}))):function(e){return new l.a((function(t){return t.error(ie("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):Object(o.a)(new ae([],e))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children.primary)return At(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 Ae(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return pe(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 pe(t.children,(function(t,o){a[o]=i.createSegmentGroup(e,t,n,r)})),new ve(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=_createForOfIteratorHelper2(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}}])}();function mt(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||oe)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function yt(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new ve(e.segments.concat(t.segments),t.children)}return e}function bt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ct(e){return e.outlet||"primary"}var wt=_createClass2((function e(t){_classCallCheck2(this,e),this.path=t,this.route=this.path[this.path.length-1]})),kt=_createClass2((function e(t,n){_classCallCheck2(this,e),this.component=t,this.route=n}));function Et(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 St(e,t,n){var r=He(e),i=e.value;pe(r,(function(e,r){St(e,i.component?t?t.children.getContext(r):null:t,n)}
1)),n.canDeactivateChecks.push(new kt(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}var Ot=Symbol("INITIAL_VALUE");function xt(){return Object(x.a)((function(e){return Object(c.a).apply(void 0,_toConsumableArray2(e.map((function(e){return e.pipe(Object(P.a)(1),Object(T.a)(Ot))})))).pipe(Object(B.a)((function(e,t){var n=!1;return t.reduce((function(e,r,i){if(e!==Ot)return e;if(r===Ot&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||dt(r))return r}return e}),e)}),Ot),Object(_.a)((function(e){return e!==Ot})),Object(p.a)((function(e){return dt(e)?e:!0===e})),Object(P.a)(1))}))}function Pt(e,t){return null!==e&&t&&t(new Z(e)),Object(o.a)(!0)}function Tt(e,t){return null!==e&&t&&t(new X(e)),Object(o.a)(!0)}function Bt(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);var i=r.map((function(r){return Object(h.a)((function(){var i,o=Et(r,t,n);if(function(e){return e&&ht(e.canActivate)}(o))i=ge(o.canActivate(t,e));else{if(!ht(o))throw new Error("Invalid CanActivate guard");i=ge(o(t,e))}return i.pipe(Object(w.a)())}))}));return Object(o.a)(i).pipe(xt())}function Dt(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 Object(h.a)((function(){var i=t.guards.map((function(i){var o,a=Et(i,t.node,n);if(function(e){return e&&ht(e.canActivateChild)}(a))o=ge(a.canActivateChild(r,e));else{if(!ht(a))throw new Error("Invalid CanActivateChild guard");o=ge(a(r,e))}return o.pipe(Object(w.a)())}));return Object(o.a)(i).pipe(xt())}))}));return Object(o.a)(i).pipe(xt())}var Mt=_createClass2((function e(){_classCallCheck2(this,e)})),It=function(){return _createClass2((function e(t,n,r,i,o,a){_classCallCheck2(this,e),this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}),[{key:"recognize",value:function(){try{var e=Lt(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new ze([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new je(n,t),i=new qe(this.url,r);return this.inheritParamsAndData(i._root),Object(o.a)(i)}catch(a){return new l.a((function(e){return e.error(a)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,r=We(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=be(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=_createForOfIteratorHelper2(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 Mt))throw s}}}catch(l){o.e(l)}finally{o.f()}if(this.noLeftoversInUrl(t,n,r))return[];throw new Mt}},{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 Mt;if((e.outlet||"primary")!==r)throw new Mt;var i,o=[],a=[];if("**"===e.path){var s=n.length>0?fe(n).parameters:{};i=new ze(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,jt(e),r,e.component,e,Rt(t),Ft(t)+n.length,Ht(e))}else{var l=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Mt;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||oe)(n,e,t);if(!r)throw new Mt;var i={};pe(r.posParams,(function(e,t){i[t]=e.path}));var o=r.consumed.length>0?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=l.consumedSegments,a=n.slice(l.lastChild),i=new ze(o,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,jt(e),r,e.component,e,Rt(t),Ft(t)+o.length,Ht(e))}var u=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),c=Lt(t,o,a,u,this.relativeLinkResolution),h=c.segmentGroup,d=c.slicedSegments;if(0===d.length&&h.hasChildren()){var f=this.processChildren(u,h);return[new je(i,f)]}if(0===u.length&&0===d.length)return[new je(i,[])];var p=this.processSegment(u,h,d,"primary");return[new je(i,p)]}}])}();function Rt(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Ft(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 Lt(e,t,n,r,i){if(n.length>0&&function(e,t,n){return n.some((function(n){return Ut(e,t,n)&&"primary"!==Nt(n)}))}(e,n,r)){var o=new ve(t,function(e,t,n,r){var i={};i.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;var o,a=_createForOfIteratorHelper2(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&"primary"!==Nt(s)){var l=new ve([],{});l._sourceSegment=e,l._segmentIndexShift=t.length,i[Nt(s)]=l}}}catch(u){a.e(u)}finally{a.f()}return i}(e,t,r,new ve(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 Ut(e,t,n)}))}(e,n,r)){var a=new ve(e.segments,function(e,t,n,r,i,o){var a,s={},l=_createForOfIteratorHelper2(r);try{for(l.s();!(a=l.n()).done;){var u=a.value;if(Ut(e,n,u)&&!i[Nt(u)]){var c=new ve([],{});c._sourceSegment=e,c._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Nt
1(u)]=c}}}catch(h){l.e(h)}finally{l.f()}return 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 ve(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Ut(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Nt(e){return e.outlet||"primary"}function jt(e){return e.data||{}}function Ht(e){return e.resolve||{}}function Qt(e,t,n,r){var i=Et(e,t,r);return ge(i.resolve?i.resolve(t,n):i(t,n))}function Vt(e){return function(t){return t.pipe(Object(x.a)((function(t){var n=e(t);return n?Object(a.a)(n).pipe(Object(p.a)((function(){return t}))):Object(a.a)([t])})))}}var Kt=_createClass2((function e(){_classCallCheck2(this,e)})),Wt=function(){return _createClass2((function e(){_classCallCheck2(this,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}}])}(),zt=new i.InjectionToken("ROUTES"),qt=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}),[{key:"load",value:function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(p.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new ae(de(i.injector.get(zt)).map(ce),i)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?Object(a.a)(this.loader.load(e)):ge(e()).pipe(Object(k.a)((function(e){return e instanceof i.NgModuleFactory?Object(o.a)(e):Object(a.a)(t.compiler.compileModuleAsync(e))})))}}])}(),Yt=_createClass2((function e(){_classCallCheck2(this,e)})),Gt=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}])}();function Xt(e){throw e}function Jt(e,t,n){return t.parse("/")}function Zt(e,t){return Object(o.a)(null)}var $t=function(){return _createClass2((function e(t,n,r,o,a,l,u,c){var h=this;_classCallCheck2(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=r,this.location=o,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new d.a,this.errorHandler=Xt,this.malformedUriErrorHandler=Jt,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Zt,afterPreactivation:Zt},this.urlHandlingStrategy=new Gt,this.routeReuseStrategy=new Wt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=a.get(i.NgModuleRef),this.console=a.get(i["\u0275Console"]);var f=a.get(i.NgZone);this.isNgZoneEnabled=f instanceof i.NgZone,this.resetConfig(c),this.currentUrlTree=new Ae(new ve([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new qt(l,u,(function(e){return h.triggerEvent(new Y(e))}),(function(e){return h.triggerEvent(new G(e))})),this.routerState=Ve(this.currentUrlTree,this.rootComponentType),this.transitions=new s.a({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()}),[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(Object(_.a)((function(e){return 0!==e.id})),Object(p.a)((function(e){return Object.assign({},e,{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}
1)),Object(x.a)((function(e){var r,i,l,u=!1,c=!1;return Object(o.a)(e).pipe(Object(I.a)((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign({},t.lastSuccessfulNavigation,{previousNavigation:null}):null}})),Object(x.a)((function(e){var r,i,a,s,l=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||l)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(o.a)(e).pipe(Object(x.a)((function(e){var r=t.transitions.getValue();return n.next(new N(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?f.a:[e]})),Object(x.a)((function(e){return Promise.resolve(e)})),(r=t.ngModule.injector,i=t.configLoader,a=t.urlSerializer,s=t.config,function(e){return e.pipe(Object(x.a)((function(e){return function(e,t,n,r,i){return new vt(e,t,n,r,i).apply()}(r,i,a,e.extractedUrl,s).pipe(Object(p.a)((function(t){return Object.assign({},e,{urlAfterRedirects:t})})))})))}),Object(I.a)((function(e){t.currentNavigation=Object.assign({},t.currentNavigation,{finalUrl:e.urlAfterRedirects})})),function(e,n,r,i,o){return function(r){return r.pipe(Object(k.a)((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 It(e,t,n,r,i,o).recognize()}(e,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,t.serializeUrl(a)),i,o).pipe(Object(p.a)((function(e){return Object.assign({},r,{targetSnapshot:e})})));var a})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Object(I.a)((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),Object(I.a)((function(e){var r=new V(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)})));if(l&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.id,c=e.extractedUrl,h=e.source,d=e.restoredState,g=e.extras,_=new N(u,t.serializeUrl(c),h,d);n.next(_);var A=Ve(c,t.rootComponentType).snapshot;return Object(o.a)(Object.assign({},e,{targetSnapshot:A,urlAfterRedirects:c,extras:Object.assign({},g,{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),f.a})),Vt((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,l=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})})),Object(I.a)((function(e){var n=new K(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),Object(p.a)((function(e){return 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=He(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,l=r?r.getContext(t.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!ye(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ye(e.url,t.url)||!he(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Je(e,t)||!he(e.queryParams,t.queryParams);case"paramsChange":default:return!Je(e,t)}}(s,a,a.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new wt(i)):(a.data=s.data,a._resolvedData=s._resolvedData),e(t,n,a.component?l?l.children:null:r,i,o),u&&o.canDeactivateChecks.push(new kt(l&&l.outlet&&l.outlet.component||null,s))}else s&&St(n,l,o),o.canActivateChecks.push(new wt(i)),e(t,null,a.component?l?l.children:null:r,i,o)}(t,a[t.value.outlet],r,i.concat([t.value]),o),delete a[t.value.outlet]})),pe(a,(function(e,t){return St(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(Object(k.a)((function(n){var r=n.targetSnapshot,i=n.currentSnapshot,s=n.guards,l=s.canActivateChecks,u=s.canDeactivateChecks;return 0===u.length&&0===l.length?Object(o.a)(Object.assign({},n,{guardsResult:!0})):function(e,t,n,r){return Object(a.a)(e).pipe(Object(k.a)((function(e){return function(e,t,n,r,i){var a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(o.a)(!0);var s=a.map((function(o){var a,s=Et(o,t,i);if(function(e){return e&&ht(e.canDeactivate)}(s))a=ge(s.canDeactivate(e,t,n,r));else{if(!ht(s))throw new Error("Invalid CanDeactivate guard");a=ge(s(e,t,n,r))}return a.pipe(Object(w.a)())}));return Object(o.a)(s).pipe(xt())}(e.component,e.route,n,t,r)})),Object(w.a)((function(e){return!0!==e}),!0))}(u,r,i,e).pipe(Object(k.a)((function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return Object(a.a)(t).pipe(Object(D.a)((function(t){return Object(a.a)([Tt(t.route.parent,r),Pt(t.route,r),Dt(e,t.path,n),Bt(e,t.route,n)]).pipe(Object(g.a)(),Object(w.a)((function(e){return!0!==e}),!0))})),Object(w.a)((function(e){return!0!==e}),!0))}(r,l,e,t):Object(o.a)(n)})),Object(p.a)((function(e){return Object.assign({},n,{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),Object(I.a)((function(e){if(dt(e.guardsResult)){var n=ie('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),Object(I.a)((function(e){var n=new W(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),Object(_.a)((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new H(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0})),Vt((function(e){if(e.guards.canActivateChecks.length)return Object(o.a)(e).pipe(Object(I.a)((function(e){var n=new z(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(Object(k.a)((function(e){var t=e.targetSnapshot,i=e.guards.canActivateChecks;return i.length?Object(a.a)(i).pipe(Object(D.a)((function(e){return function(e,t,n,r){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return Object(o.a)({});if(1===i.length){var s=i[0];return Qt(e[s],t,n,r).pipe(Object(p.a)((function(e){return _defineProperty({},s,e)})))}var l={};return Object(a.a)(i).pipe(Object(k.a)((function(i){return Qt(e[i],t,n,r).pipe(Object(p.a)((function(e){return l[i]=e,e})))}))).pipe(b(),Object(p.a)((function(){return l})))}(e._resolve,e,t,r).pipe(Object(p.a)((function(t){return e._resolvedData=t,e.data=Object.assign({},e.data,We(e,n).resolve),null})))}(e.route,t,n,r)})),Object(M.a)((function(e,t){return e})),Object(p.a)((function(t){return e}))):Object(o.a)(e)})))}),Object(I.a)((function(e){var n=new q(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,r})),Vt((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,l=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})})),Object(p.a)((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=_createForOfIteratorHelper2(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 je(i,o)}var a=t.retrieve(n.value);if(a){var l=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");
1if(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,l),l}var u,c=new Ke(new s.a((u=n.value).url),new s.a(u.params),new s.a(u.queryParams),new s.a(u.fragment),new s.a(u.data),u.outlet,u.component,u),h=n.children.map((function(n){return e(t,n)}));return new je(c,h)}(e,t._root,n?n._root:void 0);return new Qe(r,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign({},e,{targetRouterState:n})})),Object(I.a)((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)})),(r=t.rootContexts,i=t.routeReuseStrategy,l=function(e){return t.triggerEvent(e)},Object(p.a)((function(e){return new ut(i,e.targetRouterState,e.currentRouterState,l).activate(r),e}))),Object(I.a)({next:function(){u=!0},complete:function(){u=!0}}),Object(R.a)((function(){if(!u&&!c){t.resetUrlToCurrentUrlTree();var r=new H(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})),Object(C.a)((function(r){if(c=!0,(s=r)&&s.ngNavigationCancelingError){var i=dt(r.url);i||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new H(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(o),e.resolve(!1),i&&t.navigateByUrl(r.url)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new Q(e.id,t.serializeUrl(e.extractedUrl),r);n.next(a);try{e.resolve(t.errorHandler(r))}catch(l){e.reject(l)}}var s;return f.a})))})))}},{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({},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:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){se(e),this.config=e.map(ce),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,o=t.fragment,a=t.preserveQueryParams,s=t.queryParamsHandling,l=t.preserveFragment;Object(i.isDevMode)()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,c=l?this.currentUrlTree.fragment:o,h=null;if(s)switch(s){case"merge":h=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=a?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(e,t,n,r,i){if(0===n.length)return $e(t.root,t.root,t,r,i);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new et(!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 pe(r.outlets,(function(e,t){o[t]="string"==typeof e?e.split("/"):e})),[].concat(_toConsumableArray2(e),[{outlets:o}])}if(r.segmentPath)return[].concat(_toConsumableArray2(e),[r.segmentPath])}return"string"!=typeof r?[].concat(_toConsumableArray2(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(_toConsumableArray2(e),[r])}),[]);return new et(n,t,r)}(n);if(o.toRoot())return $e(t.root,new ve([],{}),t,r,i);var a=function(e,t,n){if(e.isAbsolute)return new tt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new tt(n.snapshot._urlSegment,!0,0);var r=Ze(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 tt(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?it(a.segmentGroup,a.index,o.commands):rt(a.segmentGroup,a.index,o.commands);return $e(a.segmentGroup,s,t,r,i)}(u,this.currentUrlTree,e,h,c)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Object(i.isDevMode)()&&this.isNgZoneEnabled&&!i.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did
1you forget to call 'ngZone.run()'?");var n=dt(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(dt(e))return _e(this.currentUrlTree,e,t);var n=this.parseUrl(e);return _e(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 j(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){var i=this.getTransition();if(i&&"imperative"!==t&&"imperative"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"hashchange"==t&&"popstate"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"popstate"==t&&"hashchange"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);var o=null,a=null,s=new Promise((function(e,t){o=e,a=t})),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({},r,{navigationId:n})):this.location.go(i,"",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})}}])}(),en=function(){return _createClass2((function e(t,n,r,i,o){_classCallCheck2(this,e),this.router=t,this.route=n,this.commands=[],null==r&&i.setAttribute(o.nativeElement,"tabindex","0")}),[{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Object(i.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}},{key:"onClick",value:function(){var e={skipLocationChange:nn(this.skipLocationChange),replaceUrl:nn(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,e),!0}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:nn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:nn(this.preserveFragment)})}}])}(),tn=function(){return _createClass2((function e(t,n,r){var i=this;_classCallCheck2(this,e),this.router=t,this.route=n,this.locationStrategy=r,this.commands=[],this.subscription=t.events.subscribe((function(e){e instanceof j&&i.updateTargetUrlAndHref()}))}),[{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Object(i.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=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;
1if("string"==typeof this.target&&"_self"!=this.target)return!0;var i={skipLocationChange:nn(this.skipLocationChange),replaceUrl:nn(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:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:nn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:nn(this.preserveFragment)})}}])}();function nn(e){return""===e||!!e}var rn=function(){return _createClass2((function e(t,n,r,i,o){var a=this;_classCallCheck2(this,e),this.router=t,this.element=n,this.renderer=r,this.link=i,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe((function(e){e instanceof j&&a.update()}))}),[{key:"ngAfterContentInit",value:function(){var e=this;this.links.changes.subscribe((function(t){return e.update()})),this.linksWithHrefs.changes.subscribe((function(t){return e.update()})),this.update()}},{key:"routerLinkActive",set:function(e){var t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter((function(e){return!!e}))}},{key:"ngOnChanges",value:function(e){this.update()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"update",value:function(){var e=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then((function(){var t=e.hasActiveLinks();e.isActive!==t&&(e.isActive=t,e.classes.forEach((function(n){t?e.renderer.addClass(e.element.nativeElement,n):e.renderer.removeClass(e.element.nativeElement,n)})))}))}},{key:"isLinkActive",value:function(e){var t=this;return function(n){return e.isActive(n.urlTree,t.routerLinkActiveOptions.exact)}}},{key:"hasActiveLinks",value:function(){var e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}])}(),on=_createClass2((function e(){_classCallCheck2(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new an,this.attachRef=null})),an=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.contexts=new Map}),[{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 on,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}])}(),sn=function(){return _createClass2((function e(t,n,r,o,a){_classCallCheck2(this,e),this.parentContexts=t,this.location=n,this.resolver=r,this.changeDetector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.EventEmitter,this.deactivateEvents=new i.EventEmitter,this.name=o||"primary",t.onChildOutletCreated(this.name,this)}),[{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:"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:{}}},{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 ln(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}])}(),ln=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.route=t,this.childContexts=n,this.parent=r}),[{key:"get",value:function(e,t){return e===Ke?this.route:e===an?this.childContexts:this.parent.get(e,t)}}])}(),un=_createClass2((function e(){_classCallCheck2(this,e)})),cn=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"preload",value:function(e,t){return t().pipe(Object(C.a)((function(){return Object(o.a)(null)})))}}])}(),hn=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"preload",value:function(e,t){return Object(o.a)(null)}}])}(),dn=function(){return _createClass2((function e(t,n,r,i,o){_classCallCheck2(this,e),this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=new qt(n,r,(function(e){return t.triggerEvent(new Y(e))}),(function(e){return t.triggerEvent(new G(e))}))}),[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(Object(_.a)((function(e){return e instanceof j})),Object(D.a)((function(){return e.preload()}))).subscribe((function(){}))}},{key:"preload",value:function(){var e=this.injector.get(i.NgModuleRef);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,r=[],i=_createForOfIteratorHelper2(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;
1if(o.loadChildren&&!o.canLoad&&o._loadedConfig){var s=o._loadedConfig;r.push(this.processRoutes(s.module,s.routes))}else o.loadChildren&&!o.canLoad?r.push(this.preloadConfig(e,o)):o.children&&r.push(this.processRoutes(e,o.children))}}catch(l){i.e(l)}finally{i.f()}return Object(a.a)(r).pipe(Object(F.a)(),Object(p.a)((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(Object(k.a)((function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)})))}))}}])}(),fn=function(){return _createClass2((function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck2(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"}),[{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 N?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof j&&(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 ee&&(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 ee(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}])}(),pn=new i.InjectionToken("ROUTER_CONFIGURATION"),gn=new i.InjectionToken("ROUTER_FORROOT_GUARD"),_n=[r.j,{provide:Ce,useClass:we},{provide:$t,useFactory:wn,deps:[i.ApplicationRef,Ce,an,r.j,i.Injector,i.NgModuleFactoryLoader,i.Compiler,zt,pn,[Yt,new i.Optional],[Kt,new i.Optional]]},an,{provide:Ke,useFactory:kn,deps:[$t]},{provide:i.NgModuleFactoryLoader,useClass:i.SystemJsNgModuleLoader},dn,hn,cn,{provide:pn,useValue:{enableTracing:!1}}];function An(){return new i.NgProbeToken("Router",$t)}var vn=function(){function e(t,n){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[_n,Cn(t),{provide:gn,useFactory:bn,deps:[[$t,new i.Optional,new i.SkipSelf]]},{provide:pn,useValue:n||{}},{provide:r.k,useFactory:yn,deps:[r.w,[new i.Inject(r.a),new i.Optional],pn]},{provide:fn,useFactory:mn,deps:[$t,r.y,pn]},{provide:un,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:hn},{provide:i.NgProbeToken,multi:!0,useFactory:An},[En,{provide:i.APP_INITIALIZER,multi:!0,useFactory:Sn,deps:[En]},{provide:xn,useFactory:On,deps:[En]},{provide:i.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:xn}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[Cn(t)]}}}])}();function mn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new fn(e,t,n)}function yn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new r.g(e,t):new r.v(e,t)}function bn(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Cn(e){return[{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:zt,multi:!0,useValue:e}]}function wn(e,t,n,r,i,o,a,s){var l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:{},u=arguments.length>9?arguments[9]:void 0,c=arguments.length>10?arguments[10]:void 0,h=new $t(null,t,n,r,i,o,a,de(s));if(u&&(h.urlHandlingStrategy=u),c&&(h.routeReuseStrategy=c),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var d=Object(L.r)();h.events.subscribe((function(e){d.logGroup("Router Event: "+e.constructor.name),d.log(e.toString()),d.log(e),d.logGroupEnd()}))}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h}function kn(e){return e.routerState.root}var En=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new d.a}),[{key:"appInitializer",value:function(){var e=this;return this.injector.get(r.i,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),r=e.injector.get($t),i=e.injector.get(pn);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?Object(o.a)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(pn),n=this.injector.get(dn),r=this.injector.get(fn),o=this.injector.get($t),a=this.injector.get(i.ApplicationRef);e===a.components[0]&&(this.isLegacyEnabled(t)?o.initialNavigation():this.isLegacyDisabled(t)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(a.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}}])}();function Sn(e){return e.appInitializer.bind(e)}function On(e){return e.bootstrapListener.bind(e)}var xn=new i.InjectionToken("Router Initializer")},ienR:function(e,t,n){"use strict";var r=n("8Y7J"),i=n("pLZG"),o=n("lJxs"),a=n("IzEk"),s=n("1G5W");function l(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function u(e){return"string"==typeof e}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e){return e&&e.getTime&&!isNaN(e.getTime())}function d(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function f(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function p(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function A(e){return void 0===e}function v(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=l(t)),n}var m={},y={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function b(e,t){var n=e.toLowerCase(),r=e;n in y&&(r=y[n]),m[n]=m[n+"s"]=m[t]=r}function C(e){return u(e)?m[e]||m[e.toLowerCase()]:void 0}function w(e,t,n){var r=""+Math.abs(e);return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var k={},E={},S=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
1|x|X|zz?|ZZ?|.)/g;function O(e,t,n,r){e&&(E[e]=r),t&&(E[t[0]]=function(){return w(r.apply(null,arguments),t[1],t[2])}),n&&(E[n]=function(t,n){return n.locale.ordinal(r.apply(null,arguments),e)})}function x(e,t,n){var r=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(r.getUTCFullYear())&&r.setUTCFullYear(e),r}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=new Date(e,t,n,r,i,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e.getUTCHours():e.getHours()}function B(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e.getUTCMinutes():e.getMinutes()}function D(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e.getUTCSeconds():e.getSeconds()}function M(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e.getUTCMilliseconds():e.getMilliseconds()}function I(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e.getUTCDay():e.getDay()}function R(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e.getUTCDate():e.getDate()}function F(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e.getUTCMonth():e.getMonth()}function L(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e.getUTCFullYear():e.getFullYear()}function U(e,t){return!(!e||!t)&&N(e,t)&&F(e)===F(t)}function N(e,t){return!(!e||!t)&&L(e)===L(t)}function j(e,t){return!(!e||!t)&&N(e,t)&&U(e,t)&&R(e)===R(t)}var H=/\d/,Q=/\d\d/,V=/\d{3}/,K=/\d{4}/,W=/[+-]?\d{6}/,z=/\d\d?/,q=/\d\d\d\d?/,Y=/\d\d\d\d\d\d?/,G=/\d{1,3}/,X=/\d{1,4}/,J=/[+-]?\d{1,6}/,Z=/\d+/,$=/[+-]?\d+/,ee=/Z|[+-]\d\d(?::?\d\d)?/gi,te=/[+-]?\d+(\.\d{1,3})?/,ne=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,re={};function ie(e,t,n){re[e]=d(t)?t:function(e,r){return e&&n?n:t}}function oe(e,t){return g(re,e)?re[e](!1,t):new RegExp(ae(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function ae(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var se={};function le(e,t){var n,r=u(e)?[e]:e,i=t;if(f(t)&&(i=function(e,n,r){return n[t]=v(e),r}),p(r)&&d(i))for(n=0;n<r.length;n++)se[r[n]]=i}function ue(e,t){le(e,(function(e,n,r,i){return r._w=r._w||{},t(e,r._w,r,i)}))}function ce(e,t,n){return null!=t&&g(se,e)&&se[e](t,n._a,n,e),n}var he={};function de(e,t){he[e]=t}function fe(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function pe(e,t){return t.locale.getFullYear?t.locale.getFullYear(e,t.isUTC).toString():L(e,t.isUTC).toString()}function ge(e){return v(e)+(v(e)>68?1900:2e3)}function _e(e){return Ae(e)?366:365}function Ae(e){return e%4==0&&e%100!=0||e%400==0}function ve(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return 1===n?Ae(e+(t-n)/12)?29:28:31-n%7%2}var me={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function ye(e,t){var n=Object.assign({},me,t),r=e.getFullYear()+(n.year||0),i=e.getMonth()+(n.month||0),o=e.getDate()+(n.day||0);return n.month&&!n.day&&(o=Math.min(o,ve(r,i))),P(r,i,o,e.getHours()+(n.hour||0),e.getMinutes()+(n.minute||0),e.getSeconds()+(n.seconds||0))}function be(e,t){return f(t)?t:e}function Ce(e,t,n){var r=Math.min(R(e),ve(L(e),t));return n?e.setUTCMonth(t,r):e.setMonth(t,r),e}function we(e,t,n){return n?e.setUTCDate(t):e.setDate(t),e}function ke(e){return new Date(e.getTime())}function Ee(e,t,n){var r=ke(e);switch(t){case"year":Ce(r,0,n);case"quarter":case"month":we(r,1,n);case"week":case"isoWeek":case"day":case"date":!function(e,t,n){n?e.setUTCHours(0):e.setHours(0)}(r,0,n);case"hours":!function(e,t,n){n?e.setUTCMinutes(0):e.setMinutes(0)}(r,0,n);case"minutes":!function(e,t,n){n?e.setUTCSeconds(0):e.setSeconds(0)}(r,0,n);case"seconds":!function(e,t,n){n?e.setUTCMilliseconds(0):e.setMilliseconds(0)}(r,0,n)}return"week"===t&&function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Nt(e,0-Qt(e,n.locale,n.isUTC),"day")}(r,0,{isUTC:n}),"isoWeek"===t&&function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt();return u(e)?t.weekdaysParse(e)%7||7:f(e)&&isNaN(e)?null:e}(1,n.locale);Ht(e,function(e,t){return I(e,void 0)}(e)%7?r:r-7)}(r),"quarter"===t&&Ce(r,3*Math.floor(F(r,n)/3),n),r}function Se(e,t,n){var r=t;return"date"===r&&(r="day"),function(e,t,n,r){return jt(e,Ft(1,"milliseconds"),-1,r)}(Nt(Ee(e,r,n),1,"isoWeek"===r?"week":r,n),0,0,n)}function Oe(e,t){var n=+Ee(e,"day",t),r=+Ee(e,"year",t);return Math.round((n-r)/864e5)+1}function xe(e,t,n){var r=t-n+7;return-(x(e,0,r).getUTCDay()-t+7)%7+r-1}function Pe(e,t,n,r){var i,o,a=xe(L(e,r),t,n),s=Math.floor((Oe(e,r)-a-1)/7)+1;return s<1?i=s+Te(o=L(e,r)-1,t,n):s>Te(L(e,r),t,n)?(i=s-Te(L(e,r),t,n),o=L(e,r)+1):(o=L(e,r),i=s),{week:i,year:o}}function Te(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(_e(e)-r+i)/7}var Be=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Me="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Re="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Le={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ue=ne,Ne=ne,je=function(){return _createClass2((function e(t){_classCallCheck2(this,e),t&&this.set(t)}),[{key:"set",value:function(e){var t;for(t in e)if(e.hasOwnProperty(t)){var n=e[t];this[d(n)?t:"_"+t]=n}this._config=e}},{key:"calendar",value:function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return d(r)?r.call(null,t,n):r}},{key:"longDateFormat",value:function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])}},{key:"invalidDate",get:function(){return this._invalidDate},set:function(e){this._invalidDate=e}},{key:"ordinal",value:function(e,t){return this._ordinal.replace("%d",e.toString(10))}},{key:"preparse",value:function(e){return e}},{key:"getFullYear",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return L(e,t)}},{key:"postformat",value:function(e){return e}},{key:"relativeTime",value:function(e,t,n,r){var i=this._relativeTime[n];return d(i)?i(e,t,n,r):i.replace(/%d/i,e.toString(10))}},{key:"pastFuture",value:function(e,t){var n=this._relativeTime[e>0?"future":"past"];return d(n)?n(t):n.replace(/%s/i,t)}},{key:"months",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return p(this._months)?this._months:this._months.standalone;if(p(this._months))return this._months[F(e,n)];var r=(this._months.isFormat||Be).test(t)?"format":"standalone";return this._months[r][F(e,n)]}},{key:"monthsShort",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return p(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(p(this._monthsShort))return this._monthsShort[F(e,n)];var r=Be.test(t)?"format":"standalone";return this._monthsShort[r][F(e,n)]}},{key:"monthsParse",value:function(e,t,n){var r,i,o;if(this._monthsParseExact)return this.handleMonthStrictParse(e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=new Date(Date.UTC(2e3,o)),n&&!this._longMonthsParse[o]){var a=this.months(r,"",!0).replace(".",""),s=this.monthsShort(r,"",!0).replace(".","");this._longMonthsParse[o]=new RegExp("^".concat(a,"$"),"i"),this._shortMonthsParse[o]=new RegExp("^".concat(s,"$"),"i")}if(n||this._monthsParse[o]||(i="^".concat(this.months(r,"",!0),"|^").concat(this.monthsShort(r,"",!0)),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(n&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!n&&this._monthsParse[o].test(e))return o}}},{key:"monthsRegex",value:function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}},{key:"monthsShortRegex",value:function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Ue),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}},{key:"week",value:function(e,t){return Pe(e,this._week.dow,this._week.doy,t).week}},{key:"firstDayOfWeek",value:function(){return this._week.dow}},{key:"firstDayOfYear",value:function(){return this._week.doy}},{key:"weekdays",value:function(e,t,n){if(!e)return p(this._weekdays)?this._weekdays:this._weekdays.standalone;if(p(this._weekdays))return this._weekdays[I(e,n)];var r=this._weekdays.isFormat.test(t)?"format":"standalone";return this._weekdays[r][I(e,n)]}},{key:"weekdaysMin",value:function(e,t,n){return e?this._weekdaysMin[I(e,n)]:this._weekdaysMin}},{key:"weekdaysShort",value:function(e,t,n){return e?this._weekdaysShort[I(e,n)]:this._weekdaysShort}},{key:"weekdaysParse",value:function(e,t,n){var r,i;if(this._weekdaysParseExact)return this.handleWeekStrictParse(e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){var o=Ht(new Date(Date.UTC(2e3,1)),r,null,!0);if(n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^".concat(this.weekdays(o,"",!0).replace(".",".?"),"$"),"i"),this._shortWeekdaysParse[r]=new RegExp("^".concat(this.weekdaysShort(o,"",!0).replace(".",".?"),"$"),"i"),this._minWeekdaysParse[r]=new RegExp("^".concat(this.weekdaysMin(o,"",!0).replace(".",".?"),"$"),"i")),this._weekdaysParse[r]||(i="^".concat(this.weekdays(o,"",!0),"|^").concat(this.weekdaysShort(o,"",!0),"|^").concat(this.weekdaysMin(o,"",!0)),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),!(p(this._fullWeekdaysParse)&&p(this._shortWeekdaysParse)&&p(this._minWeekdaysParse)&&p(this._weekdaysParse)))return;if(n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}},{key:"weekdaysRegex",value:function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=ne),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}},{key:"weekdaysShortRegex",value:function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ne),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}},{key:"weekdaysMinRegex",value:function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ne),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}},{key:"isPM",value:function(e){return"p"===e.toLowerCase().charAt(0)}},{key:"meridiem",value:function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}},{key:"formatLongDate",value:function(e){this._longDateFormat=this._longDateFormat?this._longDateFormat:Le;var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])}},{key:"handleMonthStrictParse",value:function(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=new Date(2e3,r),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=this._shortMonthsParse.indexOf(a))?i:null:-1!==(i=this._longMonthsParse.indexOf(a))?i:null:"MMM"===t?-1!==(i=this._shortMonthsParse.indexOf(a))?i:-1!==(i=this._longMonthsParse.indexOf(a))?i:null:-1!==(i=this._longMonthsParse.indexOf(a))?i:-1!==(i=this._shortMonthsParse.indexOf(a))?i:null}},{key:"handleWeekStrictParse",value:function(e,t,n){var r,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i){var a=Ht(new Date(Date.UTC(2e3,1)),i,null,!0);this._minWeekdaysParse[i]=this.weekdaysMin(a).toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a).toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase()}if(p(this._weekdaysParse)&&p(this._shortWeekdaysParse)&&p(this._minWeekdaysParse))return n?"dddd"===t?-1!==(r=this._weekdaysParse.indexOf(o))?r:null:"ddd"===t?-1!==(r=this._shortWeekdaysParse.indexOf(o))?r:null:-1!==(r=this._minWeekdaysParse.indexOf(o))?r:null:"dddd"===t?-1!==(r=this._weekdaysParse.indexOf(o))?r:-1!==(r=this._shortWeekdaysParse.indexOf(o))?r:-1!==(r=this._minWeekdaysParse.indexOf(o))?r:null:"ddd"===t?-1!==(r=this._shortWeekdaysParse.indexOf(o))?r:-1!==(r=this._weekdaysParse.indexOf(o))?r:-1!==(r=this._minWeekdaysParse.indexOf(o))?r:null:-1!==(r=this._minWeekdaysParse.indexOf(o))?r:-1!==(r=this._weekdaysParse.indexOf(o))?r:-1!==(r=this._shortWeekdaysParse.indexOf(o))?r:null}},{key:"computeMonthsParse",value:function(){var e,t,n=[],r=[],i=[];for(t=0;t<12;t++)e=new Date(2e3,t),n.push(this.monthsShort(e,"")),r.push(this.months(e,"")),i.push(this.months(e,"")),i.push(this.monthsShort(e,""));for(n.sort(He),r.sort(He),i.sort(He),t=0;t<12;t++)n[t]=ae(n[t]),r[t]=ae(r[t]);for(t=0;t<24;t++)i[t]=ae(i[t]);this._monthsRegex=new RegExp("^(".concat(i.join("|"),")"),"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^(".concat(r.join("|"),")"),"i"),this._monthsShortStrictRegex=new RegExp("^(".concat(n.join("|"),")"),"i")}},{key:"computeWeekdaysParse",value:function(){var e,t=[],n=[],r=[],i=[];for(e=0;e<7;e++){var o=Ht(new Date(Date.UTC(2e3,1)),e,null,!0),a=this.weekdaysMin(o),s=this.weekdaysShort(o),l=this.weekdays(o);t.push(a),n.push(s),r.push(l),i.push(a),i.push(s),i.push(l)}for(t.sort(He),n.sort(He),r.sort(He),i.sort(He),e=0;e<7;e++)n[e]=ae(n[e]),r[e]=ae(r[e]),i[e]=ae(i[e]);this._weekdaysRegex=new RegExp("^(".concat(i.join("|"),")"),"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^(".concat(r.join("|"),")"),"i"),this._weekdaysShortStrictRegex=new RegExp("^(".concat(n.join("|"),")"),"i"),this._weekdaysMinStrictRegex=new RegExp("^(".concat(t.join("|"),")"),"i")}}])}();function He(e,t){return t.length-e.length}var Qe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:Le,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:De,monthsShort:Me,week:{dow:0,doy:6},weekdays:Ie,weekdaysMin:Fe,weekdaysShort:Re,meridiemParse:/[ap]\.?m?\.?/i};function Ve(e,t,n
1){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&v(e[r])!==v(t[r]))&&a++;return a+o}function Ke(e,t){O(null,[e,e.length,!1],null,t)}function We(e,t){return qe(e,t.locale).toString()}function ze(e){return Ye(e).toString()}function qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt(),n=arguments.length>2?arguments[2]:void 0;return Pe(e,t.firstDayOfWeek(),t.firstDayOfYear(),n).year}function Ye(e,t){return Pe(e,1,4,t).year}function Ge(e,t){O(e,null,null,(function(e,n){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t._isUTC?t._offset||0:function(e){return 15*-Math.round(e.getTimezoneOffset()/15)}(e)}(e,{_isUTC:n.isUTC,_offset:n.offset}),i="+";return r<0&&(r=-r,i="-"),i+w(~~(r/60),2)+t+w(~~r%60,2)}))}var Xe,Je=/([\+\-]|\d\d)/gi,Ze={},$e={};function et(e){return e?e.toLowerCase().replace("_","-"):e}function tt(e){return Ze.en||(function e(t,n){var r;return t&&(A(n)?r=tt(t):u(t)&&(r=function t(n,r){if(null===r)return delete Ze[n],Xe=tt("en"),null;if(r){var i=Qe;if(r.abbr=n,null!=r.parentLocale){if(null==Ze[r.parentLocale])return $e[r.parentLocale]||($e[r.parentLocale]=[]),$e[r.parentLocale].push({name:n,config:r}),null;i=Ze[r.parentLocale]._config}return Ze[n]=new je(function(e,t){var n=Object.assign({},e);for(var r in t)g(t,r)&&(_(e[r])&&_(t[r])?(n[r]={},Object.assign(n[r],e[r]),Object.assign(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(var i in e)g(e,i)&&!g(t,i)&&_(e[i])&&(n[i]=Object.assign({},n[i]));return n}(i,r)),$e[n]&&$e[n].forEach((function(e){t(e.name,e.config)})),e(n),Ze[n]}}(t,n)),r&&(Xe=r)),Xe&&Xe._abbr}("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===v(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),O("w",["ww",2,!1],"wo",(function(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt();arguments.length>2&&arguments[2];return t.week(e,void 0)}(e,t.locale).toString(10)})),O("W",["WW",2,!1],"Wo",(function(e){return function(e,t){return Pe(e,1,4,void 0).week}(e).toString(10)})),b("week","w"),b("isoWeek","W"),de("week",5),de("isoWeek",5),ie("w",z),ie("ww",z,Q),ie("W",z),ie("WW",z,Q),ue(["w","ww","W","WW"],(function(e,t,n,r){return t[r.substr(0,1)]=v(e),n})),O(null,["gg",2,!1],null,(function(e,t){return(qe(e,t.locale)%100).toString()})),O(null,["GG",2,!1],null,(function(e){return(Ye(e)%100).toString()})),Ke("gggg",We),Ke("ggggg",We),Ke("GGGG",ze),Ke("GGGGG",ze),b("weekYear","gg"),b("isoWeekYear","GG"),de("weekYear",1),de("isoWeekYear",1),ie("G",$),ie("g",$),ie("GG",z,Q),ie("gg",z,Q),ie("GGGG",X,K),ie("gggg",X,K),ie("GGGGG",J,W),ie("ggggg",J,W),ue(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){return t[r.substr(0,2)]=v(e),n})),ue(["gg","GG"],(function(e,t,n,r){return t[r]=ge(e),n})),O("Y",null,null,(function(e,t){var n=L(e,t.isUTC);return n<=9999?n.toString(10):"+"+n})),O(null,["YY",2,!1],null,(function(e,t){return(L(e,t.isUTC)%100).toString(10)})),O(null,["YYYY",4,!1],null,pe),O(null,["YYYYY",5,!1],null,pe),O(null,["YYYYYY",6,!0],null,pe),b("year","y"),de("year",1),ie("Y",$),ie("YY",z,Q),ie("YYYY",X,K),ie("YYYYY",J,W),ie("YYYYYY",J,W),le(["YYYYY","YYYYYY"],0),le("YYYY",(function(e,t,n){return t[0]=2===e.length?ge(e):v(e),n})),le("YY",(function(e,t,n){return t[0]=ge(e),n})),le("Y",(function(e,t,n){return t[0]=parseInt(e,10),n})),O("z",null,null,(function(e,t){return t.isUTC?"UTC":""})),O("zz",null,null,(function(e,t){return t.isUTC?"Coordinated Universal Time":""})),O("X",null,null,(function(e){return function(e){return Math.floor(e.valueOf()/1e3)}(e).toString(10)})),O("x",null,null,(function(e){return e.valueOf().toString(10)})),ie("x",$),ie("X",te),le("X",(function(e,t,n){return n._d=new Date(1e3*parseFloat(e)),n})),le("x",(function(e,t,n){return n._d=new Date(v(e)),n})),O("s",["ss",2,!1],null,(function(e,t){return D(e,t.isUTC).toString(10)})),b("second","s"),de("second",15),ie("s",z),ie("ss",z,Q),le(["s","ss"],5),O("Q",null,"Qo",(function(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Math.ceil((F(e,t)+1)/3)}(e,t.isUTC).toString(10)})),b("quarter","Q"),de("quarter",7),ie("Q",H),le("Q",(function(e,t,n){return t[1]=3*(v(e)-1),n})),Ge("Z",":"),Ge("ZZ",""),ie("Z",ee),ie("ZZ",ee),le(["Z","ZZ"],(function(e,t,n){return n._useUTC=!0,n._tzm=function(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1].match(Je)||["-","0","0"],i=60*parseInt(r[1],10)+v(r[2]);return 0===i?0:"+"===r[0]?i:-i}(ee,e),n})),O("M",["MM",2,!1],"Mo",(function(e,t){return(F(e,t.isUTC)+1).toString(10)})),O("MMM",null,null,(function(e,t){return t.locale.monthsShort(e,t.format,t.isUTC)})),O("MMMM",null,null,(function(e,t){return t.locale.months(e,t.format,t.isUTC)})),b("month","M"),de("month",8),ie("M",z),ie("MM",z,Q),ie("MMM",(function(e,t){return t.monthsShortRegex(e)})),ie("MMMM",(function(e,t){return t.monthsRegex(e)})),le(["M","MM"],(function(e,t,n){return t[1]=v(e)-1,n})),le(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._str
1ict);return null!=i?t[1]=i:fe(n).invalidMonth=!!e,n})),O("m",["mm",2,!1],null,(function(e,t){return B(e,t.isUTC).toString(10)})),b("minute","m"),de("minute",14),ie("m",z),ie("mm",z,Q),le(["m","mm"],4),function(){var e;for(O("S",null,null,(function(e,t){return(~~(M(e,t.isUTC)/100)).toString(10)})),O(null,["SS",2,!1],null,(function(e,t){return(~~(M(e,t.isUTC)/10)).toString(10)})),O(null,["SSS",3,!1],null,(function(e,t){return M(e,t.isUTC).toString(10)})),O(null,["SSSS",4,!1],null,(function(e,t){return(10*M(e,t.isUTC)).toString(10)})),O(null,["SSSSS",5,!1],null,(function(e,t){return(100*M(e,t.isUTC)).toString(10)})),O(null,["SSSSSS",6,!1],null,(function(e,t){return(1e3*M(e,t.isUTC)).toString(10)})),O(null,["SSSSSSS",7,!1],null,(function(e,t){return(1e4*M(e,t.isUTC)).toString(10)})),O(null,["SSSSSSSS",8,!1],null,(function(e,t){return(1e5*M(e,t.isUTC)).toString(10)})),O(null,["SSSSSSSSS",9,!1],null,(function(e,t){return(1e6*M(e,t.isUTC)).toString(10)})),b("millisecond","ms"),de("millisecond",16),ie("S",G,H),ie("SS",G,Q),ie("SSS",G,V),e="SSSS";e.length<=9;e+="S")ie(e,Z);function t(e,t,n){return t[6]=v(1e3*parseFloat("0."+e)),n}for(e="S";e.length<=9;e+="S")le(e,t)}(),function(){function e(e,t){return T(e,t)%12||12}function t(e,t){O(e,null,null,(function(e,n){return n.locale.meridiem(T(e,n.isUTC),B(e,n.isUTC),t)}))}function n(e,t){return t._meridiemParse}O("H",["HH",2,!1],null,(function(e,t){return T(e,t.isUTC).toString(10)})),O("h",["hh",2,!1],null,(function(t,n){return e(t,n.isUTC).toString(10)})),O("k",["kk",2,!1],null,(function(e,t){return function(e,t){return T(e,t)||24}(e,t.isUTC).toString(10)})),O("hmm",null,null,(function(t,n){return"".concat(e(t,n.isUTC)).concat(w(B(t,
1n.isUTC),2))})),O("hmmss",null,null,(function(t,n){return"".concat(e(t,n.isUTC)).concat(w(B(t,n.isUTC),2)).concat(w(D(t,n.isUTC),2))})),O("Hmm",null,null,(function(e,t){return"".concat(T(e,t.isUTC)).concat(w(B(e,t.isUTC),2))})),O("Hmmss",null,null,(function(e,t){return"".concat(T(e,t.isUTC)).concat(w(B(e,t.isUTC),2)).concat(w(D(e,t.isUTC),2))})),t("a",!0),t("A",!1),b("hour","h"),de("hour",13),ie("a",n),ie("A",n),ie("H",z),ie("h",z),ie("k",z),ie("HH",z,Q),ie("hh",z,Q),ie("kk",z,Q),ie("hmm",q),ie("hmmss",Y),ie("Hmm",q),ie("Hmmss",Y),le(["H","HH"],3),le(["k","kk"],(function(e,t,n){var r=v(e);return t[3]=24===r?0:r,n})),le(["a","A"],(function(e,t,n){return n._isPm=n._locale.isPM(e),n._meridiem=e,n})),le(["h","hh"],(function(e,t,n){return t[3]=v(e),fe(n).bigHour=!0,n})),le("hmm",(function(e,t,n){var r=e.length-2;return t[3]=v(e.substr(0,r)),t[4]=v(e.substr(r)),fe(n).bigHour=!0,n})),le("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;return t[3]=v(e.substr(0,r)),t[4]=v(e.substr(r,2)),t[5]=v(e.substr(i)),fe(n).bigHour=!0,n})),le("Hmm",(function(e,t,n){var r=e.length-2;return t[3]=v(e.substr(0,r)),t[4]=v(e.substr(r)),n})),le("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;return t[3]=v(e.substr(0,r)),t[4]=v(e.substr(r,2)),t[5]=v(e.substr(i)),n}))}(),O("DDD",["DDDD",3,!1],"DDDo",(function(e){return Oe(e).toString(10)})),b("dayOfYear","DDD"),de("dayOfYear",4),ie("DDD",G),ie("DDDD",V),le(["DDD","DDDD"],(function(e,t,n){return n._dayOfYear=v(e),n})),O("d",null,"do",(function(e,t){return I(e,t.isUTC).toString(10)})),O("dd",null,null,(function(e,t){return t.locale.weekdaysMin(e,t.format,t.isUTC)})),O("ddd",null,null,(function(e,t){return t.locale.weekdaysShort(e,t.format,t.isUTC)})),O("dddd",null,null,(function(e,t){return t.locale.weekdays(e,t.format,t.isUTC)})),O("e",null,null,(function(e,t){return Qt(e,t.locale,t.isUTC).toString(10)})),O("E",null,null,(function(e,t){return function(e,t){return I(e,t)||7}(e,t.isUTC).toString(10)})),b("day","d"),b("weekday","e"),b("isoWeekday","E"),de("day",11),de("weekday",11),de("isoWeekday",11),ie("d",z),ie("e",z),ie("E",z),ie("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ie("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ie("dddd",(function(e,t){return t.weekdaysRegex(e)})),ue(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);return null!=i?t.d=i:fe(n).invalidWeekday=!!e,n})),ue(["d","e","E"],(function(e,t,n,r){return t[r]=v(e),n})),O("D",["DD",2,!1],"Do",(function(e,t){return R(e,t.isUTC).toString(10)})),b("date","D"),de("date",9),ie("D",z),ie("DD",z,Q),ie("Do",(function(e,t){return t._dayOfMonthOrdinalParse||t._ordinalParse})),le(["D","DD"],2),le("Do",(function(e,t,n){return t[2]=v(e.match(z)[0]),n}))),e?function(e){for(var t,n,r,i=0;i<e.length;){var o=et(e[i]).split("-"),a=o.length;for(t=(t=et(e[i+1]))?t.split("-"):null;a>0;){if(r=o.slice(0,a).join("-"),Ze[r]||console.error('Khronos locale error: please load locale "'.concat(r,'" before using it')),n=Ze[r])return n;if(t&&t.length>=a&&Ve(o,t,!0)>=a-1)break;a--}i++}return null}(p(e)?e:[e]):Xe}var nt=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],rt=nt.reduce((function(e,t){return e[t]=!0,e}),{});function it(e){return e<0?Math.floor(e):Math.ceil(e)}function ot(e){return 4800*e/146097}function at(e){return 146097*e/4800}var st=Math.round;function lt(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var ut=function(){return _createClass2((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck2(this,e),this._data={},this._locale=tt(),this._locale=n&&n._locale||tt();var r=t.year||0,i=t.quarter||0,o=t.month||0,a=t.week||0,s=t.day||0,u=t.hours||0,c=t.minutes||0,h=t.seconds||0,d=t.milliseconds||0;return this._isValid=function(e){if(Object.keys(e).some((function(t){return t in rt&&null===e[t]||isNaN(e[t])})))return!1;for(var t=!1,n=0;n<nt.length;++n)if(e[nt[n]]){if(t)return!1;e[nt[n]]!==v(e[nt[n]])&&(t=!0)}return!0}(t),this._milliseconds=+d+1e3*h+60*c*1e3+1e3*u*60*60,this._days=+s+7*a,this._months=+o+3*i+12*r,function(e){var t=e._milliseconds,n=e._days,r=e._months,i=e._data;t>=0&&n>=0&&r>=0||t<=0&&n<=0&&r<=0||(t+=864e5*it(at(r)+n),n=0,r=0),i.milliseconds=t%1e3;var o=l(t/1e3);i.seconds=o%60;var a=l(o/60);i.minutes=a%60;var s=l(a/60);i.hours=s%24,n+=l(s/24);var u=l(ot(n));r+=u,n-=it(at(u));var c=l(r/12);return r%=12,i.day=n,i.month=r,i.year=c,e}(this)}),[{key:"isValid",value:function(){return this._isValid}},{key:"humanize",value:function(e){if(!this.isValid())return this.localeData().invalidDate;var t=this.localeData(),n=function(e,t,n){var r=Ft(e).abs(),i=st(r.as("s")),o=st(r.as("m")),a=st(r.as("h")),s=st(r.as("d")),l=st(r.as("M")),u=st(r.as("y")),c=i<=44&&["s",i]||i<45&&["ss",i]||o<=1&&["m"]||o<45&&["mm",o]||a<=1&&["h"]||a<22&&["hh",a]||s<=1&&["d"]||s<26&&["dd",s]||l<=1&&["M"]||l<11&&["MM",l]||u<=1&&["y"]||["yy",u];return lt.apply(null,[c[0],c[1],t,+e>0,n])}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}},{key:"localeData",value:function(){return this._locale}},{key:"locale",value:function(e){return e?(this._locale=tt(e)||this._locale,this):this._locale._abbr}},{key:"abs",value:function(){var e=Math.abs,t=this._data;return this._milliseconds=e(this._milliseconds),this._days=e(this._days),this._months=e(this._months),t.milliseconds=e(t.milliseconds),t.seconds=e(t.seconds),t.minutes=e(t.minutes),t.hours=e(t.hours),t.month=e(t.month),t.year=e(t.year),this}},{key:"as",value:function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds,i=C(e);if("month"===i||"year"===i)return t=this._days+r/864e5,n=this._months+ot(t),"month"===i?n:n/12;switch(t=this._days+Math.round(at(this._months)),i){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hours":return 24*t+r/36e5;case"minutes":return 1440*t+r/6e4;case"seconds":return 86400*t+r/1e3;case"milliseconds":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+i)}}},{key:"valueOf",value:function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12):NaN}}])}();function ct(e){if(null==e._isValid){var t=fe(e),n=Array.prototype.some.call(t.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d&&e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invali
1dMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function ht(e,t){return e._d=new Date(NaN),Object.assign(fe(e),t||{userInvalidated:!0}),e}var dt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],At=/^\/?Date\((\-?\d+)/i,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function yt(e){if(!u(e._i))return e;var t,n,r,i,o,a,s=e._i,l=dt.exec(s)||ft.exec(s);if(!l)return e._isValid=!1,e;for(o=0,a=gt.length;o<a;o++)if(gt[o][1].exec(l[1])){n=gt[o][0],t=!1!==gt[o][2];break}if(null==n)return e._isValid=!1,e;if(l[3]){for(o=0,a=_t.length;o<a;o++)if(_t[o][1].exec(l[3])){r=(l[2]||" ")+_t[o][0];break}if(null==r)return e._isValid=!1,e}if(!t&&null!=r)return e._isValid=!1,e;if(l[4]){if(!pt.exec(l[4]))return e._isValid=!1,e;i="Z"}return e._f=n+(r||"")+(i||""),xt(e)}function bt(e){var t=parseInt(e,10);return t<=49?t+2e3:t}function Ct(e){if(!u(e._i))return e;var t=mt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(!t)return function(e){return e._isValid=!1,e}(e);var n,r,i,o,a,s,l,c=(n=t[4],r=t[3],i=t[2],o=t[5],a=t[6],s=t[7],l=[bt(n),Me.indexOf(r),parseInt(i,10),parseInt(o,10),parseInt(a,10)],s&&l.push(parseInt(s,10)),l);return function(e,t,n){return!e||Re.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(fe(n).weekdayMismatch=!0,n._isValid=!1,!1)}(t[1],c,e)?(e._a=c,e._tzm=function(e,t,n){if(e)return vt[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(t[8],t[9],t[10]),e._d=x.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),fe(e).rfc2822=!0,e):e}function wt(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=tt(n||"en");if(!o)throw new Error('Locale "'.concat(n,'" is not defined, please add it with "defineLocale(...)"'));var a=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!h(e))return n.invalidDate;var o=kt(t,n);return k[o]=k[o]||function(e){for(var t,n=e.match(S),r=n.length,i=new Array(r),o=0;o<r;o++)i[o]=E[n[o]]?E[n[o]]:(t=n[o]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t,n,o){for(var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s="",l=0;l<r;l++)s+=d(i[l])?i[l].call(null,t,{format:e,locale:n,isUTC:o,offset:a}):i[l];return s}}(o),k[o](e,n,r,i)}(e,t||(r?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ"),o,r,i);return a?o.postformat(a):a}function kt(e,t){var n=e,r=5,i=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,o=function(e){return t.formatLongDate(e)||e};for(i.lastIndex=0;r>=0&&i.test(n);)n=n.replace(i,o),i.lastIndex=0,r-=1;return n}function Et(e,t,n){return null!=e?e:null!=t?t:n}function St(e){var t,n,r,i,o,a=[];if(e._d)return e;for(r=function(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,i,o,a,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=Et(t.GG,e._a[0],Pe(new Date,1,4).year),r=Et(t.W,1),((i=Et(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var u=Pe(new Date,o,a);n=Et(t.gg,e._a[0],u.year),r=Et(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>Te(n,o,a)?fe(e)._overflowWeeks=!0:null!=l?fe(e)._overflowWeekday=!0:(s=function(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+xe(e,r,i);return s<=0?a=_e(o=e-1)+s:s>_e(e)?(o=e+1,a=s-_e(e)):(o=e,a=s),{year:o,dayOfYear:a}}(n,r,i,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=Et(e._a[0],r[0]),(e._dayOfYear>_e(o)||0===e._dayOfYear)&&(fe(e)._overflowDayOfYear=!0),n=new Date(Date.UTC(o,0,e._dayOfYear)),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];return 24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?x:P).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(fe(e).weekdayMismatch=!0),e}function Ot(e){var t,n=e._a;return n&&-2===fe(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ve(n[0],n[1])?2:n[3]<0||n[3]>
124||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,fe(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),fe(e)._overflowWeeks&&-1===t&&(t=7),fe(e)._overflowWeekday&&-1===t&&(t=8),fe(e).overflow=t),e}function xt(e){if("ISO_8601"===e._f)return yt(e);if("RFC_2822"===e._f)return Ct(e);if(e._a=[],fe(e).empty=!0,p(e._f)||!e._i&&0!==e._i)return e;var t,n,r,i,o=e._i.toString(),a=0,s=o.length,l=kt(e._f,e._locale).match(S)||[];for(t=0;t<l.length;t++)n=l[t],(r=(o.match(oe(n,e._locale))||[])[0])&&((i=o.substr(0,o.indexOf(r))).length>0&&fe(e).unusedInput.push(i),o=o.slice(o.indexOf(r)+r.length),a+=r.length),E[n]?(r?fe(e).empty=!1:fe(e).unusedTokens.push(n),ce(n,r,e)):e._strict&&!r&&fe(e).unusedTokens.push(n);return fe(e).charsLeftOver=s-a,o.length>0&&fe(e).unusedInput.push(o),e._a[3]<=12&&!0===fe(e).bigHour&&e._a[3]>0&&(fe(e).bigHour=void 0),fe(e).parsedDateParts=e._a.slice(0),fe(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r=t;if(null==n)return r;if(null!=e.meridiemHour)return e.meridiemHour(r,n);if(null==e.isPM)return r;var i=e.isPM(n);return i&&r<12&&(r+=12),i||12!==r||(r=0),r}(e._locale,e._a[3],e._meridiem),St(e),Ot(e)}function Pt(e,t,n,r,i){return c(e)?e:function(e,t,n,r,i){var o={},a=e;return(_(a)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(a)||p(a)&&0===a.length)&&(a=void 0),o._useUTC=o._isUTC=i,o._l=n,o._i=a,o._f=t,o._strict=r,function(e){var t=Ot(function(e){var t=e._i,n=e._f;return e._locale=e._locale||tt(e._l),null===t||void 0===n&&""===t?ht(e,{nullInput:!0}):(u(t)&&(e._i=t=e._locale.preparse(t)),c(t)?(e._d=ke(t),e):(p(n)?function(e){var t,n,r,i,o;if(!e._f||0===e._f.length)return fe(e).invalidFormat=!0,ht(e);for(o=0;o<e._f.length;o++)i=0,t=Object.assign({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],xt(t),ct(t)&&(i+=fe(t).charsLeftOver,i+=10*fe(t).unusedTokens.length,fe(t).score=i,(null==r||i<r)&&(r=i,n=t));Object.assign(e,n||t)}(e):n?xt(e):function(e){var t=e._i;if(A(t))e._d=new Date;else if(c(t))e._d=ke(t);else if(u(t))!function(e){if(!u(e._i))return e;var t=At.exec(e._i);null!==t?e._d=new Date(+t[1]):(yt(e),!1!==e._isValid||(delete e._isValid,Ct(e),!1!==e._isValid||(delete e._isValid,ht(e))))}(e);else if(p(t)&&t.length){var n=t.slice(0);e._a=n.map((function(e){return u(e)?parseInt(e,10):e})),St(e)}else if(_(t))!function(e){if(e._d)return e;var t=e._i;if(_(t)){var n=function(e){var t,n,r={};for(n in e)g(e,n)&&((t=C(n))&&(r[t]=e[n]));return r}(t);e._a=[n.year,n.month,n.day,n.hours,n.minutes,n.seconds,n.milliseconds].map((function(e){return u(e)?parseInt(e,10):e}))}St(e)}(e);else{if(!f(t))return ht(e);e._d=new Date(t)}}(e),ct(e)||(e._d=null),e))}(e));return t._d=new Date(null!=t._d?t._d.getTime():NaN),ct(Object.assign({},t,{_isValid:null}))||(t._d=new Date(NaN)),t}(o)}(e,t,n,r,i)._d}function Tt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Bt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"milliseconds";return!(!e||!t)&&("milliseconds"===n?e.valueOf()>t.valueOf():t.valueOf()<Ee(e,n).valueOf())}function Dt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"milliseconds";return!(!e||!t)&&("milliseconds"===n?e.valueOf()<t.valueOf():Se(e,n).valueOf()<t.valueOf())}function Mt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"milliseconds";if(!e||!t)return!1;if("milliseconds"===n)return e.valueOf()===t.valueOf();var r=t.valueOf();return Ee(e,n).valueOf()<=r&&r<=Se(e,n).valueOf()}var It=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Rt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ft(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(e,t){if(null==e)return{};if(e instanceof ut)return{milliseconds:e._milliseconds,day:e._days,month:e._months};if(f(e))return t?_defineProperty({},t,e):{milliseconds:e};if(u(e)){var n=It.exec(e);if(n){var r="-"===n[1]?-1:1;return{year:0,day:v(n[2])*r,hours:v(n[3])*r,minutes:v(n[4])*r,seconds:v(n[5])*r,milliseconds:v(Tt(1e3*v(n[6])))*r}}if(n=Rt.exec(e)){var i="-"===n[1]?-1:1;return{year:Lt(n[2],i),month:Lt(n[3],i),week:Lt(n[4],i),day:Lt(n[5],i),hours:Lt(n[6],i),minutes:Lt(n[7],i),seconds:Lt(n[8],i)}}}if(_(e)&&("from"in e||"to"in e)){var o=function(e,t){if(!h(e)||!h(t))return{milliseconds:0,months:0};var n,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!n._isUTC)return e;var r=ke(t),i=6e4*(n._offset||0),o=e.valueOf()-r.valueOf()+i;return r.setTime(r.valueOf()+o),r}(t,e,{_offset:e.getTimezoneOffset()});return Dt(e,r)?n=Ut(e,r):((n=Ut(r,e)).milliseconds=-n.milliseconds,n.months=-n.months),n}(Pt(e.from),Pt(e.to));return{milliseconds:o.milliseconds,month:o.months}}return e}(e,t);return new ut(r,n)}function Lt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={milliseconds:0,months:0};return n.months=F(t)-F(e)+12*(L(t)-L(e)),Bt(Nt(ke(e),n.months,"month"),t)&&--n.months,n.milliseconds=+t-+Nt(ke(e),n.months,"month"),n}function Nt(e,t,n,r){return jt(e,Ft(t,n),1,r)}function jt(e,t,n,r){var i=t._milliseconds,o=Tt(t._days),a=Tt(t._months);return a&&Ce(e,F(e,r)+a*n,r),o&&we(e,R(e,r)+o*n,r),i&&function(e,t){e.setTime(t)}(e,function(e){return e.getTime()}(e)+i*n),ke(e)}function Ht(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tt(),r=arguments.length>3?arguments[3]:void 0,i=I(e,r);return Nt(e,function(e,t){if(!u(e))return e;var n=parseInt(e,10);if(!isNaN(n))return n;var r=t.weekdaysParse(e);return f(r)?r:null}(t,n)-i,"day")}function Qt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt(),n=arguments.length>2?arguments[2]:void 0;return(I(e,n)+7-t.firstDayOfWeek())%7}var Vt=n("2Vo4"),Kt=n("XNiG"),Wt=n("qgXg"),zt=n("HDdC"),qt=n("pxpQ"),Yt=n("Kqap"),Gt=n("/uUt"),Xt=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),i=_callSuper(this,t,[e]),n.pipe(Object(qt.b)(Wt.a)).pipe(Object(Yt.a)((function(e,t){return t?r(e,t):e}),e)).subscribe((function(e){return i.next(e)})),i}
1return _inherits2(t,e),_createClass2(t)}(Vt.a),Jt=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t))._dispatcher=e,i._reducer=n,i.source=r,i}return _inherits2(t,e),_createClass2(t,[{key:"select",value:function(e){return this.source.pipe(Object(o.a)(e)).pipe(Object(Gt.a)())}},{key:"lift",value:function(e){var n=new t(this._dispatcher,this._reducer,this);return n.operator=e,n}},{key:"dispatch",value:function(e){this._dispatcher.next(e)}},{key:"next",value:function(e){this._dispatcher.next(e)}},{key:"error",value:function(e){this._dispatcher.error(e)}},{key:"complete",value:function(){}}])}(zt.a),Zt=n("2uy1"),$t=(n("GS7A"),n("z/SZ")),en=(n("s7LF"),n("hpHm"));n.d(t,"a",(function(){return tn})),n.d(t,"b",(function(){return On})),n.d(t,"c",(function(){return xn})),n.d(t,"d",(function(){return Pn})),n.d(t,"e",(function(){return Tn})),n.d(t,"f",(function(){return In})),n.d(t,"g",(function(){return zn})),n.d(t,"h",(function(){return Rn})),n.d(t,"i",(function(){return Dn})),n.d(t,"j",(function(){return Bn})),n.d(t,"k",(function(){return Mn})),n.d(t,"l",(function(){return on})),n.d(t,"m",(function(){return Xn})),n.d(t,"n",(function(){return Yn})),n.d(t,"o",(function(){return Gn})),n.d(t,"p",(function(){return er})),n.d(t,"q",(function(){return Jn})),n.d(t,"r",(function(){return Zn})),n.d(t,"s",(function(){return $n})),n.d(t,"t",(function(){return Sn})),n.d(t,"u",(function(){return an})),n.d(t,"v",(function(){return rn})),n.d(t,"w",(function(){return Fn})),n.d(t,"x",(function(){return Ln})),n.d(t,"y",(function(){return Un})),n.d(t,"z",(function(){return Nn})),n.d(t,"A",(function(){return Hn})),n.d(t,"B",(function(){return Qn})),n.d(t,"C",(function(){return Vn})),n.d(t,"D",(function(){return Kn})),n.d(t,"E",(function(){return Wn}));var tn=_createClass2((function e(){_classCallCheck2(this,e),this.adaptivePosition=!1,this.useUtc=!1,this.isAnimated=!1,this.returnFocusToInput=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w"})),nn=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.customRanges=[],this.chosenRange=[]}),[{key:"minDate",set:function(e){this._effects.setMinDate(e)}},{key:"maxDate",set:function(e){this._effects.setMaxDate(e)}},{key:"daysDisabled",set:function(e){this._effects.setDaysDisabled(e)}},{key:"datesDisabled",set:function(e){this._effects.setDatesDisabled(e)}},{key:"datesEnabled",set:function(e){this._effects.setDatesEnabled(e)}},{key:"isDisabled",set:function(e){this._effects.setDisabled(e)}},{key:"dateCustomClasses",set:function(e){this._effects.setDateCustomClasses(e)}},{key:"setViewMode",value:function(e){}},{key:"navigateTo",value:function(e){}},{key:"dayHoverHandler",value:function(e){}},{key:"weekHoverHandler",value:function(e){}},{key:"monthHoverHandler",value:function(e){}},{key:"yearHoverHandler",value:function(e){}},{key:"daySelectHandler",value:function(e){}},{key:"monthSelectHandler",value:function(e){}},{key:"yearSelectHandler",value:function(e){}},{key:"setRangeOnCalendar",value:function(e){}},{key:"_stopPropagation",value:function(e){e.stopPropagation()}}])}(),rn=function(){var e=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,[{key:"calculate",value:function(){return{type:e.CALCULATE}}},{key:"format",value:function(){return{type:e.FORMAT}}},{key:"flag",value:function(){return{type:e.FLAG}}},{key:"select",value:function(t){return{type:e.SELECT,payload:t}}},{key:"changeViewMode",value:function(t){return{type:e.CHANGE_VIEWMODE,payload:t}}},{key:"navigateTo",value:function(t){return{type:e.NAVIGATE_TO,payload:t}}},{key:"navigateStep",value:function(t){return{type:e.NAVIGATE_OFFSET,payload:t}}},{key:"setOptions",value:function(t){return{type:e.SET_OPTIONS,payload:t}}},{key:"selectRange",value:function(t){return{type:e.SELECT_RANGE,payload:t}}},{key:"hoverDay",value:function(t){return{type:e.HOVER,payload:t.isH
1overed?t.cell.date:null}}},{key:"minDate",value:function(t){return{type:e.SET_MIN_DATE,payload:t}}},{key:"maxDate",value:function(t){return{type:e.SET_MAX_DATE,payload:t}}},{key:"daysDisabled",value:function(t){return{type:e.SET_DAYSDISABLED,payload:t}}},{key:"datesDisabled",value:function(t){return{type:e.SET_DATESDISABLED,payload:t}}},{key:"datesEnabled",value:function(t){return{type:e.SET_DATESENABLED,payload:t}}},{key:"isDisabled",value:function(t){return{type:e.SET_IS_DISABLED,payload:t}}},{key:"setDateCustomClasses",value:function(t){return{type:e.SET_DATE_CUSTOM_CLASSES,payload:t}}},{key:"setLocale",value:function(t){return{type:e.SET_LOCALE,payload:t}}}])}();return e.CALCULATE="[datepicker] calculate dates matrix",e.FORMAT="[datepicker] format datepicker values",e.FLAG="[datepicker] set flags",e.SELECT="[datepicker] select date",e.NAVIGATE_OFFSET="[datepicker] shift view date",e.NAVIGATE_TO="[datepicker] change view date",e.SET_OPTIONS="[datepicker] update render options",e.HOVER="[datepicker] hover date",e.CHANGE_VIEWMODE="[datepicker] switch view mode",e.SET_MIN_DATE="[datepicker] set min date",e.SET_MAX_DATE="[datepicker] set max date",e.SET_DAYSDISABLED="[datepicker] set days disabled",e.SET_DATESDISABLED="[datepicker] set dates disabled",e.SET_DATESENABLED="[datepicker] set dates enabled",e.SET_IS_DISABLED="[datepicker] set is disabled",e.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes",e.SET_LOCALE="[datepicker] set datepicker locale",e.SELECT_RANGE="[daterangepicker] select dates range",e}(),on=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._defaultLocale="en",this._locale=new Vt.a(this._defaultLocale),this._localeChange=this._locale.asObservable()}),[{key:"locale",get:function(){return this._locale}},{key:"localeChange",get:function(){return this._localeChange}},{key:"currentLocale",get:function(){return this._locale.getValue()}},{key:"use",value:function(e){e!==this.currentLocale&&this._locale.next(e)}}])}(),an=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._actions=t,this._localeService=n,this._subs=[]}),[{key:"init",value:function(e){return this._store=e,this}},{key:"setValue",value:function(e){this._store.dispatch(this._actions.select(e))}},{key:"setRangeValue",value:function(e){this._store.dispatch(this._actions.selectRange(e))}},{key:"setMinDate",value:function(e){return this._store.dispatch(this._actions.minDate(e)),this}},{key:"setMaxDate",value:function(e){return this._store.dispatch(this._actions.maxDate(e)),this}},{key:"setDaysDisabled",value:function(e){return this._store.dispatch(this._actions.daysDisabled(e)),this}},{key:"setDatesDisabled",value:function(e){return this._store.dispatch(this._actions.datesDisabled(e)),this}},{key:"setDatesEnabled",value:function(e){return this._store.dispatch(this._actions.datesEnabled(e)),this}},{key:"setDisabled",value:function(e){return this._store.dispatch(this._actions.isDisabled(e)),this}},{key:"setDateCustomClasses",value:function(e){return this._store.dispatch(this._actions.setDateCustomClasses(e)),this}},{key:"setOptions",value:function(e){var t=Object.assign({locale:this._localeService.currentLocale},e);return this._store.dispatch(this._actions.setOptions(t)),this}},{key:"setBindings",value:function(e){return e.daysCalendar=this._store.select((function(e){return e.flaggedMonths})).pipe(Object(i.a)((function(e){return!!e}))),e.monthsCalendar=this._store.select((function(e){return e.flaggedMonthsCalendar})).pipe(Object(i.a)((function(e){return!!e}))),e.yearsCalendar=this._store.select((function(e){return e.yearsCalendarFlagged})).pipe(Object(i.a)((function(e){return!!e}))),e.viewMode=this._store.select((function(e){return e.view.mode})),e.options=this._store.select((function(e){return e.showWeekNumbers})).pipe(Object(o.a)((function(e){return{showWeekNumbers:e}}))),this}},{key:"setEventHandlers",value:function(e){var t=this;return e.setViewMode=function(e){t._store.dispatch(t._actions.changeViewMode(e))},e.navigateTo=function(e){t._store.dispatch(t._actions.navigateStep(e.step))},e.dayHoverHandler=function(e){var n=e.cell;n.isOtherMonth||n.isDisabled||(t._store.dispatch(t._actions.hoverDay(e)),n.isHovered=e.isHovered)},e.monthHoverHandler=function(e){e.cell.isHovered=e.isHovered},e.yearHoverHandler=function(e){e.cell.isHovered=e.isHovered},e.monthSelectHandler=function(e){e.isDisabled||t._store.dispatch(t._actions.navigateTo({unit:{month:F(e.date),year:L(e.date)},viewMode:"day"}))},e.yearSelectHandler=function(e){e.isDisabled||t._store.dispatch(t._actions.navigateTo({unit:{year:L(e.date)},viewMode:"month"}))},this}},{key:"registerDatepickerSideEffects",value:function(){var e=this;return this._subs.push(this._store.select((function(e){return e.view})).subscribe((function(t){e._store.dispatch(e._actions.calculate())}))),this._subs.push(this._store.select((function(e){return e.monthsModel})).pipe(Object(i.a)((function(e){return!!e}))).subscribe((function(t){return e._store.dispatch(e._actions.format())}))),this._subs.push(this._store.select((function(e){return e.formattedMonths})).pipe(Object(i.a)((function(e){return!!e}))).subscribe((function(t){return e._store.dispatch(e._actions.flag())}))),this._subs.push(this._store.select((function(e){return e.selectedDate})).pipe(Object(i.a)((function(e){return!!e}))).subscribe((function(t){return e._store.dispatch(e._actions.flag())}))),this._subs.push(this._store.select((function(e){return e.selectedRange})).pipe(Object(i.a)((function(e){return!!e}))).subscribe((function(t){return e._store.dispatch(e._actions.flag())}))),this._subs.push(this._store.select((function(e){return e.monthsCalendar})).subscribe((function(){return e._store.dispatch(e._actions.flag())}))),this._subs.push(this._store.select((function(e){return e.yearsCalendarModel})).pipe(Object(i.a)((function(e){return!!e}))).subscribe((function(){return e._store.dispatch(e._actions.flag())}))),this._subs.push(this._store.select((function(e){return e.hoveredDate})).pipe(Object(i.a)((function(e){return!!e}))).subscribe((function(t){return e._store.dispatch(e._actions.flag())}))),this._subs.push(this._store.select((function(e){return e.dateCustomClasses})).pipe(Object(i.a)((function(e){return!!e}))).subscribe((function(t){return e._store.dispatch(e._actions.flag())}))),this._subs.push(this._localeService.localeChange.subscribe((function(t){return e._store.dispatch(e._actions.setLocale(t))}))),this}},{key:"destroy",value:function(){var e,t=_createForOfIteratorHelper2(this._subs);try{for(t.s();!(e=t.n()).done;){e.value.unsubscribe()}}catch(n){t.e(n)}finally{t.f()}}}])}(),sn={date:new Date,mode:"day"},ln=Object.assign(new tn,{locale:"en",view:sn,selectedRange:[],monthViewOptions:{width:7,height:6}});
1function un(e,t,n){var r=t&&Dt(Se(e,"month"),t,"day"),i=n&&Bt(Ee(e,"month"),n,"day");return r||i}function cn(e,t,n){var r=t&&Dt(Se(e,"year"),t,"day"),i=n&&Bt(Ee(e,"year"),n,"day");return r||i}function hn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e&&e.yearsCalendarModel&&e.yearsCalendarModel[t];return n&&n.years&&n.years[0]&&n.years[0][0]&&n.years[0][0].date}function dn(e,t){for(var n=e.initialDate,r=new Array(e.height),i=0;i<e.height;i++){r[i]=new Array(e.width);for(var o=0;o<e.width;o++)r[i][o]=t(n),n=ye(n,e.shift)}return r}function fn(e,t){var n,r=P((n=e).getFullYear(),n.getMonth(),1,n.getHours(),n.getMinutes(),n.getSeconds()),i=function(e,t){return function(e,t){return e.getDay()===t}(e,t.firstDayOfWeek)?e:ye(e,{day:-function(e,t){if(0===t)return e;var n=e-t%7;return n<0?n+7:n}(I(e),t.firstDayOfWeek)})}(r,t);return{daysMatrix:dn({width:t.width,height:t.height,initialDate:i,shift:{day:1}},(function(e){return e})),month:r}}function pn(e){var t=tt(e),n=t.weekdaysShort(),r=t.firstDayOfWeek();return[].concat(_toConsumableArray2(n.slice(r)),_toConsumableArray2(n.slice(0,r)))}function gn(e,t){return!t||e>=t}var _n={month:1};function An(e,t){return{months:dn({width:3,height:4,initialDate:Ee(e,"year"),shift:_n},(function(e){return{date:e,label:wt(e,t.monthLabel,t.locale)}})),monthTitle:"",yearTitle:wt(e,t.yearTitle,t.locale)}}var vn=-1*(Math.floor(8)-1),mn={year:1};function yn(e,t,n){var r=dn({width:4,height:4,initialDate:function(e,t){return t&&e.getFullYear()>=t.getFullYear()&&e.getFullYear()<t.getFullYear()+16?t:ye(e,{year:vn})}(e,n),shift:mn},(function(e){return{date:e,label:wt(e,t.yearLabel,t.locale)}}));return{years:r,monthTitle:"",yearTitle:function(e,t){return"".concat(wt(e[0][0].date,t.yearTitle,t.locale)," - ").concat(wt(e[3][3].date,t.yearTitle,t.locale))}(r,t)}}function bn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ln,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case rn.CALCULATE:return function(e){var t=e.displayOneMonthRange&&En(e.view.date,e.minDate,e.maxDate)?1:e.displayMonths,n=e.view.date;if("day"===e.view.mode){e.showPreviousMonth&&0===e.selectedRange.length&&(n=ye(n,{month:-1})),e.monthViewOptions.firstDayOfWeek=tt(e.locale).firstDayOfWeek();for(var r=new Array(t),i=0;i<t;i++)r[i]=fn(n,e.monthViewOptions),n=ye(n,{month:1});return Object.assign({},e,{monthsModel:r})}if("month"===e.view.mode){for(var o=new Array(t),a=0;a<t;a++)o[a]=An(n,wn(e)),n=ye(n,{year:1});return Object.assign({},e,{monthsCalendar:o})}if("year"===e.view.mode){for(var s=new Array(t),l=0;l<t;l++)s[l]=yn(n,wn(e),"year"===e.minMode?hn(e,l):void 0),n=ye(n,{year:16});return Object.assign({},e,{yearsCalendarModel:s})}return e}(e);case rn.FORMAT:return function(e,t){if("day"===e.view.mode){var n=e.monthsModel.map((function(t,n){return function(e,t,n){return{month:e.month,monthTitle:wt(e.month,t.monthTitle,t.locale),yearTitle:wt(e.month,t.yearTitle,t.locale),weekNumbers:(r=e.daysMatrix,i=t.weekNumbers,o=t.locale,r.map((function(e){return e[0]?wt(e[0],i,o):""}))),weekdays:pn(t.locale),weeks:e.daysMatrix.map((function(e,r){return{days:e.map((function(e,i){return{date:e,label:wt(e,t.dayLabel,t.locale),monthIndex:n,weekIndex:r,dayIndex:i}}))}}))};var r,i,o}(t,wn(e),n)}));return Object.assign({},e,{formattedMonths:n})}var r=e.displayMonths,i=e.view.date;if("month"===e.view.mode){for(var o=new Array(r),a=0;a<r;a++)o[a]=An(i,wn(e)),i=ye(i,{year:1});return Object.assign({},e,{monthsCalendar:o})}if("year"===e.view.mode){for(var s=new Array(r),l=0;l<r;l++)s[l]=yn(i,wn(e)),i=ye(i,{year:16});return Object.assign({},e,{yearsCalendarModel:s})}return e}(e);case rn.FLAG:return function(e,t){var n=En(e.view.date,e.minDate,e.maxDate)?1:e.displayMonths;if("day"===e.view.mode){var r=e.formattedMonths.map((function(t,r){return function(e,t){return e.weeks.forEach((function(n){n.days.forEach((function(r,i){var o,a,s=!U(r.date,e.month),l=!s&&j(r.date,t.hoveredDate),u=!s&&t.selectedRange&&j(r.date,t.selectedRange[0]),c=!s&&t.selectedRange&&j(r.date,t.selectedRange[1]),h=!s&&j(r.date,t.selectedDate)||u||c,d=!s&&t.selectedRange&&function(e,t,n){return!(!e||!t[0])&&(t[1]?e>t[0]&&e<=t[1]:!!n&&e>t[0]&&e<=n)}(r.date,t.selectedRange,t.hoveredDate),f=t.isDisabled||Dt(r.date,t.minDate,"day")||Bt(r.date,t.maxDate,"day")||(o=r.date,!(void 0===(a=t.daysDisabled)||!a||!a.length)&&a.some((function(e){return e===o.getDay()})))||function(e,t){return!!(t&&p(t)&&t.length)&&t.some((function(t){return Mt(e,t,"date")}))}(r.date,t.datesDisabled)||function(e,t){return!!(t&&p(t)&&t.length)&&!t.some((function(t){return Mt(e,t,"date")}))}(r.date,t.datesEnabled),g=new Date,_=!s&&j(r.date,g),A=t.dateCustomClasses&&t.dateCustomClasses.map((function(e){return j(r.date,e.date)?e.classes:[]})).reduce((function(e,t){return e.concat(t)}),[]).join(" ")||"",v=Object.assign({},r,{isOtherMonth:s,isHovered:l,isSelected:h,isSelectionStart:u,isSelectionEnd:c,isInRange:d,isDisabled:f,isToday:_,customClasses:A});r.isOtherMonth===v.isOtherMonth&&r.isHovered===v.isHovered&&r.isSelected===v.isSelected&&r.isSelectionStart===v.isSelectionStart&&r.isSelectionEnd===v.isSelectionEnd&&r.isDisabled===v.isDisabled&&r.isInRange===v.isInRange&&r.customClasses===v.customClasses||(n.days[i]=v)}))})),e.hideLeftArrow=t.isDisabled||t.monthIndex>0&&t.monthIndex!==t.displayMonths,e.hideRightArrow=t.isDisabled||t.monthIndex<t.displayMonths&&t.monthIndex+1!==t.displayMonths,e.disableLeftArrow=un(ye(e.month,{month:-1}),t.minDate,t.maxDate),e.disableRightArrow=un(ye(e.month,{month:1}),t.minDate,t.maxDate),e}(t,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,daysDisabled:e.daysDisabled,datesDisabled:e.datesDisabled,datesEnabled:e.datesEnabled,hoveredDate:e.hoveredDate,selectedDate:e.selectedDate,selectedRange:e.selectedRange,displayMonths:n,dateCustomClasses:e.dateCustomClasses,monthIndex:r})}));return Object.assign({},e,{flaggedMonths:r})}if("month"===e.view.mode){var i=e.monthsCalendar.map((function(t,r){return o={isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,hoveredMonth:e.hoveredMonth,selectedDate:e.selectedDate,displayMonths:n,monthIndex:r},(i=t).months.forEach((function(e,t){e.forEach((function(e,n){var r=U(e.date,o.hoveredMonth),a=o.isDisabled||un(e.date,o.minDate,o.maxDate),s=U(e.date,o.selectedDate),l=Object.assign(e,{isHovered:r,isDisabled:a,isSelected:s});e.isHovered===l.isHovered&&e.isDisabled===l.isDisabled&&e.isSelected===l.isSelected||(i.months[t][n]=l)}))})),i.hideLeftArrow=o.monthIndex>0&&o.monthIndex!==o.displayMonths,i.hideRightArrow=o.monthIndex<o.displayMonths&&o.monthIndex+1!==o.displayMonths,i.disableLeftArrow=cn(ye(i.months[0][0].date,{year:-1}),o.minDate,o.maxDate),i.disableRightArrow=cn(ye(i.months[0][0].date,{year:1}),o.minDate,o.maxDate),i;var i,o}));return Object.assign({},e,{flaggedMonthsCalendar:i})}if("year"===e.view.mode){var o=e.yearsCalendarModel.map((function(t,r){return function(e,t){e.years.forEac
1h((function(n,r){n.forEach((function(n,i){var o=N(n.date,t.hoveredYear),a=t.isDisabled||cn(n.date,t.minDate,t.maxDate),s=N(n.date,t.selectedDate),l=Object.assign(n,{isHovered:o,isDisabled:a,isSelected:s});n.isHovered===l.isHovered&&n.isDisabled===l.isDisabled&&n.isSelected===l.isSelected||(e.years[r][i]=l)}))})),e.hideLeftArrow=t.yearIndex>0&&t.yearIndex!==t.displayMonths,e.hideRightArrow=t.yearIndex<t.displayMonths&&t.yearIndex+1!==t.displayMonths,e.disableLeftArrow=cn(ye(e.years[0][0].date,{year:-1}),t.minDate,t.maxDate);var n=e.years.length-1;return e.disableRightArrow=cn(ye(e.years[n][e.years[n].length-1].date,{year:1}),t.minDate,t.maxDate),e}(t,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,hoveredYear:e.hoveredYear,selectedDate:e.selectedDate,displayMonths:n,yearIndex:r})}));return Object.assign({},e,{yearsCalendarFlagged:o})}return e}(e);case rn.NAVIGATE_OFFSET:return function(e,t){var n={view:{mode:e.view.mode,date:Cn(e,t)}};return Object.assign({},e,n)}(e,t);case rn.NAVIGATE_TO:var n,r=t.payload,i=function(e,t){return P(be(e.getFullYear(),t.year),be(e.getMonth(),t.month),1,be(e.getHours(),t.hour),be(e.getMinutes(),t.minute),be(e.getSeconds(),t.seconds),be(e.getMilliseconds(),t.milliseconds))}(e.view.date,r.unit);return gn(r.viewMode,e.minMode)?n={view:{date:i,mode:r.viewMode}}:n={selectedDate:i,view:{date:i,mode:e.view.mode}},Object.assign({},e,n);case rn.CHANGE_VIEWMODE:return gn(t.payload,e.minMode)?Object.assign({},e,{view:{date:e.view.date,mode:t.payload}}):e;case rn.HOVER:return Object.assign({},e,{hoveredDate:t.payload});case rn.SELECT:var o={selectedDate:t.payload,view:e.view},a=e.view.mode,s=kn(t.payload||e.view.date,e.minDate,e.maxDate);return o.view={mode:a,date:s},Object.assign({},e,o);case rn.SET_OPTIONS:var l=t.payload,u=l.minMode?l.minMode:e.view.mode,c=kn(h(l.value)&&l.value||p(l.value)&&h(l.value[0])&&l.value[0]||e.view.date,l.minDate,l.maxDate);return l.view={mode:u,date:c},l.value&&(p(l.value)&&(l.selectedRange=l.value),l.value instanceof Date&&(l.selectedDate=l.value)),Object.assign({},e,l);case rn.SELECT_RANGE:var d={selectedRange:t.payload,view:e.view},f=e.view.mode,g=kn(t.payload&&t.payload[0]||e.view.date,e.minDate,e.maxDate);return d.view={mode:f,date:g},Object.assign({},e,d);case rn.SET_MIN_DATE:return Object.assign({},e,{minDate:t.payload});case rn.SET_MAX_DATE:return Object.assign({},e,{maxDate:t.payload});case rn.SET_IS_DISABLED:return Object.assign({},e,{isDisabled:t.payload});case rn.SET_DATE_CUSTOM_CLASSES:return Object.assign({},e,{dateCustomClasses:t.payload});default:return e}}function Cn(e,t){if("year"===e.view.mode&&"year"===e.minMode){var n=ye(hn(e,0),{year:-vn});return ye(n,t.payload)}return ye(Ee(e.view.date,"month"),t.payload)}function wn(e){return{locale:e.locale,monthTitle:e.monthTitle,yearTitle:e.yearTitle,dayLabel:e.dayLabel,monthLabel:e.monthLabel,yearLabel:e.yearLabel,weekNumbers:e.weekNumbers}}function kn(e,t,n){var r=Array.isArray(e)?e[0]:e;return t&&Bt(t,r,"day")?t:n&&Dt(n,r,"day")?n:r}function En(e,t,n){return!(!n||!Mt(n,e,"day"))||!(!t||!n||t.getMonth()!==n.getMonth())}var Sn=function(e){function t(){_classCallCheck2(this,t);var e=new Vt.a({type:"[datepicker] dispatcher init"});return _callSuper(this,t,[e,bn,new Xt(ln,e,bn)])}return _inherits2(t,e),_createClass2(t)}(Jt),On=function(e){function t(e,n,i,o,a,s,l){var u;return _classCallCheck2(this,t),(u=_callSuper(this,t))._config=n,u._store=i,u._element=o,u._actions=a,u._positionService=l,u.valueChange=new r.EventEmitter,u.animationState="void",u._subs=[],u._effects=s,e.setStyle(o.nativeElement,"display","block"),e.setStyle(o.nativeElement,"position","absolute"),u}return _inherits2(t,e),_createClass2(t,[{key:"value",set:function(e){this._effects.setValue(e)}},{key:"ngOnInit",value:function(){var e=this;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),this._positionService.event$.pipe(Object(a.a)(1)).subscribe((function(){e._positionService.disable(),e.animationState=e._config.isAnimated?e.isTopPosition?"animated-up":"animated-down":"unanimated"})),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this._effects.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select((function(e){return e.selectedDate})).subscribe((function(t){return e.valueChange.emit(t)})))}},{key:"isTopPosition",get:function(){return this._element.nativeElement.classList.contains("top")}},{key:"positionServiceEnable",value:function(){this._positionService.enable()}},{key:"daySelectHandler",value:function(e){e&&((this.isOtherMonthsActive?e.isDisabled:e.isOtherMonth||e.isDisabled)||this._store.dispatch(this._actions.select(e.date)))}},{key:"ngOnDestroy",value:function(){var e,t=_createForOfIteratorHelper2(this._subs);try{for(t.s();!(e=t.n()).done;){e.value.unsubscribe()}}catch(n){t.e(n)}finally{t.f()}this._effects.destroy()}}])}(nn),xn=function(){return _createClass2((function e(t,n,i,o,a){_classCallCheck2(this,e),this._config=t,this._elementRef=n,this._renderer=i,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.bsValueChange=new r.EventEmitter,this._subs=[],Object.assign(this,this._config),this._datepicker=a.createLoader(n,o,i),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new Vt.a(this.isOpen)}),[{key:"isOpen",get:function(){return this._datepicker.isShown}
1,set:function(e){this.isOpen$.next(e)}},{key:"bsValue",set:function(e){this._bsValue&&e&&this._bsValue.getTime()===e.getTime()||(this._bsValue=e,this.bsValueChange.emit(e))}},{key:"ngOnInit",value:function(){var e=this;this.isDestroy$=new Kt.a,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:function(){return e.show()}}),this.setConfig()}},{key:"ngOnChanges",value:function(e){this._datepickerRef&&this._datepickerRef.instance&&(e.minDate&&(this._datepickerRef.instance.minDate=this.minDate),e.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),e.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),e.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),e.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),e.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),e.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}},{key:"ngAfterViewInit",value:function(){var e=this;this.isOpen$.pipe(Object(i.a)((function(t){return t!==e.isOpen})),Object(s.a)(this.isDestroy$)).subscribe((function(){return e.toggle()}))}},{key:"show",value:function(){var e=this;this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:tn,useValue:this._config}).attach(On).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this._subs.push(this.bsValueChange.subscribe((function(t){e._datepickerRef.instance.value=t}))),this._subs.push(this._datepickerRef.instance.valueChange.subscribe((function(t){e.bsValue=t,e.hide()}))))}},{key:"hide",value:function(){this.isOpen&&this._datepicker.hide();var e,t=_createForOfIteratorHelper2(this._subs);try{for(t.s();!(e=t.n()).done;){e.value.unsubscribe()}}catch(n){t.e(n)}finally{t.f()}this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}},{key:"toggle",value:function(){if(this.isOpen)return this.hide();this.show()}},{key:"setConfig",value:function(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._bsValue,isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode})}},{key:"ngOnDestroy",value:function(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(),this.isDestroy$.complete())}}])}(),Pn=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t)}(tn),Tn=function(e){function t(e,n,r,i,o,a,s){var l;return _classCallCheck2(this,t),l=_callSuper(this,t,[e,n,r,i,o,a,s]),e.setStyle(i.nativeElement,"display","inline-block"),e.setStyle(i.nativeElement,"position","static"),l}return _inherits2(t,e),_createClass2(t)}(On),Bn=function(e){function t(){var e;return _classCallCheck2(this,t),(e=_callSuper(this,t,arguments)).displayMonths=2,e.isAnimated=!1,e}return _inherits2(t,e),_createClass2(t)}(tn),Dn=function(e){function t(e,n,i,o,a,s,l){var u;return _classCallCheck2(this,t),(u=_callSuper(this,t))._config=n,u._store=i,u._element=o,u._actions=a,u._positionService=l,u.valueChange=new r.EventEmitter,u.animationState="void",u._rangeStack=[],u.chosenRange=[],u._subs=[],u._effects=s,u.customRanges=u._config.ranges,e.setStyle(o.nativeElement,"display","block"),e.setStyle(o.nativeElement,"position","absolute"),u}return _inherits2(t,e),_createClass2(t,[{key:"value",set:function(e){this._effects.setRangeValue(e)}},{key:"ngOnInit",value:function(){var e=this;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),this._positionService.event$.pipe(Object(a.a)(1)).subscribe((function(){e._positionService.disable(),e.animationState=e._config.isAnimated?e.isTopPosition?"animated-up":"animated-down":"unanimated"})),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this._effects.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select((function(e){return e.selectedRange})).subscribe((function(t){e.valueChange.emit(t),e.chosenRange=t})))}},{key:"isTopPosition",get:function(){return this._element.nativeElement.classList.contains("top")}},{key:"positionServiceEnable",value:function(){this._positionService.enable()}},{key:"daySelectHandler",value:function(e){e&&((this.isOtherMonthsActive?e.isDisabled:e.isOtherMonth||e.isDisabled)||(1===this._rangeStack.length&&(this._rangeStack=e.date>=this._rangeStack[0]?[this._rangeStack[0],e.date]:[e.date]),0===this._rangeStack.length&&(this._rangeStack=[e.date]),this._store.dispatch(this._actions.selectRange(this._rangeStack)),2===this._rangeStack.length&&(this._rangeStack=[])))}},{key:"ngOnDestroy",value:function(){var e,t=_createForOfIteratorHelper2(this._subs);try{for(t.s();!(e=t.n()).done;){e.value.unsubscribe()}}catch(n){t.e(n)}finally{t.f()}this._effects.destroy()}},{key:"setRangeOnCalendar",value:function(e){this._rangeStack=null===e?[]:e.value instanceof Date?[e.value]:e.value,this._store.dispatch(this._actions.selectRange(this._rangeStack))}}])}(nn),Mn=function(e){function t(e,n,r,i,o,a,s){var l;return _classCallCheck2(this,t),l=_callSuper(this,t,[e,n,r,i,o,a,s]),e.setStyle(i.nativeElement,"display","inline-block"),e.setStyle(i.nativeElement,"position","static"),l}
1return _inherits2(t,e),_createClass2(t)}(Dn),In=function(){return _createClass2((function e(t,n,r,i,o){var a=this;_classCallCheck2(this,e),this._picker=t,this._localeService=n,this._renderer=r,this._elRef=i,this.changeDetection=o,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._picker.bsValueChange.subscribe((function(e){a._setInputValue(e),a._value!==e&&(a._value=e,a._onChange(e),a._onTouched()),a.changeDetection.markForCheck()})),this._localeService.localeChange.subscribe((function(){a._setInputValue(a._value)}))}),[{key:"onKeydownEvent",value:function(e){13!==e.keyCode&&"Enter"!==e.code||this.hide()}},{key:"_setInputValue",value:function(e){var t=e?wt(e,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",t)}},{key:"onChange",value:function(e){this.writeValue(e.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}},{key:"validate",value:function(e){var t=e.value;if(null==t||""===t)return null;if(c(t)){if(!h(t))return{bsDate:{invalid:t}};if(this._picker&&this._picker.minDate&&Dt(t,this._picker.minDate,"date"))return this.writeValue(this._picker.minDate),{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&Bt(t,this._picker.maxDate,"date"))return this.writeValue(this._picker.maxDate),{bsDate:{maxDate:this._picker.maxDate}}}}},{key:"registerOnValidatorChange",value:function(e){this._validatorChange=e}},{key:"writeValue",value:function(e){if(e){var t=this._localeService.currentLocale;if(!tt(t))throw new Error('Locale "'.concat(t,'" is not defined, please add it with "defineLocale(...)"'));this._value=Pt(e,this._picker._config.dateInputFormat,this._localeService.currentLocale),this._picker._config.useUtc&&(this._value=(n=this._value)instanceof Date?new Date(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds()):null)}else this._value=null;var n;this._picker.bsValue=this._value}},{key:"setDisabledState",value:function(e){this._picker.isDisabled=e,e?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"onBlur",value:function(){this._onTouched()}},{key:"hide",value:function(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}}])}(),Rn=function(e){function t(){var e;return _classCallCheck2(this,t),(e=_callSuper(this,t,arguments)).displayMonths=2,e}return _inherits2(t,e),_createClass2(t)}(tn),Fn=_createClass2((function e(){_classCallCheck2(this,e)})),Ln=_createClass2((function e(){_classCallCheck2(this,e)})),Un=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.onSelect=new r.EventEmitter,this.customRange=null}),[{key:"selectFromRanges",value:function(e){this.onSelect.emit(e)}},{key:"checkRange",value:function(){var e=this;return!!this.ranges&&this.ranges.filter((function(t){return t.value===e.selectedRange})).length>0}}])}(),Nn=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._config=t,this._elRef=n,this._renderer=r}),[{key:"ngOnInit",value:function(){var e=this;this.day.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),"string"==typeof this.day.customClasses&&this.day.customClasses.split(" ").filter((function(e){return e})).forEach((function(t){e._renderer.addClass(e._elRef.nativeElement,t)}))}}])}(),jn=function(){var e={UP:0,DOWN:1};return e[e.UP]="UP",e[e.DOWN]="DOWN",e}(),Hn=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.onNavigate=new r.EventEmitter,this.onViewMode=new r.EventEmitter}),[{key:"navTo",value:function(e){this.onNavigate.emit(e?jn.DOWN:jn.UP)}},{key:"view",value:function(e){this.onViewMode.emit(e)}}])}(),Qn=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._config=t,this.onNavigate=new r.EventEmitter,this.onViewMode=new r.EventEmitter,this.onSelect=new r.EventEmitter,this.onHover=new r.EventEmitter,this.onHoverWeek=new r.EventEmitter}),[{key:"navigateTo",value:function(e){this.onNavigate.emit({step:{month:jn.DOWN===e?-1:1}})}},{key:"changeViewMode",value:function(e){this.onViewMode.emit(e)}},{key:"selectDay",value:function(e){this.onSelect.emit(e)}},{key:"selectWeek",value:function(e){var t=this;if((this._config.selectWeek||this._config.selectWeekDateRange)&&0!==e.days.length)if(this._config.selectWeek&&e.days[0]&&!e.days[0].isDisabled&&this._config.selectFromOtherMonth)this.onSelect.emit(e.days[0]);else{var n=e.days.find((function(e){return(t._config.selectFromOtherMonth||!e.isOtherMonth)&&!e.isDisabled}));if(this.onSelect.emit(n),this._config.selectWeekDateRange){var r=e.days.slice(0).reverse().find((function(e){return(t._config.selectFromOtherMonth||!e.isOtherMonth)&&!e.isDisabled}));this.onSelect.emit(r)}}}},{key:"weekHoverHandler",value:function(e,t){var n=this;(this._config.selectWeek||this._config.selectWeekDateRange)&&e.days.find((function(e){return(n._config.selectFromOtherMonth||!e.isOtherMonth)&&!e.isDisabled}))&&(e.isHovered=t,this.isWeekHovered=t,this.onHoverWeek.emit(e))}},{key:"hoverDay",value:function(e,t){this._config.selectFromOtherMonth&&e.isOtherMonth&&(e.isOtherMonthHovered=t),this.onHover.emit({cell:e,isHovered:t})}}])}(),Vn=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.onNavigate=new r.EventEmitter,this.onViewMode=new r.EventEmitter,this.onSelect=new r.EventEmitter,this.onHover=new r.EventEmitter}),[{key:"navigateTo",value:function(e){this.onNavigate.emit({step:{year:jn.DOWN===e?-1:1}})}},{key:"viewMonth",value:function(e){this.onSelect.emit(e)}},{key:"hoverMonth",value:function(e,t){this.onHover.emit({cell:e,isHovered:t})}},{key:"changeViewMode",value:function(e){this.onViewMode.emit(e)}}])}(),Kn=_createClass2((function e(){_classCallCheck2(this,e),this.ampm="ok",this.hours=0,this.minutes=0})),Wn=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.onNavigate=new r.EventEmitter,this.onViewMode=new r.EventEmitter,this.onSelect=new r.EventEmitter,this.onHover=new r.EventEmitter}),[{key:"navigateTo",value:function(e){this.onNavigate.emit({step:{year:16*(jn.DOWN===e?-1:1)}})}},{key:"viewYear",value:function(e){this.onSelect.emit(e)}},{key:"hoverYear",value:function(e,t){this.onHover.emit({cell:e,isHovered:t})}},{key:"changeViewMode",value:function(e){this.onViewMode.emit(e)}}])}(),zn=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[$t.a,Zt.a,Sn,rn,tn,Rn,Pn,Bn,an,on]}}}])}(),qn=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"format",value:function(e,t,n){return wt(e,t,n)}}])}(),Yn=function(){return _createClass2((function e(){_classCallCheck2(this,e),this.selectionDone=new r.EventEmitter(void 0),this.update=new r.EventEmitter(!1),this.activeDateChange=new r.EventEmitter(void 0),this.stepDay={},this.stepMonth={},this.stepYear={},this.modes=["day","month","year"],this.dateFormatter=new qn}),[{key:"activeDate",get:function(){return this._activeDate},set:function(e){this._activeDate=e}},{key:"ngOnInit",value:function(){this.uniqueId="datepicker--"+Math.floor(1e4*Math.random()),this.initDate?(this.activeDate=this.initDate,this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate)):void 0===this.activeDate&&(this.activeDate=new Date)}},{key:"ngOnChanges",value:function(e){this.refreshView(),this.checkIfActiveDateGotUpdated(e.activeDate)}},{key:"checkIfActiveDateGotUpdated",value:function(e){if(e&&!e.firstChange){var t=e.previousValue;t&&t instanceof Date&&t.getTime()!==e.currentValue.getTime()&&this.activeDateChange.emit(this.activeDate)}}},{key:"setCompareHandler",value:function(e,t){"day"===t&&(this.compareHandlerDay=e),"month"===t&&(this.compareHandlerMonth=e),"year"===t&&(this.compareHandlerYear=e)}},{key:"compare",value:function(e,t){if(void 0!==e&&void 0!==t)return"day"===this.datepickerMode&&this.compareHandlerDay?this.compareHandlerDay(e,t):"month"===this.datepickerMode&&this.compareHandlerMonth?this.compareHandlerMonth(e,t):"year"===this.datepickerMode&&this.compareHandlerYear?this.compareHandlerYear(e,t):void 0}},{key:"setRefreshViewHandler",value:function(e,t){"day"===t&&(this.refreshViewHandlerDay=e),"month"===t&&(this.refreshViewHandlerMonth=e),"year"===t&&(this.refreshViewHandlerYear=e)}},{key:"refreshView",value:function(){"day"===this.datepickerMode&&this.refreshViewHandlerDay&&this.refreshViewHandlerDay(),"month"===this.datepickerMode&&this.refreshViewHandlerMonth&&this.refreshViewHandlerMonth(),"year"===this.datepickerMode&&this.refreshViewHandlerYear&&this.refreshViewHandlerYear()}},{key:"dateFilter",value:function(e,t){return this.dateFormatter.format(e,t,this.locale)}},{key:"isActive",value:function(e){return 0===this.compare(e.date,this.activeDate)&&(this.activeDateId=e.uid,!0)}},{key:"createDateObject",value:function(e,t){var n={};return n.date=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n.date=this.fixTimeZone(n.date),n.label=this.dateFilter(e,t),n.selected=0===this.compare(e,this.selectedDate),n.disabled=this.isDisabled(e),n.current=0===this.compare(e,new Date),n.customClass=this.getCustomClassForDate(n.date),n}},{key:"split",value:function(e,t){for(var n=[];e.length>0;)n.push(e.splice(0,t));return n}},{key:"fixTimeZone",value:function(e){var t=e.getHours();return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23===t?t+2:0)}},{key:"select",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.datepickerMode===this.minMode?(this.activeDate||(this.activeDate=new Date(0,0,0,0,0,0,0)),this.activeDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),t&&this.selectionDone.emit(this.activeDate)):(this.activeDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),t&&(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)-1])),this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate),this.refreshView()}},{key:"move",value:function(e){var t;if("day"===this.datepickerMode&&(t=this.stepDay),"month"===this.datepickerMode&&(t=this.stepMonth),"year"===this.datepickerMode&&(t=this.stepYear),t){var n=this.activeDate.getFullYear()+e*(t.years||0),r=this.activeDate.getMonth()+e*(t.months||0);this.activeDate=new Date(n,r,1),this.refreshView(),this.activeDateChange.emit(this.activeDate)}}},{key:"toggleMode",value:function(e){var t=e||1;
1this.datepickerMode===this.maxMode&&1===t||this.datepickerMode===this.minMode&&-1===t||(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)+t],this.refreshView())}},{key:"getCustomClassForDate",value:function(e){var t=this;if(!this.customClass)return"";var n=this.customClass.find((function(n){return n.date.valueOf()===e.valueOf()&&n.mode===t.datepickerMode}),this);return void 0===n?"":n.clazz}},{key:"compareDateDisabled",value:function(e,t){if(void 0!==e&&void 0!==t)return"day"===e.mode&&this.compareHandlerDay?this.compareHandlerDay(e.date,t):"month"===e.mode&&this.compareHandlerMonth?this.compareHandlerMonth(e.date,t):"year"===e.mode&&this.compareHandlerYear?this.compareHandlerYear(e.date,t):void 0}},{key:"isDisabled",value:function(e){var t=this,n=!1;return this.dateDisabled&&this.dateDisabled.forEach((function(r){0===t.compareDateDisabled(r,e)&&(n=!0)})),this.dayDisabled&&(n=n||this.dayDisabled.indexOf(e.getDay())>-1),n||this.minDate&&this.compare(e,this.minDate)<0||this.maxDate&&this.compare(e,this.maxDate)>0}}])}(),Gn=_createClass2((function e(){_classCallCheck2(this,e),this.locale="en",this.datepickerMode="day",this.startingDay=0,this.yearRange=20,this.minMode="day",this.maxMode="year",this.showWeeks=!0,this.formatDay="DD",this.formatMonth="MMMM",this.formatYear="YYYY",this.formatDayHeader="dd",this.formatDayTitle="MMMM YYYY",this.formatMonthTitle="YYYY",this.onlyCurrentMonth=!1,this.monthColLimit=3,this.yearColLimit=5,this.shortcutPropagation=!1})),Xn=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.datepickerMode="day",this.showWeeks=!0,this.selectionDone=new r.EventEmitter(void 0),this.activeDateChange=new r.EventEmitter(void 0),this.onChange=Function.prototype,this.onTouched=Function.prototype,this._now=new Date,this.config=t,this.configureOptions()}),[{key:"activeDate",get:function(){return this._activeDate||this._now},set:function(e){this._activeDate=e}},{key:"configureOptions",value:function(){Object.assign(this,this.config)}},{key:"onUpdate",value:function(e){this.activeDate=e,this.onChange(e)}},{key:"onSelectionDone",value:function(e){this.selectionDone.emit(e)}},{key:"onActiveDateChange",value:function(e){this.activeDateChange.emit(e)}},{key:"writeValue",value:function(e){if(0!==this._datePicker.compare(e,this._activeDate))return e&&e instanceof Date?(this.activeDate=e,void this._datePicker.select(e,!1)):void(this.activeDate=e?new Date(e):void 0)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}}])}(),Jn=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.labels=[],this.rows=[],this.weekNumbers=[],this.datePicker=t}),[{key:"isBs4",get:function(){return!Object(en.d)()}},{key:"ngOnInit",value:function(){var e=this;this.datePicker.stepDay={months:1},this.datePicker.setRefreshViewHandler((function(){var t=this.activeDate.getFullYear(),n=this.activeDate.getMonth(),r=new Date(t,n,1),i=this.startingDay-r.getDay(),o=i>0?7-i:-i,a=new Date(r.getTime());o>0&&a.setDate(1-o);for(var s=e.getDates(a,42),l=[],u=0;u<42;u++){var c=this.createDateObject(s[u],this.formatDay);c.secondary=s[u].getMonth()!==n,c.uid=this.uniqueId+"-"+u,l[u]=c}e.labels=[];for(var h=0;h<7;h++)e.labels[h]={},e.labels[h].abbr=this.dateFilter(l[h].date,this.formatDayHeader),e.labels[h].full=this.dateFilter(l[h].date,"EEEE");if(e.title=this.dateFilter(this.activeDate,this.formatDayTitle),e.rows=this.split(l,7),this.showWeeks){e.weekNumbers=[];for(var d=(11-this.startingDay)%7,f=e.rows.length,p=0;p<f;p++)e.weekNumbers.push(e.getISO8601WeekNumber(e.rows[p][d].date))}}),"day"),this.datePicker.setCompareHandler((function(e,t){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return n.getTime()-r.getTime()}),"day"),this.datePicker.refreshView()}},{key:"getDates",value:function(e,t){for(var n,r=new Array(t),i=new Date(e.getTime()),o=0;o<t;)n=new Date(i.getTime()),n=this.datePicker.fixTimeZone(n),r[o++]=n,i=new Date(n.getFullYear(),n.getMonth(),n.getDate()+1);return r}},{key:"getISO8601WeekNumber",value:function(e){var t=new Date(e.getTime());t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t.getTime())/864e5)/7)+1}}])}(),Zn=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.rows=[],this.datePicker=t}),[{key:"isBs4",get:function(){return!Object(en.d)()}},{key:"ngOnInit",value:function(){var e=this;this.datePicker.stepMonth={years:1},this.datePicker.setRefreshViewHandler((function(){for(var t,n=new Array(12),r=this.activeDate.getFullYear(),i=0;i<12;
1i++)t=new Date(r,i,1),t=this.fixTimeZone(t),n[i]=this.createDateObject(t,this.formatMonth),n[i].uid=this.uniqueId+"-"+i;e.title=this.dateFilter(this.activeDate,this.formatMonthTitle),e.rows=this.split(n,e.datePicker.monthColLimit)}),"month"),this.datePicker.setCompareHandler((function(e,t){var n=new Date(e.getFullYear(),e.getMonth()),r=new Date(t.getFullYear(),t.getMonth());return n.getTime()-r.getTime()}),"month"),this.datePicker.refreshView()}}])}(),$n=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.rows=[],this.datePicker=t}),[{key:"isBs4",get:function(){return!Object(en.d)()}},{key:"ngOnInit",value:function(){var e=this;this.datePicker.stepYear={years:this.datePicker.yearRange},this.datePicker.setRefreshViewHandler((function(){for(var t,n=new Array(this.yearRange),r=e.getStartingYear(this.activeDate.getFullYear()),i=0;i<this.yearRange;i++)t=new Date(r+i,0,1),t=this.fixTimeZone(t),n[i]=this.createDateObject(t,this.formatYear),n[i].uid=this.uniqueId+"-"+i;e.title=[n[0].label,n[this.yearRange-1].label].join(" - "),e.rows=this.split(n,e.datePicker.yearColLimit)}),"year"),this.datePicker.setCompareHandler((function(e,t){return e.getFullYear()-t.getFullYear()}),"year"),this.datePicker.refreshView()}},{key:"getStartingYear",value:function(e){return(e-1)/this.datePicker.yearRange*this.datePicker.yearRange+1}}])}(),er=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[Gn]}}}])}()},itXk:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("z+Ro"),i=n("DH7j"),o=n("l7GE"),a=n("ZUHj"),s=n("yCtX"),l={};function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=null,a=null;return Object(r.a)(t[t.length-1])&&(a=t.pop()),"function"==typeof t[t.length-1]&&(o=t.pop()),1===t.length&&Object(i.a)(t[0])&&(t=t[0]),Object(s.a)(t,a).lift(new c(o))}var c=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.resultSelector=t}),[{key:"call",value:function(e,t){return t.subscribe(new h(e,this.resultSelector))}}])}(),h=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return _inherits2(t,e),_createClass2(t,[{key:"_next",value:function(e){this.values.push(l),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(Object(a.a)(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]===l?--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)}}])}(o.a)},"j+ll":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("sKXY"),i=n("5+tZ"),o=n("AytR"),a=n("3fkT"),s=function(){return _createClass2((function e(t,n,i,o,a,s){_classCallCheck2(this,e),this.store=t,this.authService=n,this.userService=i,this.bsModalService=o,this.router=a,this.activatedRoute=s,this.OrderStatus=r.c,this.subscriptions=[]}),[{key:"hasActiveOrder",get:function(){return this.dashboardData&&this.dashboardData.orders&&this.dashboardData.orders.length>0}},{key:"ngOnInit",value:function(){var e=this;this.subscriptions.push(this.authService.user$.pipe(Object(i.a)((function(t){return e.user=t,e.userService.getDashboard(t.profile.id)}))).subscribe((function(t){e.dashboardData=t,e.openModal()})))}},{key:"openModal",value:function(){var e=this;this.hasActiveOrder&&this.bsModalService.show(a.mb,{initialState:{title:"Previous application redirect",description:"Your account contains incomplete orders. Do you want to continue your last application?"}}).content.done.subscribe((function(t){"accept"===t&&e.router.navigate(["/order",e.dashboardData.orders[0].id])}))}},{key:"startNew",value:function(){this.router.navigate(["/order"])}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))}},{key:"changePassword",value:function(){this.router.navigateByUrl("".concat(o.a.authConfig.authorityEndpoint,"/change-password?redirectUri=").concat(window.location.href))}}])}()},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var r=n("HDdC"),i=n("quSY");function o(e,t){return new r.a((function(n){var r=new i.a,o=0;return r.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},jcJX:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=_createClass2((function e(){_classCallCheck2(this,e)}))},jtHE:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("XNiG"),i=n("qgXg"),o=n("quSY"),a=n("pxpQ"),s=n("9ppp"),l=n("Ylt2"),u=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,i=arguments.length>2?arguments[2]:void 0;return _classCallCheck2(this,t),(e=_callSuper(this,t)).scheduler=i,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=n<1?1:n,e._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return _inherits2(t,e),_createClass2(t,[{key:"nextInfiniteTimeWindow",value:function(e){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),_superPropGet(t,"next",this,3)([e])}},{key:"nextTimeWindow",value:function(e){this._events.push(new c(this._getNow(),e)),this._trimBufferThenGetEvents(),_superPropGet(t,"next",this,3)([e])}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,u=r.length;if(this.closed)throw new s.a;if(this.isStopped||this.hasError?t=o.a.EMPTY:(this.observers.push(e),t=new l.a(this,e)),i&&e.add(e=new a.a(e,i)),n)for(var c=0;c<u&&!e.closed;c++)e.next(r[c]);else for(var h=0;h<u&&!e.closed;h++)e.next(r[h].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t}},{key:"_getNow",value:function(){return(this.scheduler||i.a).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(e-r[o].time<n);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&r.splice(0,o),r}}])}(r.a),c=_createClass2((function e(t,n){_classCallCheck2(this,e),this.time=t,this.value=n}))},jvCn:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return l}));var r=n("8Y7J"),i=(n("7g+E"),n("SVse")),o=r["\u0275crt"]({encapsulation:0,styles:['.la-ball-8bits[_ngcontent-%COMP%], .la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-8bits[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:12px;height:12px}.la-ball-8bits.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:4px;height:4px;border-radius:0;opacity:0;transform:translate(100%,100%);-webkit-animation:1s infinite ball-8bits;animation:1s infinite ball-8bits}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.9375s;animation-delay:-.9375s;top:-100%;left:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.875s;animation-delay:-.875s;top:-100%;left:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8125s;animation-delay:-.8125s;top:-66.6666666667%;
1left:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.75s;animation-delay:-.75s;top:-33.3333333333%;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.6875s;animation-delay:-.6875s;top:0;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.625s;animation-delay:-.625s;top:33.3333333333%;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.5625s;animation-delay:-.5625s;top:66.6666666667%;left:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-.5s;animation-delay:-.5s;top:100%;left:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-.4375s;animation-delay:-.4375s;top:100%;left:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-.375s;animation-delay:-.375s;top:100%;left:-33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11){-webkit-animation-delay:-.3125s;animation-delay:-.3125s;top:66.6666666667%;left:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12){-webkit-animation-delay:-.25s;animation-delay:-.25s;top:33.3333333333%;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(13){-webkit-animation-delay:-.1875s;animation-delay:-.1875s;top:0;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(14){-webkit-animation-delay:-.125s;animation-delay:-.125s;top:-33.3333333333%;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(15){-webkit-animation-delay:-.0625s;animation-delay:-.0625s;top:-66.6666666667%;left:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(16){-webkit-animation-delay:0s;animation-delay:0s;top:-100%;left:-33.3333333333%}.la-ball-8bits.la-sm[_ngcontent-%COMP%]{width:6px;height:6px}.la-ball-8bits.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:2px}.la-ball-8bits.la-2x[_ngcontent-%COMP%]{width:24px;height:24px}.la-ball-8bits.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-8bits.la-3x[_ngcontent-%COMP%]{width:36px;height:36px}.la-ball-8bits.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:12px}@-webkit-keyframes ball-8bits{0%,50%{opacity:1}51%{opacity:0}}@keyframes ball-8bits{0%,50%{opacity:1}51%{opacity:0}}.la-ball-atom[_ngcontent-%COMP%], .la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-atom[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-atom.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){position:absolute;top:50%;left:50%;z-index:1;width:60%;height:60%;background:#aaa;border-radius:100%;transform:translate(-50%,-50%);-webkit-animation:4.5s linear infinite ball-atom-shrink;animation:4.5s linear infinite ball-atom-shrink}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){position:absolute;left:0;z-index:0;width:100%;height:100%;background:0 0;-webkit-animation:1.5s steps(2,end) infinite ball-atom-zindex;animation:1.5s steps(2,end) infinite ball-atom-zindex}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{position:absolute;top:0;left:0;width:10px;height:10px;margin-top:-5px;margin-left:-5px;content:"";background:currentColor;border-radius:50%;opacity:.75;-webkit-animation:1.5s infinite ball-atom-position,1.5s infinite ball-atom-size;animation:1.5s infinite ball-atom-position,1.5s infinite ball-atom-size}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.75s;animation-delay:.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2):before{-webkit-animation-delay:0s,-1.125s;animation-delay:0s,-1.125s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){transform:rotate(120deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3):before{-webkit-animation-delay:-1s,-.75s;animation-delay:-1s,-.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){transform:rotate(240deg);-webkit-animation-delay:.25s;animation-delay:.25s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4):before{-webkit-animation-delay:-.5s,-125ms;animation-delay:-.5s,-125ms}.la-ball-atom.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-atom.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-atom.la-2x[_ngcontent-%COMP%]{width:64px;
1height:64px}.la-ball-atom.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-atom.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-atom.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-atom-position{50%{top:100%;left:100%}}@keyframes ball-atom-position{50%{top:100%;left:100%}}@-webkit-keyframes ball-atom-size{50%{transform:scale(.5,.5)}}@keyframes ball-atom-size{50%{transform:scale(.5,.5)}}@-webkit-keyframes ball-atom-zindex{50%{z-index:10}}@keyframes ball-atom-zindex{50%{z-index:10}}@-webkit-keyframes ball-atom-shrink{50%{transform:translate(-50%,-50%) scale(.8,.8)}}@keyframes ball-atom-shrink{50%{transform:translate(-50%,-50%) scale(.8,.8)}}.la-ball-beat[_ngcontent-%COMP%], .la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-beat[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:.7s linear -.15s infinite ball-beat;animation:.7s linear -.15s infinite ball-beat}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-beat.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-beat.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-beat.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-beat{50%{opacity:.2;transform:scale(.75)}100%{opacity:1;transform:scale(1)}}@keyframes ball-beat{50%{opacity:.2;transform:scale(.75)}100%{opacity:1;transform:scale(1)}}.la-ball-circus[_ngcontent-%COMP%], .la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-circus[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:16px;height:16px}.la-ball-circus.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:-100%;display:block;width:100%;height:100%;border-radius:100%;opacity:.5;-webkit-animation:2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-position,2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-size;animation:2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-position,2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-size}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:0s,-.5s;animation-delay:0s,-.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.5s,-1s;animation-delay:-.5s,-1s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s,-1.5s;animation-delay:-1s,-1.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s,-2s;animation-delay:-1.5s,-2s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2s,-2.5s;animation-delay:-2s,-2.5s}.la-ball-circus.la-sm[_ngcontent-%COMP%], .la-ball-circus.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-circus.la-2x[_ngcontent-%COMP%], .la-ball-circus.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-circus.la-3x[_ngcontent-%COMP%], .la-ball-circus.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:48px;height:48px}@-webkit-keyframes ball-circus-position{50%{left:100%}}@keyframes ball-circus-position{50%{left:100%}}@-webkit-keyframes ball-circus-size{50%{transform:scale(.3,.3)}}@keyframes ball-circus-size{50%{transform:scale(.3,.3)}}
1.la-ball-climbing-dot[_ngcontent-%COMP%], .la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-climbing-dot[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:42px;height:32px}.la-ball-climbing-dot.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){position:absolute;bottom:32%;left:18%;width:14px;height:14px;border-radius:100%;transform-origin:center bottom;-webkit-animation:.6s ease-in-out infinite ball-climbing-dot-jump;animation:.6s ease-in-out infinite ball-climbing-dot-jump}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){position:absolute;top:0;right:0;width:14px;height:2px;border-radius:0;transform:translate(60%,0);-webkit-animation:1.8s linear infinite ball-climbing-dot-steps;animation:1.8s linear infinite ball-climbing-dot-steps}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):nth-child(2){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):nth-child(3){-webkit-animation-delay:-.6s;animation-delay:-.6s}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){width:6px;height:6px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){width:6px;height:1px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%]{width:84px;height:64px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){width:28px;height:28px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){width:28px;height:4px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%]{width:126px;height:96px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){width:42px;height:42px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){width:42px;height:6px}@-webkit-keyframes ball-climbing-dot-jump{0%,100%{transform:scale(1,.7)}20%,80%,90%{transform:scale(.7,1.2)}40%,46%{transform:scale(1,1)}50%{bottom:125%}}@keyframes ball-climbing-dot-jump{0%,100%{transform:scale(1,.7)}20%,80%,90%{transform:scale(.7,1.2)}40%,46%{transform:scale(1,1)}50%{bottom:125%}}@-webkit-keyframes ball-climbing-dot-steps{0%{top:0;right:0;opacity:0}
150%{opacity:1}100%{top:100%;right:100%;opacity:0}}@keyframes ball-climbing-dot-steps{0%{top:0;right:0;opacity:0}50%{opacity:1}100%{top:100%;right:100%;opacity:0}}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%], .la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-clip-rotate-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;position:absolute;top:50%;left:50%;background:0 0;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-clip-rotate-multiple-rotate;animation:1s ease-in-out infinite ball-clip-rotate-multiple-rotate}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;width:32px;height:32px;border-right-color:transparent;border-left-color:transparent}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:16px;height:16px;border-top-color:transparent;border-bottom-color:transparent;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-direction:reverse;animation-direction:reverse}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:16px;height:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:8px;height:8px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:64px;height:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:32px;height:32px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:96px;height:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:48px;height:48px}@-webkit-keyframes ball-clip-rotate-multiple-rotate{0%{transform:translate(-50%,-50%) rotate(0)}50%{transform:translate(-50%,-50%) rotate(180deg)}100%{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes ball-clip-rotate-multiple-rotate{0%{transform:translate(-50%,-50%) rotate(0)}50%{transform:translate(-50%,-50%) rotate(180deg)}100%{transform:translate(-50%,-50%) rotate(360deg)}}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%], .la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-clip-rotate-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;border-radius:100%}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;width:32px;height:32px;background:0 0;border-style:solid;border-width:2px;border-right-color:transparent;border-left-color:transparent;-webkit-animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-rotate;animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-rotate}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:16px;height:16px;-webkit-animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-scale;animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-scale}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:16px;height:16px;border-width:1px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:8px;height:8px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%]{width:64px;
1height:64px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:64px;height:64px;border-width:4px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:32px;height:32px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:96px;height:96px;border-width:6px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:48px;height:48px}@-webkit-keyframes ball-clip-rotate-pulse-rotate{0%{transform:translate(-50%,-50%) rotate(0)}50%{transform:translate(-50%,-50%) rotate(180deg)}100%{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes ball-clip-rotate-pulse-rotate{0%{transform:translate(-50%,-50%) rotate(0)}50%{transform:translate(-50%,-50%) rotate(180deg)}100%{transform:translate(-50%,-50%) rotate(360deg)}}@-webkit-keyframes ball-clip-rotate-pulse-scale{0%,100%{opacity:1;transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;transform:translate(-50%,-50%) scale(.15)}}@keyframes ball-clip-rotate-pulse-scale{0%,100%{opacity:1;transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;transform:translate(-50%,-50%) scale(.15)}}.la-ball-clip-rotate[_ngcontent-%COMP%], .la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-clip-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:32px;height:32px;background:0 0;border-bottom-color:transparent;border-radius:100%;-webkit-animation:.75s linear infinite ball-clip-rotate;animation:.75s linear infinite ball-clip-rotate}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-clip-rotate{0%{transform:rotate(0)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}@keyframes ball-clip-rotate{0%{transform:rotate(0)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.la-ball-elastic-dots[_ngcontent-%COMP%], .la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-elastic-dots[_ngcontent-%COMP%]{display:block;color:#fff;width:120px;height:10px;font-size:0;text-align:center}.la-ball-elastic-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:none;background-color:currentColor;border:0 solid currentColor;display:inline-block;width:10px;height:10px;white-space:nowrap;border-radius:100%;-webkit-animation:1s infinite ball-elastic-dots-anim;animation:1s infinite ball-elastic-dots-anim}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%]{width:60px;height:4px}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%]{width:240px;height:20px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%]{width:360px;height:30px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-elastic-dots-anim{0%,100%{margin:0;transform:scale(1)}50%{margin:0 5%;transform:scale(.65)}}@keyframes ball-elastic-dots-anim{0%,100%{margin:0;transform:scale(1)}50%{margin:0 5%;transform:scale(.65)}}.la-ball-fall[_ngcontent-%COMP%], .la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-fall[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-fall.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;opacity:0;-webkit-animation:1s ease-in-out infinite ball-fall;animation:1s ease-in-out infinite ball-fall}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-fall.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-fall.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-fall.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-fall.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-fall.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-fall.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-fall{0%{opacity:0;transform:translateY(-145%)}10%,90%{opacity:.5}20%,80%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(145%)}}@keyframes ball-fall{0%{opacity:0;transform:translateY(-145%)}10%,90%{opacity:.5}20%,80%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(145%)}}.la-ball-fussion[_ngcontent-%COMP%], .la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-fussion[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:8px;height:8px}.la-ball-fussion.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:12px;height:12px;border-radius:100%;transform:translate(-50%,-50%);-webkit-animation:1s infinite ball-fussion-ball1;animation:1s infinite ball-fussion-ball1}.la-ball-fussion[_ngcontent-%COMP%] >
1 div[_ngcontent-%COMP%]:nth-child(1){top:0;left:50%;z-index:1}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:50%;left:100%;z-index:2;-webkit-animation-name:ball-fussion-ball2;animation-name:ball-fussion-ball2}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:100%;left:50%;z-index:1;-webkit-animation-name:ball-fussion-ball3;animation-name:ball-fussion-ball3}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:0;z-index:2;-webkit-animation-name:ball-fussion-ball4;animation-name:ball-fussion-ball4}.la-ball-fussion.la-sm[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-fussion.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px}.la-ball-fussion.la-2x[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-fussion.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-ball-fussion.la-3x[_ngcontent-%COMP%]{width:24px;height:24px}.la-ball-fussion.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px}@-webkit-keyframes ball-fussion-ball1{0%{opacity:.35}50%{top:-100%;left:200%;opacity:1}100%{top:50%;left:100%;z-index:2;opacity:.35}}@keyframes ball-fussion-ball1{0%{opacity:.35}50%{top:-100%;left:200%;opacity:1}100%{top:50%;left:100%;z-index:2;opacity:.35}}@-webkit-keyframes ball-fussion-ball2{0%{opacity:.35}50%{top:200%;left:200%;opacity:1}100%{top:100%;left:50%;z-index:1;opacity:.35}}@keyframes ball-fussion-ball2{0%{opacity:.35}50%{top:200%;left:200%;opacity:1}100%{top:100%;left:50%;z-index:1;opacity:.35}}@-webkit-keyframes ball-fussion-ball3{0%{opacity:.35}50%{top:200%;left:-100%;opacity:1}100%{top:50%;left:0;z-index:2;opacity:.35}}@keyframes ball-fussion-ball3{0%{opacity:.35}50%{top:200%;left:-100%;opacity:1}100%{top:50%;left:0;z-index:2;opacity:.35}}@-webkit-keyframes ball-fussion-ball4{0%{opacity:.35}50%{top:-100%;left:-100%;opacity:1}100%{top:0;left:50%;z-index:1;opacity:.35}}@keyframes ball-fussion-ball4{0%{opacity:.35}50%{top:-100%;left:-100%;opacity:1}100%{top:0;left:50%;z-index:1;opacity:.35}}.la-ball-grid-beat[_ngcontent-%COMP%], .la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-grid-beat[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:36px;height:36px}.la-ball-grid-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:8px;height:8px;margin:2px;border-radius:100%;-webkit-animation-name:ball-grid-beat;animation-name:ball-grid-beat;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-duration:.65s;animation-duration:.65s;
1-webkit-animation-delay:.03s;animation-delay:.03s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:1.02s;animation-duration:1.02s;-webkit-animation-delay:.09s;animation-delay:.09s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:1.06s;animation-duration:1.06s;-webkit-animation-delay:-.69s;animation-delay:-.69s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-delay:-.41s;animation-delay:-.41s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:1.6s;animation-duration:1.6s;-webkit-animation-delay:.04s;animation-delay:.04s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-duration:.84s;animation-duration:.84s;-webkit-animation-delay:.07s;animation-delay:.07s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-duration:.68s;animation-duration:.68s;-webkit-animation-delay:-.66s;animation-delay:-.66s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-duration:.93s;animation-duration:.93s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-duration:1.24s;animation-duration:1.24s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%]{width:18px;height:18px}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%]{width:72px;height:72px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin:4px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%]{width:108px;height:108px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin:6px}@-webkit-keyframes ball-grid-beat{0%,100%{opacity:1}50%{opacity:.35}}@keyframes ball-grid-beat{0%,100%{opacity:1}50%{opacity:.35}}.la-ball-grid-pulse[_ngcontent-%COMP%], .la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-grid-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:36px;height:36px}.la-ball-grid-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:8px;height:8px;margin:2px;border-radius:100%;-webkit-animation-name:ball-grid-pulse;animation-name:ball-grid-pulse;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-duration:.65s;animation-duration:.65s;
1-webkit-animation-delay:.03s;animation-delay:.03s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:1.02s;animation-duration:1.02s;-webkit-animation-delay:.09s;animation-delay:.09s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:1.06s;animation-duration:1.06s;-webkit-animation-delay:-.69s;animation-delay:-.69s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-delay:-.41s;animation-delay:-.41s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:1.6s;animation-duration:1.6s;-webkit-animation-delay:.04s;animation-delay:.04s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-duration:.84s;animation-duration:.84s;-webkit-animation-delay:.07s;animation-delay:.07s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-duration:.68s;animation-duration:.68s;-webkit-animation-delay:-.66s;animation-delay:-.66s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-duration:.93s;animation-duration:.93s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-duration:1.24s;animation-duration:1.24s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%]{width:18px;height:18px}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%]{width:72px;height:72px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin:4px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%]{width:108px;height:108px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin:6px}@-webkit-keyframes ball-grid-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.45)}}@keyframes ball-grid-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.45)}}.la-ball-newton-cradle[_ngcontent-%COMP%], .la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-newton-cradle[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:10px}.la-ball-newton-cradle.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;border-radius:100%}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{transform:translateX(0);-webkit-animation:1s ease-out infinite ball-newton-cradle-left;animation:1s ease-out infinite ball-newton-cradle-left}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{transform:translateX(0);-webkit-animation:1s ease-out infinite ball-newton-cradle-right;animation:1s ease-out infinite ball-newton-cradle-right}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%]{width:20px;height:4px}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%]{width:80px;height:20px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%]{width:120px;height:30px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-newton-cradle-left{25%{transform:translateX(-100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{transform:translateX(0)}}@keyframes ball-newton-cradle-left{25%{transform:translateX(-100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{transform:translateX(0)}}@-webkit-keyframes ball-newton-cradle-right{100%,50%{transform:translateX(0)}75%{transform:translateX(100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes ball-newton-cradle-right{100%,50%{transform:translateX(0)}75%{transform:translateX(100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.la-ball-pulse-rise[_ngcontent-%COMP%], .la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse-rise[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:70px;height:14px}.la-ball-pulse-rise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:2px;border-radius:100%;-webkit-animation:1s cubic-bezier(.15,.36,.9,.6) infinite ball-pulse-rise-even;animation:1s cubic-bezier(.15,.36,.9,.6) infinite ball-pulse-rise-even}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-name:ball-pulse-rise-odd;animation-name:ball-pulse-rise-odd}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%]{width:34px;height:6px}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%]{width:140px;height:28px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:4px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%]{width:210px;height:42px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:6px}@-webkit-keyframes ball-pulse-rise-even{0%{opacity:1;transform:scale(1.1)}25%{transform:translateY(-200%)}50%{opacity:.35;transform:scale(.3)}75%{transform:translateY(200%)}100%{opacity:1;transform:translateY(0);transform:scale(1)}}@keyframes ball-pulse-rise-even{0%{opacity:1;transform:scale(1.1)}25%{transform:translateY(-200%)}50%{opacity:.35;transform:scale(.3)}75%{transform:translateY(200%)}100%{opacity:1;transform:translateY(0);transform:scale(1)}}@-webkit-keyframes ball-pulse-rise-odd{0%{opacity:.35;transform:scale(.4)}25%{transform:translateY(200%)}50%{opacity:1;transform:scale(1.1)}75%{transform:translateY(-200%)}100%{opacity:.35;transform:translateY(0);transform:scale(.75)}}@keyframes ball-pulse-rise-odd{0%{opacity:.35;transform:scale(.4)}25%{transform:translateY(200%)}50%{opacity:1;transform:scale(1.1)}75%{transform:translateY(-200%)}100%{opacity:.35;transform:translateY(0);transform:scale(.75)}}.la-ball-pulse-sync[_ngcontent-%COMP%], .la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse-sync[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-pulse-sync.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:.6s ease-in-out infinite ball-pulse-sync;animation:.6s ease-in-out infinite ball-pulse-sync}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.14s;animation-delay:-.14s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.07s;animation-delay:-.07s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-pulse-sync{33%{transform:translateY(100%)}66%{transform:translateY(-100%)}100%{transform:translateY(0)}}@keyframes ball-pulse-sync{33%{transform:translateY(100%)}66%{transform:translateY(-100%)}100%{transform:translateY(0)}}.la-ball-pulse[_ngcontent-%COMP%], .la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:1s infinite ball-pulse;animation:1s infinite ball-pulse}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-pulse.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-pulse.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-pulse.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-pulse{0%,100%,60%{opacity:1;transform:scale(1)}30%{opacity:.1;transform:scale(.01)}}@keyframes ball-pulse{0%,100%,60%{opacity:1;transform:scale(1)}30%{opacity:.1;transform:scale(.01)}}.la-ball-rotate[_ngcontent-%COMP%], .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:10px;height:10px}.la-ball-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;border-radius:100%;-webkit-animation:1s cubic-bezier(.7,-.13,.22,.86) infinite ball-rotate-animation;animation:1s cubic-bezier(.7,-.13,.22,.86) infinite ball-rotate-animation}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{position:absolute;width:inherit;height:inherit;margin:inherit;content:"";background:currentColor;border-radius:inherit;opacity:.8}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:0;left:-150%}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{top:0;left:150%}.la-ball-rotate.la-sm[_ngcontent-%COMP%], .la-ball-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-rotate.la-2x[_ngcontent-%COMP%], .la-ball-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-rotate.la-3x[_ngcontent-%COMP%], .la-ball-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-rotate-animation{0%{transform:rotate(0)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}@keyframes ball-rotate-animation{0%{transform:rotate(0)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.la-ball-running-dots[_ngcontent-%COMP%], .la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-running-dots[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:10px;height:10px}.la-ball-running-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:10px;height:10px;margin-left:-25px;border-radius:100%;-webkit-animation:2s linear infinite ball-running-dots-animate;animation:2s linear infinite ball-running-dots-animate}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.
16s;animation-delay:-1.6s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-2.4s;animation-delay:-2.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2.8s;animation-delay:-2.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-3.2s;animation-delay:-3.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-3.6s;animation-delay:-3.6s}.la-ball-running-dots.la-sm[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-running-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-left:-12px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:-50px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%]{width:30px;height:30px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-left:-75px}@-webkit-keyframes ball-running-dots-animate{0%,100%{width:100%;height:100%;transform:translateY(0) translateX(500%)}80%{transform:translateY(0) translateX(0)}85%{width:100%;height:100%;transform:translateY(-125%) translateX(0)}90%{width:200%;height:75%}95%{width:100%;height:100%;transform:translateY(-100%) translateX(500%)}}@keyframes ball-running-dots-animate{0%,100%{width:100%;height:100%;transform:translateY(0) translateX(500%)}80%{transform:translateY(0) translateX(0)}85%{width:100%;height:100%;transform:translateY(-125%) translateX(0)}90%{width:200%;height:75%}95%{width:100%;height:100%;transform:translateY(-100%) translateX(500%)}}.la-ball-scale-multiple[_ngcontent-%COMP%], .la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:32px;height:32px;border-radius:100%;opacity:0;-webkit-animation:1s linear infinite ball-scale-multiple;animation:1s linear infinite ball-scale-multiple}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.2s;animation-delay:.2s}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.4s;animation-delay:.4s}.la-ball-scale-multiple.la-sm[_ngcontent-%COMP%], .la-ball-scale-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-multiple.la-2x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-multiple.la-3x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale-multiple{0%{opacity:0;transform:scale(0)}5%{opacity:.75}100%{opacity:0;transform:scale(1)}}@keyframes ball-scale-multiple{0%{opacity:0;transform:scale(0)}5%{opacity:.75}100%{opacity:0;transform:scale(1)}}.la-ball-scale-pulse[_ngcontent-%COMP%], .la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:32px;height:32px;border-radius:100%;opacity:.5;-webkit-animation:2s ease-in-out infinite ball-scale-pulse;animation:2s ease-in-out infinite ball-scale-pulse}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-1s;animation-delay:-1s}.la-ball-scale-pulse.la-sm[_ngcontent-%COMP%], .la-ball-scale-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-pulse.la-2x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;
1height:64px}.la-ball-scale-pulse.la-3x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale-pulse{0%,100%{transform:scale(0)}50%{transform:scale(1)}}@keyframes ball-scale-pulse{0%,100%{transform:scale(0)}50%{transform:scale(1)}}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%], .la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-ripple-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;position:absolute;top:0;left:0;width:32px;height:32px;background:0 0;border-radius:100%;opacity:0;-webkit-animation:1.25s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple-multiple;animation:1.25s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple-multiple}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.25s;animation-delay:.25s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.5s;animation-delay:.5s}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-scale-ripple-multiple{0%{opacity:1;transform:scale(.1)}70%{opacity:.5;transform:scale(1)}95%{opacity:0}}@keyframes ball-scale-ripple-multiple{0%{opacity:1;transform:scale(.1)}70%{opacity:.5;transform:scale(1)}95%{opacity:0}}.la-ball-scale-ripple[_ngcontent-%COMP%], .la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-ripple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-ripple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:32px;height:32px;background:0 0;border-radius:100%;opacity:0;-webkit-animation:1s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple;animation:1s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-scale-ripple{0%{opacity:1;transform:scale(.1)}70%{opacity:.65;transform:scale(1)}100%{opacity:0}}@keyframes ball-scale-ripple{0%{opacity:1;transform:scale(.1)}70%{opacity:.65;transform:scale(1)}100%{opacity:0}}.la-ball-scale[_ngcontent-%COMP%], .la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:32px;height:32px;border-radius:100%;opacity:0;-webkit-animation:1s ease-in-out infinite ball-scale;animation:1s ease-in-out infinite ball-scale}.la-ball-scale.la-sm[_ngcontent-%COMP%], .la-ball-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale.la-2x[_ngcontent-%COMP%], .la-ball-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;
1height:64px}.la-ball-scale.la-3x[_ngcontent-%COMP%], .la-ball-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale{0%{opacity:1;transform:scale(0)}100%{opacity:0;transform:scale(1)}}@keyframes ball-scale{0%{opacity:1;transform:scale(0)}100%{opacity:0;transform:scale(1)}}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite ball-spin-clockwise-fade-rotating-rotate;animation:6s linear infinite ball-spin-clockwise-fade-rotating-rotate}.la-ball-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-clockwise-fade-rotating;animation:1s linear infinite ball-spin-clockwise-fade-rotating}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise-fade-rotating-rotate{100%{transform:rotate(-360deg)}}@keyframes ball-spin-clockwise-fade-rotating-rotate{100%{transform:rotate(-360deg)}}@-webkit-keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;transform:scale(.5)}100%{opacity:1;transform:scale(1)}}@keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;transform:scale(.5)}100%{opacity:1;transform:scale(1)}}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-clockwise-fade;animation:1s linear infinite ball-spin-clockwise-fade}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] >
1 div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise-fade{50%{opacity:.25;transform:scale(.5)}100%{opacity:1;transform:scale(1)}}@keyframes ball-spin-clockwise-fade{50%{opacity:.25;transform:scale(.5)}100%{opacity:1;transform:scale(1)}}.la-ball-spin-clockwise[_ngcontent-%COMP%], .la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin-clockwise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-spin-clockwise;animation:1s ease-in-out infinite ball-spin-clockwise}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%]{width:64px;
1height:64px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise{0%,100%{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}@keyframes ball-spin-clockwise{0%,100%{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}.la-ball-spin-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite ball-spin-fade-rotate;animation:6s linear infinite ball-spin-fade-rotate}.la-ball-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-fade;animation:1s linear infinite ball-spin-fade}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-fade-rotate{100%{transform:rotate(360deg)}}@keyframes ball-spin-fade-rotate{100%{transform:rotate(360deg)}}.la-ball-spin-fade[_ngcontent-%COMP%], .la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-fade;animation:1s linear infinite ball-spin-fade}.la-ball-spin-fade[_ngcontent-%COMP%] >
1 div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-fade{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.5)}}@keyframes ball-spin-fade{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.5)}}.la-ball-spin-rotate[_ngcontent-%COMP%], .la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:2s linear infinite ball-spin-rotate;animation:2s linear infinite ball-spin-rotate}.la-ball-spin-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;width:60%;height:60%;border-radius:100%;-webkit-animation:2s ease-in-out infinite ball-spin-bounce;animation:2s ease-in-out infinite ball-spin-bounce}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{top:auto;bottom:0;-webkit-animation-delay:-1s;animation-delay:-1s}.la-ball-spin-rotate.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-rotate.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-rotate.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-spin-rotate{100%{transform:rotate(360deg)}}@keyframes ball-spin-rotate{100%{transform:rotate(360deg)}}@-webkit-keyframes ball-spin-bounce{0%,100%{transform:scale(0)}50%{transform:scale(1)}}@keyframes ball-spin-bounce{0%,100%{transform:scale(0)}50%{transform:scale(1)}}.la-ball-spin[_ngcontent-%COMP%], .la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-spin;animation:1s ease-in-out infinite ball-spin}.la-ball-spin[_ngcontent-%COMP%] >
1 div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin{0%,100%{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}@keyframes ball-spin{0%,100%{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}.la-ball-square-clockwise-spin[_ngcontent-%COMP%], .la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-square-clockwise-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:26px;height:26px}.la-ball-square-clockwise-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-square-clockwise-spin;animation:1s ease-in-out infinite ball-square-clockwise-spin}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:0;left:0;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0;left:50%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:0;left:100%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:100%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:100%;left:100%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:100%;left:50%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:100%;left:0;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:50%;left:0;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%]{width:52px;height:52px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%]{width:78px;height:78px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px;margin-top:-18px;margin-left:-18px}@-webkit-keyframes ball-square-clockwise-spin{0%,100%,40%{transform:scale(.4)}70%{transform:scale(1)}}@keyframes ball-square-clockwise-spin{0%,100%,40%{transform:scale(.4)}70%{transform:scale(1)}}.la-ball-square-spin[_ngcontent-%COMP%], .la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-square-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:26px;height:26px}.la-ball-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-square-spin;animation:1s ease-in-out infinite ball-square-spin}.la-ball-square-spin[_ngcontent-%COMP%] >
1 div[_ngcontent-%COMP%]:nth-child(1){top:0;left:0;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0;left:50%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:0;left:100%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:100%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:100%;left:100%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:100%;left:50%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:100%;left:0;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:50%;left:0;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-square-spin.la-sm[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-square-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%]{width:52px;height:52px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%]{width:78px;height:78px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px;margin-top:-18px;margin-left:-18px}@-webkit-keyframes ball-square-spin{0%,100%,40%{transform:scale(.4)}70%{transform:scale(1)}}@keyframes ball-square-spin{0%,100%,40%{transform:scale(.4)}70%{transform:scale(1)}}.la-ball-triangle-path[_ngcontent-%COMP%], .la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-triangle-path[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-triangle-path.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:10px;height:10px;border-radius:100%}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation:2s ease-in-out infinite ball-triangle-path-ball-one;animation:2s ease-in-out infinite ball-triangle-path-ball-one}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation:2s ease-in-out infinite ball-triangle-path-ball-two;animation:2s ease-in-out infinite ball-triangle-path-ball-two}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation:2s ease-in-out infinite ball-triangle-path-ball-tree;animation:2s ease-in-out infinite ball-triangle-path-ball-tree}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-triangle-path-ball-one{0%{transform:translate(0,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;transform:translate(110%,0)}66%{opacity:1;transform:translate(220%,220%)}100%{opacity:1;transform:translate(0,220%)}}@keyframes ball-triangle-path-ball-one{0%{transform:translate(0,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;transform:translate(110%,0)}66%{opacity:1;transform:translate(220%,220%)}100%{opacity:1;transform:translate(0,220%)}}@-webkit-keyframes ball-triangle-path-ball-two{0%{transform:translate(110%,0)}17%,50%,83%{opacity:.25}33%{opacity:1;transform:translate(220%,220%)}66%{opacity:1;transform:translate(0,220%)}100%{opacity:1;transform:translate(110%,0)}}@keyframes ball-triangle-path-ball-two{0%{transform:translate(110%,0)}17%,50%,83%{opacity:.25}33%{opacity:1;transform:translate(220%,220%)}66%{opacity:1;transform:translate(0,220%)}100%{opacity:1;transform:translate(110%,0)}}@-webkit-keyframes ball-triangle-path-ball-tree{0%{transform:translate(220%,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;transform:translate(0,220%)}66%{opacity:1;transform:translate(110%,0)}100%{opacity:1;transform:translate(220%,220%)}}@keyframes ball-triangle-path-ball-tree{0%{transform:translate(220%,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;transform:translate(0,220%)}66%{opacity:1;transform:translate(110%,0)}100%{opacity:1;transform:translate(220%,220%)}}.la-ball-zig-zag-deflect[_ngcontent-%COMP%], .la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box}.la-ball-zig-zag-deflect[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;position:relative;width:32px;height:32px}.la-ball-zig-zag-deflect.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:10px;height:10px;margin-top:-5px;margin-left:-5px;border-radius:100%}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:1.5s linear infinite ball-zig-deflect;animation:1.5s linear infinite ball-zig-deflect}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:1.5s linear infinite ball-zag-deflect;animation:1.5s linear infinite ball-zag-deflect}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%]{width:64px;
1height:64px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-zig-deflect{17%,84%{transform:translate(-80%,-160%)}34%,67%{transform:translate(80%,-160%)}100%,50%{transform:translate(0,0)}}@keyframes ball-zig-deflect{17%,84%{transform:translate(-80%,-160%)}34%,67%{transform:translate(80%,-160%)}100%,50%{transform:translate(0,0)}}@-webkit-keyframes ball-zag-deflect{17%,84%{transform:translate(80%,160%)}34%,67%{transform:translate(-80%,160%)}100%,50%{transform:translate(0,0)}}@keyframes ball-zag-deflect{17%,84%{transform:translate(80%,160%)}34%,67%{transform:translate(-80%,160%)}100%,50%{transform:translate(0,0)}}.la-ball-zig-zag[_ngcontent-%COMP%], .la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box}.la-ball-zig-zag[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;position:relative;width:32px;height:32px}.la-ball-zig-zag.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:10px;height:10px;margin-top:-5px;margin-left:-5px;border-radius:100%}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:.7s linear infinite ball-zig-effect;animation:.7s linear infinite ball-zig-effect}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:.7s linear infinite ball-zag-effect;animation:.7s linear infinite ball-zag-effect}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-zig-effect{0%,100%{transform:translate(0,0)}33%{transform:translate(-75%,-150%)}66%{transform:translate(75%,-150%)}}@keyframes ball-zig-effect{0%,100%{transform:translate(0,0)}33%{transform:translate(-75%,-150%)}66%{transform:translate(75%,-150%)}}@-webkit-keyframes ball-zag-effect{0%,100%{transform:translate(0,0)}33%{transform:translate(75%,150%)}66%{transform:translate(-75%,150%)}}@keyframes ball-zag-effect{0%,100%{transform:translate(0,0)}33%{transform:translate(75%,150%)}66%{transform:translate(-75%,150%)}}.la-cog[_ngcontent-%COMP%], .la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-cog[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:31px;height:31px}.la-cog.la-dark[_ngcontent-%COMP%]{color:#333}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px dashed currentColor;width:100%;height:100%;background-color:transparent;border-radius:100%;-webkit-animation:4s linear infinite cog-rotate;animation:4s linear infinite cog-rotate}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";border:2px solid currentColor;border-radius:100%}.la-cog.la-sm[_ngcontent-%COMP%]{width:15px;height:15px}.la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:1px}.la-cog.la-2x[_ngcontent-%COMP%]{width:61px;height:61px}.la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:4px}.la-cog.la-3x[_ngcontent-%COMP%]{width:91px;height:91px}.la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:6px}
1@-webkit-keyframes cog-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes cog-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.la-cube-transition[_ngcontent-%COMP%], .la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-cube-transition[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-cube-transition.la-dark[_ngcontent-%COMP%]{color:#333}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:14px;height:14px;margin-top:-7px;margin-left:-7px;border-radius:0;-webkit-animation:1.6s ease-in-out infinite cube-transition;animation:1.6s ease-in-out infinite cube-transition}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-cube-transition.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-cube-transition.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-cube-transition.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-cube-transition.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:28px;height:28px;margin-top:-14px;margin-left:-14px}.la-cube-transition.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-cube-transition.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:42px;height:42px;margin-top:-21px;margin-left:-21px}@-webkit-keyframes cube-transition{25%{top:0;left:100%;transform:scale(.5) rotate(-90deg)}50%{top:100%;left:100%;transform:scale(1) rotate(-180deg)}75%{top:100%;left:0;transform:scale(.5) rotate(-270deg)}100%{top:0;left:0;transform:scale(1) rotate(-360deg)}}@keyframes cube-transition{25%{top:0;left:100%;transform:scale(.5) rotate(-90deg)}50%{top:100%;left:100%;transform:scale(1) rotate(-180deg)}75%{top:100%;left:0;transform:scale(.5) rotate(-270deg)}100%{top:0;left:0;transform:scale(1) rotate(-360deg)}}.la-fire[_ngcontent-%COMP%], .la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-fire[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-fire.la-dark[_ngcontent-%COMP%]{color:#333}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;bottom:0;left:50%;width:12px;height:12px;border-radius:2px;transform:translateY(0) translateX(-50%) rotate(45deg) scale(0);-webkit-animation:1.5s linear infinite fire-diamonds;animation:1.5s linear infinite fire-diamonds}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.85s;animation-delay:-.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.85s;animation-delay:-1.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-2.85s;animation-delay:-2.85s}.la-fire.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-fire.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px}.la-fire.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-fire.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px}.la-fire.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-fire.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px}@-webkit-keyframes fire-diamonds{0%{transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}100%{transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}@keyframes fire-diamonds{0%{transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}100%{transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}.la-line-scale-party[_ngcontent-%COMP%], .la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-party[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale-party.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation-name:line-scale-party;animation-name:line-scale-party;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-duration:.43s;animation-duration:.43s;-webkit-animation-delay:-.23s;animation-delay:-.23s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:.62s;animation-duration:.62s;-webkit-animation-delay:-.32s;animation-delay:-.32s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:.43s;animation-duration:.43s;-webkit-animation-delay:-.44s;animation-delay:-.44s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-delay:-.31s;animation-delay:-.31s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:.74s;animation-duration:.74s;-webkit-animation-delay:-.24s;animation-delay:-.24s}.la-line-scale-party.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-party.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-party.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-party.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-party.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-party.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-party{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.3)}}@keyframes line-scale-party{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.3)}}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%], .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale-pulse-out-rapid.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:.9s cubic-bezier(.11,.49,.38,.78) infinite line-scale-pulse-out-rapid;animation:.9s cubic-bezier(.11,.49,.38,.78) infinite line-scale-pulse-out-rapid}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.65s;animation-delay:-.65s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-pulse-out-rapid{0%,90%{transform:scaley(1)}80%{transform:scaley(.3)}}@keyframes line-scale-pulse-out-rapid{0%,90%{transform:scaley(1)}80%{transform:scaley(.3)}}.la-line-scale-pulse-out[_ngcontent-%COMP%], .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-pulse-out[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale-pulse-out.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:.9s cubic-bezier(.85,.25,.37,.85) infinite line-scale-pulse-out;animation:.9s cubic-bezier(.85,.25,.37,.85) infinite line-scale-pulse-out}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.7s;animation-delay:-.7s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-pulse-out{0%,100%{transform:scaley(1)}50%{transform:scaley(.3)}}@keyframes line-scale-pulse-out{0%,100%{transform:scaley(1)}50%{transform:scaley(.3)}}.la-line-scale[_ngcontent-%COMP%], .la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:1.2s infinite line-scale;animation:1.2s infinite line-scale}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s;animation-delay:-1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-line-scale.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale{0%,100%,40%{transform:scaleY(.4)}20%{transform:scaleY(1)}}@keyframes line-scale{0%,100%,40%{transform:scaleY(.4)}20%{transform:scaleY(1)}}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite line-spin-clockwise-fade-rotating-rotate;animation:6s linear infinite line-spin-clockwise-fade-rotating-rotate}.la-line-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-clockwise-fade-rotating;animation:1s ease-in-out infinite line-spin-clockwise-fade-rotating}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] >
1 div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;transform:rotate(0);-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:0s;animation-delay:0s}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-clockwise-fade-rotating-rotate{100%{transform:rotate(-360deg)}}@keyframes line-spin-clockwise-fade-rotating-rotate{100%{transform:rotate(-360deg)}}@-webkit-keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}100%{opacity:1}}.la-line-spin-clockwise-fade[_ngcontent-%COMP%], .la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-clockwise-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-line-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-clockwise-fade;animation:1s ease-in-out infinite line-spin-clockwise-fade}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;transform:rotate(0);-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:0s;animation-delay:0s}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{width:64px;
1height:64px}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-clockwise-fade{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-clockwise-fade{50%{opacity:.2}100%{opacity:1}}.la-line-spin-fade-rotating[_ngcontent-%COMP%], .la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite ball-spin-fade-rotating-rotate;animation:6s linear infinite ball-spin-fade-rotating-rotate}.la-line-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-fade-rotating;animation:1s ease-in-out infinite line-spin-fade-rotating}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;transform:rotate(0);-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:-2s;animation-delay:-2s}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes ball-spin-fade-rotating-rotate{100%{transform:rotate(360deg)}}@keyframes ball-spin-fade-rotating-rotate{100%{transform:rotate(360deg)}}@-webkit-keyframes line-spin-fade-rotating{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-fade-rotating{50%{opacity:.2}100%{opacity:1}}.la-line-spin-fade[_ngcontent-%COMP%], .la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-line-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-fade;animation:1s ease-in-out infinite line-spin-fade}.la-line-spin-fade[_ngcontent-%COMP%] >
1 div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;transform:rotate(0);-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:-2s;animation-delay:-2s}.la-line-spin-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-fade{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-fade{50%{opacity:.2}100%{opacity:1}}.la-pacman[_ngcontent-%COMP%], .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-pacman[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-pacman.la-dark[_ngcontent-%COMP%]{color:#333}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){width:0;height:0;background:0 0;border-style:solid;border-width:16px;border-right-color:transparent;border-radius:100%;-webkit-animation:.5s infinite pacman-rotate-half-up;animation:.5s infinite pacman-rotate-half-up}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-32px;-webkit-animation-name:pacman-rotate-half-down;animation-name:pacman-rotate-half-down}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){position:absolute;top:50%;left:200%;width:8px;height:8px;border-radius:100%;opacity:0;-webkit-animation:2s linear infinite pacman-balls;animation:2s linear infinite pacman-balls}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.44s;animation-delay:-1.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.94s;animation-delay:-1.94s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2.44s;animation-delay:-2.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2.94s;animation-delay:-2.94s}.la-pacman.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:8px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-16px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:4px;height:4px}.la-pacman.la-2x[_ngcontent-%COMP%]{width:64px;
1height:64px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:32px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-64px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:16px;height:16px}.la-pacman.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:48px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-96px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:24px;height:24px}@-webkit-keyframes pacman-rotate-half-up{0%,100%{transform:rotate(270deg)}50%{transform:rotate(360deg)}}@keyframes pacman-rotate-half-up{0%,100%{transform:rotate(270deg)}50%{transform:rotate(360deg)}}@-webkit-keyframes pacman-rotate-half-down{0%,100%{transform:rotate(90deg)}50%{transform:rotate(0)}}@keyframes pacman-rotate-half-down{0%,100%{transform:rotate(90deg)}50%{transform:rotate(0)}}@-webkit-keyframes pacman-balls{0%{left:200%;opacity:0;transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}100%{left:0;transform:translateY(-50%)}}@keyframes pacman-balls{0%{left:200%;opacity:0;transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}100%{left:0;transform:translateY(-50%)}}.la-square-jelly-box[_ngcontent-%COMP%], .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-jelly-box[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-square-jelly-box.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){position:absolute;left:0;width:100%}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:-25%;z-index:1;height:100%;border-radius:10%;-webkit-animation:.6s linear -.1s infinite square-jelly-box-animate;animation:.6s linear -.1s infinite square-jelly-box-animate}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){bottom:-9%;height:10%;background:#000;border-radius:50%;opacity:.2;-webkit-animation:.6s linear -.1s infinite square-jelly-box-shadow;animation:.6s linear -.1s infinite square-jelly-box-shadow}.la-square-jelly-box.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-jelly-box.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-jelly-box.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;transform:translateY(50%) scale(1,.9) rotate(45deg)}75%{transform:translateY(25%) rotate(67.5deg)}100%{transform:translateY(0) rotate(90deg)}}@keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;transform:translateY(50%) scale(1,.9) rotate(45deg)}75%{transform:translateY(25%) rotate(67.5deg)}100%{transform:translateY(0) rotate(90deg)}}@-webkit-keyframes square-jelly-box-shadow{50%{transform:scale(1.25,1)}}@keyframes square-jelly-box-shadow{50%{transform:scale(1.25,1)}}.la-square-loader[_ngcontent-%COMP%], .la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-loader[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-square-loader.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:100%;height:100%;background:0 0;border-radius:0;-webkit-animation:2s infinite square-loader;animation:2s infinite square-loader}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:inline-block;width:100%;vertical-align:top;content:"";background-color:currentColor;-webkit-animation:2s ease-in infinite square-loader-inner;animation:2s ease-in infinite square-loader-inner}.la-square-loader.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-loader.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-square-loader.la-2x[_ngcontent-%COMP%]{width:64px;
1height:64px}.la-square-loader.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-square-loader.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-square-loader.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}@-webkit-keyframes square-loader{0%{transform:rotate(0)}25%,50%{transform:rotate(180deg)}100%,75%{transform:rotate(360deg)}}@keyframes square-loader{0%{transform:rotate(0)}25%,50%{transform:rotate(180deg)}100%,75%{transform:rotate(360deg)}}@-webkit-keyframes square-loader-inner{0%,100%,25%{height:0}50%,75%{height:100%}}@keyframes square-loader-inner{0%,100%,25%{height:0}50%,75%{height:100%}}.la-square-spin[_ngcontent-%COMP%], .la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:100%;height:100%;border-radius:0;-webkit-animation:3s cubic-bezier(.09,.57,.49,.9) infinite square-spin;animation:3s cubic-bezier(.09,.57,.49,.9) infinite square-spin}.la-square-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes square-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{transform:perspective(100px) rotateX(0) rotateY(360deg)}}@keyframes square-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{transform:perspective(100px) rotateX(0) rotateY(360deg)}}.la-timer[_ngcontent-%COMP%], .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-timer[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-timer.la-dark[_ngcontent-%COMP%]{color:#333}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:32px;height:32px;background:0 0;border-radius:100%}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{position:absolute;top:14px;left:14px;display:block;width:2px;margin-top:-1px;margin-left:-1px;content:"";background:currentColor;border-radius:2px;transform-origin:1px 1px 0;-webkit-animation:1.25s linear -625ms infinite timer-loader;animation:1.25s linear -625ms infinite timer-loader}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:12px}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:8px;-webkit-animation-duration:15s;animation-duration:15s;-webkit-animation-delay:-7.5s;animation-delay:-7.5s}.la-timer.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:7px;left:7px;width:1px;margin-top:-.5px;margin-left:-.5px;border-radius:1px;transform-origin:.5px .5px 0}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:6px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:4px}.la-timer.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:28px;left:28px;width:4px;margin-top:-2px;margin-left:-2px;border-radius:4px;transform-origin:2px 2px 0}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:24px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:16px}.la-timer.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:42px;left:42px;width:6px;margin-top:-3px;margin-left:-3px;border-radius:6px;transform-origin:3px 3px 0}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:36px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:24px}@-webkit-keyframes timer-loader{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes timer-loader{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.la-triangle-skew-spin[_ngcontent-%COMP%], .la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-triangle-skew-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:16px}.la-triangle-skew-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:0 solid currentColor;width:0;height:0;background:0 0;border:solid;border-width:0 16px 16px;border-right-color:transparent;border-left-color:transparent;-webkit-animation:3s cubic-bezier(.09,.57,.49,.9) infinite triangle-skew-spin;animation:3s cubic-bezier(.09,.57,.49,.9) infinite triangle-skew-spin}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:8px}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 8px 8px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%]{width:64px;
1height:32px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 32px 32px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:48px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 48px 48px}@-webkit-keyframes triangle-skew-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{transform:perspective(100px) rotateX(0) rotateY(360deg)}}@keyframes triangle-skew-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{transform:perspective(100px) rotateX(0) rotateY(360deg)}}.overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%}.overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.loading-text){top:50%;left:50%;margin:0;position:absolute;transform:translate(-50%,-50%)}.loading-text[_ngcontent-%COMP%]{position:absolute;top:60%;left:50%;transform:translate(-50%,-60%)}'],data:{animation:[{type:7,name:"fadeIn",definitions:[{type:0,name:"in",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:":enter",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:300}],options:null},{type:1,expr:":leave",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:200},options:null}],options:{}}]}});function a(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,0,"div",[],null,null,null,null,null))],null,null)}function s(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,5,"div",[["class","overlay"]],[[24,"@fadeIn",0],[4,"background-color",null],[4,"z-index",null],[4,"position",null]],null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,2,"div",[],[[8,"className",0],[4,"color",null]],null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,a)),r["\u0275did"](3,278528,null,0,i.m,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275eld"](4,0,null,null,1,"div",[["class","loading-text"]],[[4,"z-index",null]],null,null,null,null)),r["\u0275ncd"](null,0)],(function(e,t){e(t,3,0,t.component.spinner.divArray)}),(function(e,t){var n=t.component;e(t,0,0,"in",n.spinner.bdColor,n.spinner.zIndex,n.spinner.fullScreen?"fixed":"absolute"),e(t,1,0,n.spinner.class,n.spinner.color),e(t,4,0,n.spinner.zIndex)}))}function l(e){return r["\u0275vid"](2,[(e()(),r["\u0275and"](16777216,null,null,1,null,s)),r["\u0275did"](1,16384,null,0,i.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,1,0,t.component.spinner.show)}),null)}},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},kdvv:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var r=n("9/Zf"),i=n("+A1k"),o={nowSeconds:function(){return Date.now()/1e3}},a=Object(i.b)()?function(){try{return Object(i.a)(e,"perf_hooks").performance}catch(t){return}}():function(){var e=Object(r.e)().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),s=void 0===a?o:{nowSeconds:function(){return(a.timeOrigin+a.now())/1e3}},l=o.nowSeconds.bind(o);s.nowSeconds.bind(s),function(){var e=Object(r.e)().performance;e&&(e.timeOrigin||e.timing&&e.timing.navigationStart||Date.now())}()}).call(this,n("3UD+")(e))},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t,[{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("7o/Q").a)},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(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 o(e,t))}}var o=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.project=t,this.thisArg=n}),[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))}}])}(),a=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[e])).project=n,i.count=0,i.thisArg=r||_assertThisInitialized2(i),i}
1return _inherits2(t,e),_createClass2(t,[{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)}}])}(r.a)},lW6c:function(e,t,n){"use strict";var r=n("mrSG"),i=n("9/Zf"),o=n("kdvv"),a=n("8LbN"),s=n("+A1k"),l=n("KjyA"),u=n("yksw"),c=n("6PXS"),h=function(){function e(e){this.errors=0,this.sid=Object(i.i)(),this.timestamp=Date.now(),this.started=Date.now(),this.duration=0,this.status=u.a.Ok,e&&this.update(e)}return e.prototype.update=function(e){void 0===e&&(e={}),e.user&&(e.user.ip_address&&(this.ipAddress=e.user.ip_address),e.did||(this.did=e.user.id||e.user.email||e.user.username)),this.timestamp=e.timestamp||Date.now(),e.sid&&(this.sid=32===e.sid.length?e.sid:Object(i.i)()),e.did&&(this.did=""+e.did),"number"==typeof e.started&&(this.started=e.started),this.duration="number"==typeof e.duration?e.duration:this.timestamp-this.started,e.release&&(this.release=e.release),e.environment&&(this.environment=e.environment),e.ipAddress&&(this.ipAddress=e.ipAddress),e.userAgent&&(this.userAgent=e.userAgent),"number"==typeof e.errors&&(this.errors=e.errors),e.status&&(this.status=e.status)},e.prototype.close=function(e){e?this.update({status:e}):this.status===u.a.Ok?this.update({status:u.a.Exited}):this.update()},e.prototype.toJSON=function(){return Object(c.a)({sid:""+this.sid,init:!0,started:new Date(this.started).toISOString(),timestamp:new Date(this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:Object(c.a)({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},e}();n.d(t,"a",(function(){return g}));var d=function(){function e(e,t,n){void 0===t&&(t=new l.a),void 0===n&&(n=3),this._version=n,this._stack=[{}],this.getStackTop().scope=t,this.bindClient(e)}return e.prototype.isOlderThan=function(e){return this._version<e},e.prototype.bindClient=function(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()},e.prototype.pushScope=function(){var e=l.a.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e},e.prototype.popScope=function(){return!(this.getStack().length<=1||!this.getStack().pop())},e.prototype.withScope=function(e){var t=this.pushScope();try{e(t)}finally{this.popScope()}},e.prototype.getClient=function(){return this.getStackTop().client},e.prototype.getScope=function(){return this.getStackTop().scope},e.prototype.getStack=function(){return this._stack},e.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},e.prototype.captureException=function(e,t){var n=this._lastEventId=Object(i.i)(),o=t;if(!t){var a=void 0;try{throw new Error("Sentry syntheticException")}catch(e){a=e}o={originalException:e,syntheticException:a}}return this._invokeClient("captureException",e,Object(r.a)(Object(r.a)({},o),{event_id:n})),n},e.prototype.captureMessage=function(e,t,n){var o=this._lastEventId=Object(i.i)(),a=n;if(!n){var s=void 0;try{throw new Error(e)}catch(l){s=l}a={originalException:e,syntheticException:s}}return this._invokeClient("captureMessage",e,t,Object(r.a)(Object(r.a)({},a),{event_id:o})),o},e.prototype.captureEvent=function(e,t){var n=this._lastEventId=Object(i.i)();return this._invokeClient("captureEvent",e,Object(r.a)(Object(r.a)({},t),{event_id:n})),n},e.prototype.lastEventId=function(){return this._lastEventId},e.prototype.addBreadcrumb=function(e,t){var n=this.getStackTop(),a=n.scope,s=n.client;if(a&&s){var l=s.getOptions&&s.getOptions()||{},u=l.beforeBreadcrumb,c=void 0===u?null:u,h=l.maxBreadcrumbs,d=void 0===h?100:h;if(!(d<=0)){var f=Object(o.a)(),p=Object(r.a)({timestamp:f},e),g=c?Object(i.c)((function(){return c(p,t)})):p;null!==g&&a.addBreadcrumb(g,Math.min(d,100))}}},e.prototype.setUser=function(e){var t=this.getScope();t&&t.setUser(e)},e.prototype.setTags=function(e){var t=this.getScope();t&&t.setTags(e)},e.prototype.setExtras=function(e){var t=this.getScope();t&&t.setExtras(e)},e.prototype.setTag=function(e,t){var n=this.getScope();n&&n.setTag(e,t)},e.prototype.setExtra=function(e,t){var n=this.getScope();n&&n.setExtra(e,t)},e.prototype.setContext=function(e,t){var n=this.getScope();n&&n.setContext(e,t)},e.prototype.configureScope=function(e){var t=this.getStackTop(),n=t.scope;n&&t.client&&e(n)},e.prototype.run=function(e){var t=p(this);try{e(this)}finally{p(t)}},e.prototype.getIntegration=function(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(n){return a.a.warn("Cannot retrieve integration "+e.id+" from the current Hub"),null}},e.prototype.startSpan=function(e){return this._callExtensionMethod("startSpan",e)},e.prototype.startTransaction=function(e,t){return this._callExtensionMethod("startTransaction",e,t)},e.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},e.prototype.startSession=function(e){this.endSession();var t=this.getStackTop(),n=t.scope,i=t.client,o=i&&i.getOptions()||{},a=o.release,s=o.environment,l=new h(Object(r.a)(Object(r.a)({release:a,environment:s},n&&{user:n.getUser()}),e));return n&&n.setSession(l),l},e.prototype.endSession=function(){var e=this.getStackTop(),t=e.scope,n=e.client;if(t){var r=t.getSession&&t.getSession();r&&(r.close(),n&&n.captureSession&&n.captureSession(r),t.setSession())}},e.prototype._invokeClient=function(e){for(var t,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o=this.getStackTop(),a=o.scope,s=o.client;s&&s[e]&&(t=s)[e].apply(t,Object(r.h)(n,[a]))},e.prototype._callExtensionMethod=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=f(),i=r.__SENTRY__;if(i&&i.extensions&&"function"==typeof i.extensions[e])return i.extensions[e].apply(this,t);a.a.warn("Extension method "+e+" couldn't be found, doing nothing.")},e}();function f(){var e=Object(i.e)();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function p(e){var t=f(),n=A(t);return v(t,e),n}function g(){var e=f();return _(e)&&!A(e).isOlderThan(3)||v(e,new d),Object(s.b)()?function(e){try{var t=(r=f().__SENTRY__)&&r.extensions&&r.extensions.domain&&r.extensions.domain.active;if(!t)return A(e);
1if(!_(t)||A(t).isOlderThan(3)){var n=A(e).getStackTop();v(t,new d(n.client,l.a.clone(n.scope)))}return A(t)}catch(i){return A(e)}var r}(e):A(e)}function _(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function A(e){return e&&e.__SENTRY__&&e.__SENTRY__.hub||(e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.hub=new d),e.__SENTRY__.hub}function v(e,t){return!!e&&(e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.hub=t,!0)}},mCNh:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("SpAZ");function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o(t)}function o(e){return 0===e.length?r.a:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}},mlxB:function(e,t,n){"use strict";function r(e){return e instanceof Date&&!isNaN(+e)}n.d(t,"a",(function(){return r}))},mrSG:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"i",(function(){return c})),n.d(t,"f",(function(){return h})),n.d(t,"h",(function(){return d}));var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function c(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function d(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},nYR2:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7o/Q"),i=n("quSY");function o(e){return function(t){return t.lift(new a(e))}}var a=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.callback=t}),[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.callback))}}])}(),s=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).add(new i.a(n)),r}return _inherits2(t,e),_createClass2(t)}(r.a)},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;
1n++)t.next(e[n]);t.complete()}}},oT44:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("8Y7J"),i=(n("r1zJ"),r["\u0275crt"]({encapsulation:2,styles:[],data:{}}));function o(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,0,"canvas",[],null,null,null,null,null))],null,null)}},omvX:function(e,t,n){"use strict";n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return _})),n.d(t,"e",(function(){return p})),n.d(t,"b",(function(){return v})),n.d(t,"a",(function(){return A})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return f}));var r=n("8Y7J"),i=(n("cUpR"),n("GS7A")),o=n("fDlF"),a=function(e){function t(e,n){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t))._nextAnimationId=0,i._renderer=e.createRenderer(n.body,{id:"0",encapsulation:r.ViewEncapsulation.None,styles:[],data:{animation:[]}}),i}return _inherits2(t,e),_createClass2(t,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Object(i.j)(e):e;return u(this._renderer,null,t,"register",[n]),new s(t,this._renderer)}}])}(i.b),s=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t))._id=e,r._renderer=n,r}return _inherits2(t,e),_createClass2(t,[{key:"create",value:function(e,t){return new l(this._id,e,t||{},this._renderer)}}])}(i.c),l=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this.id=t,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}),[{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 u(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}}])}();function u(e,t,n,r,i){return e.setProperty(t,"@@".concat(n,":").concat(r),i)}var c=function(){return _createClass2((function e(t,n,r){_classCallCheck2(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)}}),[{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 h("",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){return n.engine.registerTrigger(o,a,e,t.name,t)})),new d(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()}}])}(),h=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.namespaceId=t,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}),[{key:"data",get:function(){return this.delegate.data}},{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
1)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}])}(),d=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t,[n,r,i])).factory=e,o.namespaceId=n,o}return _inherits2(t,e),_createClass2(t,[{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),l=t.substr(1),u="";return"@"!=l.charAt(0)&&(i=(r=l).indexOf("."),l=(a=_slicedToArray2([r.substring(0,i),r.substr(i+1)],2))[0],u=a[1]),this.engine.listen(this.namespaceId,s,l,u,(function(e){o.factory.scheduleListenerCallback(e._data||-1,n,e)}))}return this.delegate.listen(e,t,n)}}])}(h),f=function(e){function t(e,n,r){return _classCallCheck2(this,t),_callSuper(this,t,[e.body,n,r])}return _inherits2(t,e),_createClass2(t)}(o.b);function p(){return Object(o.h)()?new o.f:new o.d}function g(){return new o.g}function _(e,t,n){return new c(e,t,n)}var A=new r.InjectionToken("AnimationModuleType"),v=_createClass2((function e(){_classCallCheck2(this,e)}))},pLZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){return function(n){return n.lift(new o(e,t))}}var o=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.predicate=t,this.thisArg=n}),[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))}}])}(),a=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[e])).predicate=n,i.thisArg=r,i.count=0,i}return _inherits2(t,e),_createClass2(t,[{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)}}])}(r.a)},pMnS:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("8Y7J"),i=n("iInd"),o=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function a(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["\u0275did"](1,212992,null,0,i.w,[i.c,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,
1null)],(function(e,t){e(t,1,0)}),null)}var s=r["\u0275ccf"]("ng-component",i.K,(function(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,a,o)),r["\u0275did"](1,49152,null,0,i.K,[],null,null)],null,null)}),{},{},[])},pRiV:function(e,t,n){"use strict";function r(e){try{return e&&"function"==typeof e&&e.name||"<anonymous>"}catch(t){return"<anonymous>"}}n.d(t,"a",(function(){return r}))},pxpQ:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var r=n("7o/Q"),i=n("WMd4");function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return n.lift(new a(e,t))}}var a=function(){return _createClass2((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck2(this,e),this.scheduler=t,this.delay=n}),[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.scheduler,this.delay))}}])}(),s=function(e){function t(e,n){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).scheduler
1=n,r.delay=i,r}return _inherits2(t,e),_createClass2(t,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new l(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(i.a.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(i.a.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(i.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()}}])}(r.a),l=_createClass2((function e(t,n){_classCallCheck2(this,e),this.notification=t,this.destination=n}))},qgXg:function(e,t,n){"use strict";var r=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e,n])).scheduler=e,r.work=n,r}return _inherits2(t,e),_createClass2(t,[{key:"schedule",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n>0?_superPropGet(t,"schedule",this,3)([e,n]):(this.delay=n,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,n){return n>0||this.closed?_superPropGet(t,"execute",this,3)([e,n]):this._execute(e,n)}},{key:"requestAsyncId",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0||null===r&&this.delay>0?_superPropGet(t,"requestAsyncId",this,3)([e,n,r]):e.flush(this)}}])}(n("3N8a").a),i=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t)}(n("IjjT").a);n.d(t,"a",(function(){return o}));var o=new i(r)},quSY:function(e,t,n){"use strict";var r=n("DH7j"),i=n("XoHu"),o=n("n6bG"),a=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}();n.d(t,"a",(function(){return u}));var s,l,u=((l=function(){function e(t){_classCallCheck2(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return _createClass2(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,s=this._unsubscribe,l=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var u=0;u<n.length;++u)n[u].remove(this);if(Object(o.a)(s))try{s.call(this)}catch(p){t=p instanceof a?c(p.errors):[p]}if(Object(r.a)(l))for(var h=-1,d=l.length;++h<d;){var f=l[h];if(Object(i.a)(f))try{f.unsubscribe()}catch(p){t=t||[],p instanceof a?t=t.concat(c(p.errors)):t.push(p)}}if(t)throw new a(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)}}}])}()).EMPTY=((s=new l).closed=!0,s),l);function c(e){return e.reduce((function(e,t){return e.concat(t instanceof a?t.errors:t)}),[])}},r1zJ:function(e,t,n){"use strict";var r=n("8Y7J");function i(e,t,n){this.x=e,this.y=t,this.time=n||(new Date).getTime()}function o(e,t,n,r){this.startPoint=e,this.control1=t,this.control2=n,this.endPoint=r}function a(e,t){var n=this,r=t||{};this.velocityFilterWeight=r.velocityFilterWeight||.7,this.minWidth=r.minWidth||.5,this.maxWidth=r.maxWidth||2.5,this.throttle="throttle"in r?r.throttle:16,this.minDistance="minDistance"in r?r.minDistance:5,this._strokeMoveUpdate=this.throttle?function(e,t,n){var r,i,o,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Date.now(),a=null,o=e.apply(r,i),a||(r=i=null)};return function(){var u=Date.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return r=this,i=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),s=u,o=e.apply(r,i),a||(r=i=null)):a||!1===n.trailing||(a=setTimeout(l,c)),o}}(a.prototype._strokeUpdate,this.throttle):a.prototype._strokeUpdate,this.dotSize=r.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=r.penColor||"black",this.backgroundColor=r.backgroundColor||"rgba(0,0,0,0)",this.onBegin=r.onBegin,this.onEnd=r.onEnd,this._canvas=e,this._ctx=e.getContext("2d"),this.clear(),this._handleMouseDown=function(e){1===e.which&&(n._mouseButtonDown=!0,n._strokeBegin(e))},this._handleMouseMove=function(e){n._mouseButtonDown&&n._strokeMoveUpdate(e)},this._handleMouseUp=function(e){1===e.which&&n._mouseButtonDown&&(n._mouseButtonDown=!1,n._strokeEnd(e))},this._handleTouchStart=function(e){1===e.targetTouches.length&&n._strokeBegin(e.changedTouches[0])},this._handleTouchMove=function(e){e.preventDefault(),n._strokeMoveUpdate(e.targetTouches[0])},this._handleTouchEnd=function(e){e.target===n._canvas&&(e.preventDefault(),n._strokeEnd(e))},this.on()}i.prototype.velocityFrom=function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1},i.prototype.distanceTo=function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},i.prototype.equals=function(e){return this.x===e.x&&this.y===e.y&&this.time===e.time},o.prototype.length=function(){for(var e=0,t=void 0,n=void 0,r=0;r<=10;r+=1){var i=r/10,o=this._point(i,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),a=this._point(i,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(r>0){var s=o-t,l=a-n;e+=Math.sqrt(s*s+l*l)}t=o,n=a}return e},o.prototype._point=function(e,t,n,r,i){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*r*(1-e)*e*e+i*e*e*e},a.prototype.clear=function(){var e=this._ctx,t=this._canvas;e.fillStyle=this.backgroundColor,e.clearRect(0,0,t.width,t.height),e.fillRect(0,0,t.width,t.height),this._data=[],this._reset(),this._isEmpty=!0},a.prototype.fromDataURL=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new Image,i=n.ratio||window.devicePixelRatio||1,o=n.width||this._canvas.width/i,a=n.height||this._canvas.height/i;this._reset(),r.src=e,r.onload=function(){t._ctx.drawImage(r,0,0,o,a)},this._isEmpty=!1},a.prototype.toDataURL=function(e){var t;switch(e){case"image/svg+xml":return this._toSVG();default:for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(t=this._canvas).toDataURL.apply(t,[e].concat(r))}},a.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},a.prototype.off=function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),document.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),this._canvas.removeEventListener("touchend",this._handleTouchEnd)},a.prototype.isEmpty=function(){return this._isEmpty},a.prototype._strokeBegin=function(e){this._data.push([]),this._reset(),this._strokeUpdate(e),"function"==typeof this.onBegin&&this.onBegin(e)},a.prototype._strokeUpdate=function(e){var t=this._createPoint(e.clientX,e.clientY),n=this._data[this._data.length-1],r=n&&n[n.length-1],i=r&&t.distanceTo(r)<this.minDistance;if(!r||!i){var o=this._addPoint(t),a=o.curve,s=o.widths;a&&s&&this._drawCurve(a,s.start,s.end),this._data[this._data.length-1].push({x:t.x,y:t.y,time:t.time,color:this.penColor})}},a.prototype._strokeEnd=function(e){var t=this.points[0];if(!(this.points.length>2)&&t&&this._drawDot(t),t){var n=this._data[this._data.length-1];t.equals(n[n.length-1])||n.push({x:t.x,y:t.y,time:t.time,color:this.penColor})}"function"==typeof this.onEnd&&this.onEnd(e)},a.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),document.addEventListener("mouseup",this._handleMouseUp)},a.prototype._handleTouchEvents=function(){this._canvas.style.msTouchAction="none",this._canvas.style.touchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart),this._canvas.addEventListener("touchmove",this._handleTouchMove),this._canvas.addEventListener("touchend",this._handleTouchEnd)},a.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._ctx.fillStyle=this.penColor},a.prototype._createPoint=function(e,t,n){var r=this._canvas.getBoundingClientRect();return new i(e-r.left,t-r.top,n||(new Date).getTime())},a.prototype._addPoint=function(e){var t=this.points,n=void 0;if(t.push(e),t.length>2){3===t.length&&t.unshift(t[0]);var r=(n=this._calculateCurveControlPoints(t[0],t[1],t[2])).c2;n=this._calculateCurveControlPoints(t[1],t[2],t[3]);var i=new o(t[1],r,n.c1,t[2]),a=this._calculateCurveWidths(i);return t.shift(),{curve:i,widths:a}}return{}},a.prototype._calculateCurveControlPoints=function(e,t,n){var r=e.x-t.x,o=e.
1y-t.y,a=t.x-n.x,s=t.y-n.y,l=(e.x+t.x)/2,u=(e.y+t.y)/2,c=(t.x+n.x)/2,h=(t.y+n.y)/2,d=Math.sqrt(r*r+o*o),f=Math.sqrt(a*a+s*s),p=f/(d+f),g=t.x-(c+(l-c)*p),_=t.y-(h+(u-h)*p);return{c1:new i(l+g,u+_),c2:new i(c+g,h+_)}},a.prototype._calculateCurveWidths=function(e){var t={start:null,end:null},n=this.velocityFilterWeight*e.endPoint.velocityFrom(e.startPoint)+(1-this.velocityFilterWeight)*this._lastVelocity,r=this._strokeWidth(n);return t.start=this._lastWidth,t.end=r,this._lastVelocity=n,this._lastWidth=r,t},a.prototype._strokeWidth=function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)},a.prototype._drawPoint=function(e,t,n){var r=this._ctx;r.moveTo(e,t),r.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1},a.prototype._drawCurve=function(e,t,n){var r=this._ctx,i=n-t,o=Math.floor(e.length());r.beginPath();for(var a=0;a<o;a+=1){var s=a/o,l=s*s,u=l*s,c=1-s,h=c*c,d=h*c,f=d*e.startPoint.x;f+=3*h*s*e.control1.x,f+=3*c*l*e.control2.x;var p=d*e.startPoint.y;p+=3*h*s*e.control1.y,p+=3*c*l*e.control2.y,this._drawPoint(f+=u*e.endPoint.x,p+=u*e.endPoint.y,t+u*i)}r.closePath(),r.fill()},a.prototype._drawDot=function(e){var t=this._ctx,n="function"==typeof this.dotSize?this.dotSize():this.dotSize;t.beginPath(),this._drawPoint(e.x,e.y,n),t.closePath(),t.fill()},a.prototype._fromData=function(e,t,n){for(var r=0;r<e.length;r+=1){var o=e[r];if(o.length>1)for(var a=0;a<o.length;a+=1){var s=o[a],l=new i(s.x,s.y,s.time),u=s.color;if(0===a)this.penColor=u,this._reset(),this._addPoint(l);else if(a!==o.length-1){var c=this._addPoint(l),h=c.curve,d=c.widths;h&&d&&t(h,d,u)}}else this._reset(),n(o[0])}},a.prototype._toSVG=function(){var e=this,t=this._data,n=this._canvas,r=Math.max(window.devicePixelRatio||1,1),i=n.width/r,o=n.height/r,a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttributeNS(null,"width",n.width),a.setAttributeNS(null,"height",n.height),this._fromData(t,(function(e,t,n){var r=document.createElement("path");if(!(isNaN(e.control1.x)||isNaN(e.control1.y)||isNaN(e.control2.x)||isNaN(e.control2.y))){var i="M "+e.startPoint.x.toFixed(3)+","+e.startPoint.y.toFixed(3)+" C "+e.control1.x.toFixed(3)+","+e.control1.y.toFixed(3)+" "+e.control2.x.toFixed(3)+","+e.control2.y.toFixed(3)+" "+e.endPoint.x.toFixed(3)+","+e.endPoint.y.toFixed(3);r.setAttribute("d",i),r.setAttribute("stroke-width",(2.25*t.end).toFixed(3)),r.setAttribute("stroke",n),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),a.appendChild(r)}}),(function(t){var n=document.createElement("circle"),r="function"==typeof e.dotSize?e.dotSize():e.dotSize;n.setAttribute("r",r),n.setAttribute("cx",t.x),n.setAttribute("cy",t.y),n.setAttribute("fill",t.color),a.appendChild(n)}));var s='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 '+i+" "+o+'" width="'+i+'" height="'+o+'">',l=a.innerHTML;if(void 0===l){var u=document.createElement("dummy"),c=a.childNodes;u.innerHTML="";for(var h=0;h<c.length;h+=1)u.appendChild(c[h].cloneNode(!0));l=u.innerHTML}return"data:image/svg+xml;base64,"+btoa(s+l+"</svg>")},a.prototype.fromData=function(e){var t=this;this.clear(),this._fromData(e,(function(e,n){return t._drawCurve(e,n.start,n.end)}),(function(e){return t._drawDot(e)})),this._data=e},a.prototype.toData=function(){return this._data};var s=a;n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return u}));var l=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.elementRef=t,this.options=this.options||{},this.onBeginEvent=new r.EventEmitter,this.onEndEvent=new r.EventEmitter}),[{key:"ngAfterContentInit",value:function(){var e=this.elementRef.nativeElement.querySelector("canvas");this.options.canvasHeight&&(e.height=this.options.canvasHeight),this.options.canvasWidth&&(e.width=this.options.canvasWidth),this.signaturePad=new s(e,this.options),this.signaturePad.onBegin=this.onBegin.bind(this),this.signaturePad.onEnd=this.onEnd.bind(this)}},{key:"ngOnDestroy",value:function(){var e=this.elementRef.nativeElement.querySelector("canvas");e.width=0,e.height=0}},{key:"resizeCanvas",value:function(){var e=Math.max(window.devicePixelRatio||1,1),t=this.signaturePad.canvas;t.width=t.offsetWidth*e,t.height=t.offsetHeight*e,t.getContext("2d").scale(e,e),this.signaturePad.clear()}},{key:"toData",value:function(){return this.signaturePad?this.signaturePad.toData():[]}},{key:"fromData",value:function(e){this.signaturePad.fromData(e)}},{key:"toDataURL",value:function(e,t){return this.signaturePad.toDataURL(e,t)}},{key:"fromDataURL",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!t.hasOwnProperty("height")&&this.options.canvasHeight&&(t.height=this.options.canvasHeight),!t.hasOwnProperty("width")&&this.options.canvasWidth&&(t.width=this.options.canvasWidth),this.signaturePad.fromDataURL(e,t)}},{key:"clear",value:function(){this.signaturePad.clear()}},{key:"isEmpty",value:function(){return this.signaturePad.isEmpty()}},{key:"off",value:function(){this.signaturePad.off()}},{key:"on",value:function(){this.signaturePad.on()}},{key:"set",value:function(e,t){switch(e){case"canvasHeight":this.signaturePad.canvas.height=t;break;case"canvasWidth":this.signaturePad.canvas.width=t;break;default:this.signaturePad[e]=t}}},{key:"onBegin",value:function(){this.onBeginEvent.emit(!0)}},{key:"onEnd",value:function(){this.onEndEvent.emit(!0)}},{key:"queryPad",value:function(){return this.signaturePad}}])}(),u=_createClass2((function e(){_classCallCheck2(this,e)}))},s6ns:function(e,t,n){"use strict";n.d(t,"h",(function(){return S})),n.d(t,"d",(function(){return C})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return y}
1)),n.d(t,"c",(function(){return b})),n.d(t,"e",(function(){return w})),n.d(t,"g",(function(){return _})),n.d(t,"j",(function(){return E})),n.d(t,"f",(function(){return p})),n.d(t,"i",(function(){return v})),n("GS7A");var r=n("8Y7J"),i=n("zMNK"),o=n("dvZr"),a=n("XNiG"),s=n("NXyV"),l=n("LRne"),u=n("pLZG"),c=n("IzEk"),h=n("JX91"),d=n("IP0z"),f=n("QQfA"),p=_createClass2((function e(){_classCallCheck2(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}));function g(){throw Error("Attempting to attach dialog content after content is already attached")}var _=function(e){function t(e,n,i,o,a){var s;return _classCallCheck2(this,t),(s=_callSuper(this,t))._elementRef=e,s._focusTrapFactory=n,s._changeDetectorRef=i,s._document=o,s._config=a,s._elementFocusedBeforeDialogWasOpened=null,s._state="enter",s._animationStateChanged=new r.EventEmitter,s._ariaLabelledBy=a.ariaLabelledBy||null,s}return _inherits2(t,e),_createClass2(t,[{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached()&&g(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached()&&g(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_trapFocus",value:function(){var e=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(e)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var t=this._document.activeElement;t===e||e.contains(t)||e.focus()}}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&e&&"function"==typeof e.focus&&e.focus(),this._focusTrap&&this._focusTrap.destroy()}},{key:"_savePreviouslyFocusedElement",value:function(){var e=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return e._elementRef.nativeElement.focus()})))}},{key:"_onAnimationDone",value:function(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)}},{key:"_onAnimationStart",value:function(e){this._animationStateChanged.emit(e)}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}])}(i.a),A=0,v=function(){return _createClass2((function e(t,n,r){var i=this,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"mat-dialog-"+A++;_classCallCheck2(this,e),this._overlayRef=t,this._containerInstance=n,this.id=s,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new a.a,this._afterClosed=new a.a,this._beforeClosed=new a.a,this._state=0,n._id=s,n._animationStateChanged.pipe(Object(u.a)((function(e){return"done"===e.phaseName&&"enter"
1===e.toState})),Object(c.a)(1)).subscribe((function(){i._afterOpened.next(),i._afterOpened.complete()})),n._animationStateChanged.pipe(Object(u.a)((function(e){return"done"===e.phaseName&&"exit"===e.toState})),Object(c.a)(1)).subscribe((function(){clearTimeout(i._closeFallbackTimeout),i._overlayRef.dispose()})),t.detachments().subscribe((function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()})),t.keydownEvents().pipe(Object(u.a)((function(e){return e.keyCode===o.e&&!i.disableClose&&!Object(o.o)(e)}))).subscribe((function(e){e.preventDefault(),i.close()}))}),[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(Object(u.a)((function(e){return"start"===e.phaseName})),Object(c.a)(1)).subscribe((function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._state=2,t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout((function(){t._overlayRef.dispose()}),n.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1}},{key:"afterOpened",value:function(){return this._afterOpened.asObservable()}},{key:"afterClosed",value:function(){return this._afterClosed.asObservable()}},{key:"beforeClosed",value:function(){return this._beforeClosed.asObservable()}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"afterOpen",value:function(){return this.afterOpened()}},{key:"beforeClose",value:function(){return this.beforeClosed()}},{key:"getState",value:function(){return this._state}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}])}(),m=new r.InjectionToken("MatDialogData"),y=new r.InjectionToken("mat-dialog-default-options"),b=new r.InjectionToken("mat-dialog-scroll-strategy");function C(e){return function(){return e.scrollStrategies.block()}}var w=function(){return _createClass2((function e(t,n,r,i,o,l,u){var c=this;_classCallCheck2(this,e),this._overlay=t,this._injector=n,this._location=r,this._defaultOptions=i,this._parentDialog=l,this._overlayContainer=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new a.a,this._afterOpenedAtThisLevel=new a.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(s.a)((function(){return c.openDialogs.length?c._afterAllClosed:c._afterAllClosed.pipe(Object(h.a)(void 0))})),this._scrollStrategy=o}),[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"afterOpen",get:function(){return this.afterOpened}},{key:"_afterAllClosed",get:function(){var e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var n=this;if((t=function(e,t){return Object.assign({},t,e)}(t,this._defaultOptions||new p)).id&&this.getDialogById(t.id))throw Error('Dialog with id "'.concat(t.id,'" exists already. The dialog id must be unique.'));var r=this._createOverlay(t),i=this._attachDialogContainer(r,t),o=this._attachDialogContent(e,i,r,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe((function(){return n._removeOpenDialog(o)})),this.afterOpened.next(o),o}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find((function(t){return t.id===e}))}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new f.e({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}},{key:"_attachDialogContainer",value:function(e,t){var n=new i.e(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[p,t]])),r=new i.c(_,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(r).instance}},{key:"_attachDialogContent",value:function(e,t,n,o){var a=new v(n,t,this._location,o.id);if(o.hasBackdrop&&n.backdropClick().subscribe((function(){a.disableClose||a.close()})),e instanceof r.TemplateRef)t.attachTemplatePortal(new i.g(e,null,{$implicit:o.data,dialogRef:a}));else{var s=this._createInjector(o,a,t),l=t.attachComponentPortal(new i.c(e,void 0,s));a.componentInstance=l.instance}return a.updateSize(o.width,o.height).updatePosition(o.position),a}},{key:"_createInjector",value:function(e,t,n){var r=e&&e.viewContainerRef&&e.viewContainerRef.injector,o=new WeakMap([[_,n],[m,e.data],[v,t]]);return!e.direction||r&&r.get(d.b,null)||o.set(d.b,{value:e.direction,change:Object(l.a)()}),new i.e(r||this._injector,o)}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1h((function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var r=t[n];r===e||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}])}(),k=0,E=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=r,this.id="mat-dialog-title-"+k++}),[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=function(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find((function(e){return e.id===n.id})):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)}))}}])}(),S=_createClass2((function e(){_classCallCheck2(this,e)}))},s7LF:function(e,t,n){"use strict";n.d(t,"x",(function(){return ve})),n.d(t,"A",(function(){return ue})),n.d(t,"y",(function(){return x})),n.d(t,"z",(function(){return ce})),n.d(t,"b",(function(){return d})),n.d(t,"m",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"n",(function(){return p})),n.d(t,"o",(function(){return _})),n.d(t,"p",(function(){return A})),n.d(t,"q",(function(){return ne})),n.d(t,"r",(function(){return le})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return P})),n.d(t,"g",(function(){return he})),n.d(t,"h",(function(){return _e})),n.d(t,"j",(function(){return de})),n.d(t,"v",(function(){return Ae})),n.d(t,"e",(function(){return me})),n.d(t,"d",(function(){return ee})),n.d(t,"f",(function(){return Z})),n.d(t,"i",(function(){return $})),n.d(t,"l",(function(){return m})),n.d(t,"w",(function(){return b})),n.d(t,"k",(function(){return ye})),n.d(t,"u",(function(){return be}));var r=n("8Y7J"),i=n("cUpR"),o=n("cp0P"),a=n("Cfvw"),s=n("lJxs"),l=new r.InjectionToken("NgValueAccessor"),u=new r.InjectionToken("CompositionEventMode"),c=function(){return _createClass2((function e(t,n,r){var o;_classCallCheck2(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=(o=Object(i.r)()?Object(i.r)().getUserAgent():"",!/android (\d+)/.test(o.toLowerCase())))}),[{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)}}])}(),h=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{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}},{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}}])}(),d=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}
1return _inherits2(t,e),_createClass2(t,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}])}(h);function f(){throw new Error("unimplemented")}var p=function(e){function t(){var e;return _classCallCheck2(this,t),(e=_callSuper(this,t,arguments))._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return _inherits2(t,e),_createClass2(t,[{key:"validator",get:function(){return f()}},{key:"asyncValidator",get:function(){return f()}}])}(h),g=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this._cd=t}),[{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}}])}(),_=function(e){function t(e){return _classCallCheck2(this,t),_callSuper(this,t,[e])}return _inherits2(t,e),_createClass2(t)}(g),A=function(e){function t(e){return _classCallCheck2(this,t),_callSuper(this,t,[e])}return _inherits2(t,e),_createClass2(t)}(g);function v(e){return null==e||0===e.length}var m=new r.InjectionToken("NgValidators"),y=/^(?=.{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])?)*$/,b=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"min",value:function(e){return function(t){if(v(t.value)||v(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(v(t.value)||v(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 v(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return v(e.value)||y.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){if(v(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(v(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(C);return 0==t.length?null:function(e){return k(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(C);return 0==t.length?null:function(e){var n=function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(w);return Object(o.a)(n).pipe(Object(s.a)(k))}}}])}();function C(e){return null!=e}function w(e){var t=Object(r["\u0275isPromise"])(e)?Object(a.a)(e):e;if(!Object(r["\u0275isObservable"])(t))throw new Error("Expected validator to return Promise or Observable.");return t}function k(e){var t=e.reduce((function(e,t){return null!=t?Object.assign({},e,t):e}),{});return 0===Object.keys(t).length?null:t}function E(e){return e.validate?function(t){return e.validate(t)}:e}function S(e){return e.validate?function(t){return e.validate(t)}:e}var O=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}),[{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)}}])}(),x=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._accessors=[]}),[{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;
1this._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}}])}(),P=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this._renderer=t,this._elementRef=n,this._registry=r,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}),[{key:"ngOnInit",value:function(){this._control=this._injector.get(p),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 ')}}])}(),T='\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 });',B='\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 });',D='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',M=function(){return _createClass2((function e(){_classCallCheck2(this,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 "+T)}},{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(B,"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ").concat(D))}},{key:"missingFormException",value:function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+T)}},{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 "+B)}},{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
1in 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 "))}}])}();function I(e,t){return[].concat(_toConsumableArray2(t.path),[e])}function R(e,t){e||N(t,"Cannot find control with"),t.valueAccessor||N(t,"No value accessor for form control with"),e.validator=b.compose([e.validator,t.validator]),e.asyncValidator=b.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&&F(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&&F(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 F(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function L(e,t){null==e&&N(t,"Cannot find control with"),e.validator=b.compose([e.validator,t.validator]),e.asyncValidator=b.composeAsync([e.asyncValidator,t.asyncValidator])}function U(e){return N(e,"There is no FormControl instance attached to form control element with")}function N(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 j(e){return null!=e?b.compose(e.map(E)):null}function H(e){return null!=e?b.composeAsync(e.map(S)):null}function Q(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(r["\u0275looseIdentical"])(t,n.currentValue)}var V=[function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}),[{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)}}])}(),function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}),[{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)}}])}(),O,function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=r["\u0275looseIdentical"]}),[{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}},{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r),e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}])}(),function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=r["\u0275looseIdentical"]}
1),[{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}},{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 l=n.options,u=0;u<l.length;u++){var c=l.item(u);if(c.selected){var h=t._getOptionValue(c.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}}])}(),P];function K(e,t){e._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function W(e,t){if(!t)return null;Array.isArray(t)||N(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===c?n=t:(o=t,V.some((function(e){return o.constructor===e}))?(r&&N(e,"More than one built-in value accessor matches form control with"),r=t):(i&&N(e,"More than one custom value accessor matches form control with"),i=t))})),i||r||n||(N(e,"No valid value accessor for form control with"),null)}function z(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function q(e,t,n,i){Object(r.isDevMode)()&&"never"!==i&&((null!==i&&"once"!==i||t._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(M.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function Y(e){var t=X(e)?e.validators:e;return Array.isArray(t)?j(t):t||null}function G(e,t){var n=X(t)?t.asyncValidators:e;return Array.isArray(n)?H(n):n||null}function X(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var J=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.validator=t,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}),[{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:"setValidators",value:function(e){this.validator=Y(e)}},{key:"setAsyncValidators",value:function(e){this.asyncValidator=G(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]:{};
vendor: 11,580 bytes, line 1
1this.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({},e,{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(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({},e,{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(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=w(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){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce((function(e,t){return e instanceof $?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof ee&&e.at(t)||null}),e))}(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:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{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 r.EventEmitter,this.statusChanges=new r.EventEmitter}},{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){X(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}])}(),Z=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return _classCallCheck2(this,t),(e=_callSuper(this,t,[Y(r),G(i,r)]))._onChange=[],e._applyFormState(n),e._setUpdateStrategy(r),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return _inherits2(t,e),_createClass2(t,[{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}}])}(J),$=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[Y(n),G(r,n)])).controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return _inherits2(t,e),_createClass2(t,[{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 Z?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("Mu
1st supply a value for form control with name: '".concat(n,"'."))}))}}])}(J),ee=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t,[Y(n),G(r,n)])).controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return _inherits2(t,e),_createClass2(t,[{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:"length",get:function(){return this.controls.length}},{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 Z?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("Mu
1st supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper2(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)}}])}(J),te=Promise.resolve(null),ne=function(e){function t(e,n){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t)).submitted=!1,i._directives=[],i.ngSubmit=new r.EventEmitter,i.form=new $({},j(e),H(n)),i}return _inherits2(t,e),_createClass2(t,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;te.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),R(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;te.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),z(t._directives,e)}))}},{key:"addFormGroup",value:function(e){var t=this;te.then((function(){var n=t._findContainer(e.path),r=new $({});L(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(e){var t=this;te.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;te.then((function(){n.form.get(e.path).setValue(t)}))}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,K(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}])}(d),re=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),null,[{key:"modelParentException",value:function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '.concat(T,'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n '))}},{key:"formGroupNameException",value:function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ".concat(B,"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ").concat(D))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}},{key:"modelGroupParentException",value:function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ".concat(B,"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ").concat(D))}},{key:"ngFormWarning",value:function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated
1in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")}}])}(),ie=new r.InjectionToken("NgFormSelectorWarning"),oe=function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return I(this.name,this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return j(this._validators)}},{key:"asyncValidator",get:function(){return H(this._asyncValidators)}},{key:"_checkParentType",value:function(){}}])}(d),ae=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t))._parent=e,i._validators=n,i._asyncValidators=r,i}return _inherits2(t,e),_createClass2(t,[{key:"_checkParentType",value:function(){this._parent instanceof t||this._parent instanceof ne||re.modelGroupParentException()}}])}(oe),se=Promise.resolve(null),le=function(e){function t(e,n,i,o){var a;return _classCallCheck2(this,t),(a=_callSuper(this,t)).control=new Z,a._registered=!1,a.update=new r.EventEmitter,a._parent=e,a._rawValidators=n||[],a._rawAsyncValidators=i||[],a.valueAccessor=W(_assertThisInitialized2(a),o),a}return _inherits2(t,e),_createClass2(t,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Q(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?I(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return j(this._rawValidators)}},{key:"asyncValidator",get:function(){return H(this._rawAsyncValidators)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){R(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof ae)&&this._parent instanceof oe?re.formGroupNameException():this._parent instanceof ae||this._parent instanceof ne||re.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||re.missingNameException()}},{key:"_updateValue",value:function(e){var t=this;se.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;se.then((function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()}))}}])}(p),ue=_createClass2((function e(){_classCallCheck2(this,e)})),ce=new r.InjectionToken("NgModelWithFormControlWarning"),he=function(){var e=function(e){function t(e,n,i,o){var a;return _classCallCheck2(this,t),(a=_callSuper(this,t))._ngModelWarningConfig=o,a.update=new r.EventEmitter,a._ngModelWarningSent=!1,a._rawValidators=e||[],a._rawAsyncValidators=n||[],a.valueAccessor=W(_assertThisInitialized2(a),i),a}
1return _inherits2(t,e),_createClass2(t,[{key:"isDisabled",set:function(e){M.disabledAttrWarning()}},{key:"ngOnChanges",value:function(e){this._isControlChanged(e)&&(R(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),Q(e,this.viewModel)&&(q("formControl",t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}},{key:"path",get:function(){return[]}},{key:"validator",get:function(){return j(this._rawValidators)}},{key:"asyncValidator",get:function(){return H(this._rawAsyncValidators)}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}}])}(p);return e._ngModelWarningSentOnce=!1,e}(),de=function(e){function t(e,n){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t))._validators=e,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new r.EventEmitter,i}return _inherits2(t,e),_createClass2(t,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return R(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){z(this.directives,e)}},{key:"addFormGroup",value:function(e){var t=this.form.get(e.path);L(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);L(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,K(this.form,this.directives),this.ngSubmit.emit(e),!1}},{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 U(t)})),t.valueAccessor.registerOnTouched((function(){return U(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&&R(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=j(this._validators);this.form.validator=b.compose([this.form.validator,e]);var t=H(this._asyncValidators);this.form.asyncValidator=b.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){this.form||M.missingFormException()}}])}(d),fe=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t))._parent=e,i._validators=n,i._asyncValidators=r,i}return _inherits2(t,e),_createClass2(t,[{key:"_checkParentType",value:function(){ge(this._parent)&&M.groupParentException()}}])}(oe),pe=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t))._parent=e,i._validators=n,i._asyncValidators=r,i}return _inherits2(t,e),_createClass2(t,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{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 I(this.name,this._parent)}}
1,{key:"validator",get:function(){return j(this._validators)}},{key:"asyncValidator",get:function(){return H(this._asyncValidators)}},{key:"_checkParentType",value:function(){ge(this._parent)&&M.arrayParentException()}}])}(d);function ge(e){return!(e instanceof fe||e instanceof de||e instanceof pe)}var _e=function(){var e=function(e){function t(e,n,i,o,a){var s;return _classCallCheck2(this,t),(s=_callSuper(this,t))._ngModelWarningConfig=a,s._added=!1,s.update=new r.EventEmitter,s._ngModelWarningSent=!1,s._parent=e,s._rawValidators=n||[],s._rawAsyncValidators=i||[],s.valueAccessor=W(_assertThisInitialized2(s),o),s}return _inherits2(t,e),_createClass2(t,[{key:"isDisabled",set:function(e){M.disabledAttrWarning()}},{key:"ngOnChanges",value:function(e){this._added||this._setUpControl(),Q(e,this.viewModel)&&(q("formControlName",t,this,this._ngModelWarningConfig),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:"path",get:function(){return I(this.name,this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return j(this._rawValidators)}},{key:"asyncValidator",get:function(){return H(this._rawAsyncValidators)}},{key:"_checkParentType",value:function(){!(this._parent instanceof fe)&&this._parent instanceof oe?M.ngModelGroupException():this._parent instanceof fe||this._parent instanceof de||this._parent instanceof pe||M.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}}])}(p);return e._ngModelWarningSentOnce=!1,e}(),Ae=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}},{key:"validate",value:function(e){return this.required?b.required(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}])}(),ve=_createClass2((function e(){_classCallCheck2(this,e)})),me=function(){return _createClass2((function e(){_classCallCheck2(this,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 $(n,{asyncValidators:i,updateOn:o,validators:r})}},{key:"control",value:function(e,t,n){return new Z(e,t,n)}},{key:"array",value:function(e,t,n){var r=this,i=e.map((function(e){return r._createControl(e)}));return new ee(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 Z||e instanceof $||e instanceof ee?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}])}(),ye=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:ie,useValue:t.warnOnDeprecatedNgFormSelector}]}}}])}(),be=function(){function e(){_classCallCheck2(this,e)}return _createClass2(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:ce,useValue:t.warnOnNgModelWithFormControl}]}}}])}()},sGj0:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n("yK//"),n("y4HL"),n("j+ll");var r={title:"Dashboard / 1-Check"},i=_createClass2((function e(){_classCallCheck2(this,e)}))},sKXY:function(e,t,n){"use strict";var r=function(){var e=_createClass2((function e(){_classCallCheck2(this,e)}));return e.Orders="api/v1/orders",e.Payments="api/v1/payments",e.Documents="api/v1/documents",e.Configuration="api/v1/configuration",e.Users="api/v1/users",e}(),i=function(e){return e[e.CommencementDocument=1]="CommencementDocument",e[e.PrimaryDocument=2]="PrimaryDocument",e[e.Secondary
1Document=3]="SecondaryDocument",e[e.SecondaryDocument2=4]="SecondaryDocument2",e[e.Selfie=5]="Selfie",e[e.Signature=6]="Signature",e[e.GuardianSignature=16]="GuardianSignature",e[e.Consent=7]="Consent",e}({}),o=function(e){return e[e.Australia=1]="Australia",e[e.Foreign=2]="Foreign",e[e.Both=3]="Both",e}({}),a=function(e){return e[e.New=1]="New",e[e.Failed=299]="Failed",e[e.IdProcessing=300]="IdProcessing",e[e.IdApproved=301]="IdApproved",e[e.NPCProcessing=302]="NPCProcessing",e[e.Complete=303]="Complete",e}({}),s=function(e){return e[e.None=0]="None",e[e.Pending=1]="Pending",e[e.Failed=2]="Failed",e[e.Reversed=3]="Reversed",e[e.Succeeded=4]="Succeeded",e[e.Refunded=5]="Refunded",e}({}),l=function(e){return e[e.SelectCheck=1]="SelectCheck",e[e.ContactDetails=2]="ContactDetails",e[e.Purpose=3]="Purpose",e[e.OtherNames=4]="OtherNames",e[e.Addresses=5]="Addresses",e[e.FurtherDetails=6]="FurtherDetails",e[e.Documents=7]="Documents",e[e.Payment=8]="Payment",e[e.BirthDocument=9]="BirthDocument",e[e.PrimaryDocument=10]="PrimaryDocument",e[e.SecondaryDocument=11]="SecondaryDocument",e[e.SecondaryDocument2=12]="SecondaryDocument2",e[e.Selfie=13]="Selfie",e[e.Consent=14]="Consent",e[e.Priority=15]="Priority",e[e.Verification=16]="Verification",e[e.Completed=17]="Completed",e}({});n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l}))},sVev:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=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}()},syJT:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e.SET_USER="SET_USER",e}({})},tS1D:function(e,t,n){"use strict";var r=n("D0XW"),i=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}(),o=n("mlxB"),a=n("l7GE"),s=n("ZUHj"),l=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this.waitFor=t,this.absoluteTimeout=n,this.withObservable=r,this.scheduler=i}),[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}])}(),u=function(e){function t(e,n,r,i,o){var a;return _classCallCheck2(this,t),(a=_callSuper(this,t,[e])).absoluteTimeout=n,a.waitFor=r,a.withObservable=i,a.scheduler=o,a.action=null,a.scheduleTimeout(),a}return _inherits2(t,e),_createClass2(t,[{key:"scheduleTimeout",value:function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(t.dispatchTimeout,this.waitFor,this))}},{key:"_next",value:function(e){this.absoluteTimeout||this.scheduleTimeout(),_superPropGet(t,"_next",this,3)([e])}},{key:"_unsubscribe",value:function(){this.action=null,this.scheduler=null,this.withObservable=null}}],[{key:"dispatchTimeout",value:function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add(Object(s.a)(e,t))}}])}(a.a),c=n("z6cu");function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.a;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.a;return function(r){var i=Object(o.a)(e),a=i?+e-n.now():Math.abs(e);return r.lift(new l(a,i,t,n))}}(e,Object(c.a)(new i),t)}n.d(t,"a",(function(){return h}))},teW0:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("mrSG"),i=n("IheW"),o=n("SxV6"),a=n("AytR"),s=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.httpClient=t,this.regexDateISO=new RegExp("^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2}(?:\\.\\d*)?)(?:Z|(\\+|-)([\\d|:]*))?$","mi")}),[{key:"endpoint",value:function(e){return e=e.startsWith("/")?e:"/"+e,"".concat(a.a.apiEndpoint).concat(e)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.endpoint(e);return this.httpClient.get(n,{params:t||{}}).pipe(Object(o.a)())}},{key:"post",value:function(e,t){var n=this.endpoint(e);return this.httpClient.post(n,t).pipe(Object(o.a)())}},{key:"put",value:function(e,t){var n=this.endpoint(e);return this.httpClient.put(n,t).pipe(Object(o.a)())}},{key:"delete",value:function(e){var t=this.endpoint(e);return this.httpClient.delete(t).pipe(Object(o.a)())}},{key:"getBlob",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.endpoint(e);return this.httpClient.get(n,{params:t||{},responseType:"blob"})}},{key:"mapDates",value:function(e){var t=this;return e&&Object.keys(e).forEach((function(n){e[n]&&"string"==typeof e[n]&&t.regexDateISO.test(e[n])?e[n]=new Date(e[n]):e[n]&&Array.isArray(e[n])&&e[n].forEac
1h((function(e){return t.mapDates(e)}))})),e}},{key:"downloadFile",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return r.b(this,void 0,void 0,_regenerator2().m((function r(){var a,s,l,u,c,h;return _regenerator2().w((function(r){for(;;)switch(r.n){case 0:if(s=(s=new i.g).set("Accept","application/pdf"),!n){r.n=2;break}return r.n=1,this.httpClient.post(e,n,{headers:s,responseType:"blob"}).pipe(Object(o.a)()).toPromise();case 1:h=r.v,r.n=4;break;case 2:return r.n=3,this.httpClient.get(e,{headers:s,responseType:"blob"}).pipe(Object(o.a)()).toPromise();case 3:h=r.v;case 4:if(!(a=h)){r.n=5;break}l=new Blob([a],{type:"application/pdf"}),u=window.URL.createObjectURL(l),(c=document.createElement("a")).href=u,c.download=t,c.click();case 5:return r.a(2)}}),r,this)})))}},{key:"openFileInNewWindow",value:function(e){return r.b(this,void 0,void 0,_regenerator2().m((function t(){var n;return _regenerator2().w((function(t){for(;;)switch(t.n){case 0:(n=document.createElement("a")).href=e,n.target="_blank",n.click();case 1:return t.a(2)}}),t)})))}}])}()},uilG:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l}));var r=n("8Y7J"),i=n("aLe/"),o=n("SVse"),a=r["\u0275crt"]({encapsulation:2,styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:-webkit-box;display:flex;flex-direction:column;height:auto;min-width:0;min-height:0;-webkit-box-direction:column;-webkit-box-orient:column}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:-webkit-box;display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-direction:inherit;-webkit-box-flex:1;-webkit-box-orient:inherit;-webkit-box-pack:inherit},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important;-webkit-box-direction:row!important;-webkit-box-orient:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important;-webkit-box-direction:column!important;-webkit-box-orient:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{position:absolute;opacity:0;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;-webkit-transition:width .2s linear,opacity .2s linear,background-color .2s linear;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;-webkit-transition:height .2s linear,opacity .2s linear,background-color .2s linear;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:-webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to bottom,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:-webkit-gradient(linear,left bottom,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:-webkit-gradient(linear,left top,right top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to right,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:-webkit-gradient(linear,right top,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:-webkit-gradient(linear,left top,left bottom,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to bottom,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:-webkit-gradient(linear,left bottom,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to top,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:-webkit-gradient(linear,left top,right top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to right,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:-webkit-gradient(linear,right top,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to left,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ps{overflow:auto!important}}"],data:{}});function s(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","ps-overlay"]],[[2,"ps-at-top",null],[2,"ps-at-left",null],[2,"ps-at-right",null],[2,"ps-at-bottom",null]],null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,0,"div",[["class","ps-indicator-top"]],[[2,"ps-indicator-show",null]],null,null,null,null)),(e()(),r["\u0275eld"](2,0,null,null,0,"div",[["class","ps-indicator-left"]],[[2,"ps-indicator-show",null]],null,null,null,null)),(e()(),r["\u0275eld"](3,0,null,null,0,"div",[["class","ps-indicator-right"]],[[2,"ps-indicator-show",null]],null,null,null,null)),(e()(),r["\u0275eld"](4,0,null,null,0,"div",[["class","ps-indicator-bottom"]],[[2,"ps-indicator-show",null]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.states.top,n.states.left,n.states.right,n.states.bottom),e(t,1,0,n.indicatorY&&n.interaction),e(t,2,0,n.indicatorX&&n.interaction),e(t,3,0,n.indicatorX&&n.interaction),e(t,4,0,n.indicatorY&&n.interaction)}))}function l(e){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{directiveRef:0}),(e()(),r["\u0275eld"](1,0,null,null,5,"div",[["style","position: static;"]],[[2,"ps",null]],null,null,null,null)),r["\u0275did"](2,999424,[[1,4]],0,i.c,[r.
1NgZone,r.KeyValueDiffers,r.ElementRef,r.PLATFORM_ID,[2,i.a]],{disabled:[0,"disabled"],config:[1,"config"]},null),(e()(),r["\u0275eld"](3,0,null,null,1,"div",[["class","ps-content"]],null,null,null,null,null)),r["\u0275ncd"](null,0),(e()(),r["\u0275and"](16777216,null,null,1,null,s)),r["\u0275did"](6,16384,null,0,o.n,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.disabled,n.config),e(t,6,0,n.scrollIndicators)}),(function(e,t){e(t,1,0,t.component.usePSClass)}))}},vFt6:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("9AQC");function i(e){try{for(var t=e,n=[],r=0,i=0,a=" > ".length,s=void 0;t&&r++<5&&!("html"===(s=o(t))||r>1&&i+n.length*a+s.length>=80);)n.push(s),i+=s.length,t=t.parentNode;return n.reverse().join(" > ")}catch(l){return"<unknown>"}}function o(e){var t,n,i,o,a,s=e,l=[];if(!s||!s.tagName)return"";if(l.push(s.tagName.toLowerCase()),s.id&&l.push("#"+s.id),(t=s.className)&&Object(r.k)(t))for(n=t.split(/\s+/),a=0;a<n.length;a++)l.push("."+n[a]);var u=["type","name","title","alt"];for(a=0;a<u.length;a++)(o=s.getAttribute(i=u[a]))&&l.push("["+i+'="'+o+'"]');return l.join("")}},vkgz:function(e,t,n){"use strict";var r=n("7o/Q");function i(){}var o=n("n6bG");function a(e,t,n){return function(r){return r.lift(new s(e,t,n))}}n.d(t,"a",(function(){return a}));var s=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.nextOrObserver=t,this.error=n,this.complete=r}),[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.nextOrObserver,this.error,this.complete))}}])}(),l=function(e){function t(e,n,r,a){var s;return _classCallCheck2(this,t),(s=_callSuper(this,t,[e]))._tapNext=i,s._tapError=i,s._tapComplete=i,s._tapError=r||i,s._tapComplete=a||i,Object(o.a)(n)?(s._context=_assertThisInitialized2(s),s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||i,s._tapError=n.error||i,s._tapComplete=n.complete||i),s}return _inherits2(t,e),_createClass2(t,[{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()}}])}(r.a)},w1tV:function(e,t,n){"use strict";var r=n("XNiG"),i=n("HDdC"),o=n("7o/Q"),a=n("quSY");function s(){return function(e){return e.lift(new u(e))}}var l,u=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.connectable=t}),[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new c(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}])}(),c=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).connectable=n,r}return _inherits2(t,e),_createClass2(t,[{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}}])}(o.a),h=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t)).source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return _inherits2(t,e),_createClass2(t,[{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 a.a).add(this.source.subscribe(new f(this.getSubject(),this))),e.closed&&(this._connection=null,e=a.a.EMPTY)),e}},{key:"refCount",value:function(){return s()(this)}}])}(i.a),d={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(l=h.prototype)._subscribe},_isComplete:{value:l._isComplete,writable:!0},getSubject:{value:l.getSubject},connect:{value:l.connect},refCount:{value:l.refCount}},f=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).connectable=n,r}
1return _inherits2(t,e),_createClass2(t,[{key:"_error",value:function(e){this._unsubscribe(),_superPropGet(t,"_error",this,3)([e])}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_superPropGet(t,"_complete",this,3)([])}},{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()}}}])}(r.b);function p(){return new r.a}function g(){return function(e){return s()((t=p,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,d);return r.source=e,r.subjectFactory=n,r})(e));var t}}n.d(t,"a",(function(){return g}))},wOnQ:function wOnQ(module,exports,__webpack_require__){var factory;window,factory=function factory(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/index.js")}({
vendor: 23,915 bytes, line 1
1"./node_modules/css-line-break/dist/LineBreak.js":function _node_modules_cssLineBreak_dist_LineBreakJs(module,exports,__webpack_require__){"use strict";eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LineBreaker = exports.inlineBreakOpportunities = exports.lineBreakAtIndex = exports.codePointsToCharacterClasses = exports.UnicodeTrie = exports.BREAK_ALLOWED = exports.BREAK_NOT_ALLOWED = exports.BREAK_MANDATORY = exports.classes = exports.LETTER_NUMBER_MODIFIER = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _Trie = __webpack_require__(/*! ./Trie */ \"./node_modules/css-line-break/dist/Trie.js\");\n\nvar _linebreakTrie = __webpack_require__(/*! ./linebreak-trie */ \"./node_modules/css-line-break/dist/linebreak-trie.js\");\n\nvar _linebreakTrie2 = _interopRequireDefault(_linebreakTrie);\n\nvar _Util = __webpack_require__(/*! ./Util */ \"./node_modules/css-line-break/dist/Util.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar LETTER_NUMBER_MODIFIER = exports.LETTER_NUMBER_MODIFIER = 50;\n\n// Non-tailorable Line Breaking Classes\nvar BK = 1; // Cause a line break (after)\nvar CR = 2; // Cause a line break (after), except between CR and LF\nvar LF = 3; // Cause a line break (after)\nvar CM = 4; // Prohibit a line break between the character and the preceding character\nvar NL = 5; // Cause a line break (after)\nvar SG = 6; // Do not occur in well-formed text\nvar WJ = 7; // Prohibit line breaks before and after\nvar ZW = 8; // Provide a break opportunity\nvar GL = 9; // Prohibit line breaks before and after\nvar SP = 10; // Enable indirect line breaks\nvar ZWJ = 11; // Prohibit line breaks within joiner sequences\n// Break Opportunities\nvar B2 = 12; // Provide a line break opportunity before and after the character\nvar BA = 13; // Generally provide a line break opportunity after the character\nvar BB = 14; // Generally provide a line break opportunity before the character\nvar HY = 15; // Provide a line break opportunity after the character, except in numeric context\nvar CB = 16; // Provide a line break opportunity contingent on additional information\n// Characters Prohibiting Certain Breaks\nvar CL = 17; // Prohibit line breaks before\nvar CP = 18; // Prohibit line breaks before\nvar EX = 19; // Prohibit line breaks before\nvar IN = 20; // Allow only indirect line breaks between pairs\nvar NS = 21; // Allow only indirect line breaks before\nvar OP = 22; // Prohibit line breaks after\nvar QU = 23; // Act like they are both opening and closing\n// Numeric Context\nvar IS = 24; // Prevent breaks after any and before numeric\nvar NU = 25; // Form numeric expressions for line breaking purposes\nvar PO = 26; // Do not break following a numeric expression\nvar PR = 27; // Do not break in front of a numeric expression\nvar SY = 28; // Prevent a break before; and allow a break after\n// Other Characters\nvar AI = 29; // Act like AL when the resolvedEAW is N; otherwise; act as ID\nvar AL = 30; // Are alphabetic characters or symbols that are used with alphabetic characters\nvar CJ = 31; // Treat as NS or ID for strict or normal breaking.\nvar EB = 32; // Do not break from following Emoji Modifier\nvar EM = 33; // Do not break from preceding Emoji Base\nvar H2 = 34; // Form Korean syllable blocks\nvar H3 = 35; // Form Korean syllable blocks\nvar HL = 36; // Do not break around a following hyphen; otherwise act as Alphabetic\nvar ID = 37; // Break before or after; except in some numeric context\nvar JL = 38; // Form Korean syllable blocks\nvar JV = 39; // Form Korean syllable blocks\nvar JT = 40; // Form Korean syllable blocks\nvar RI = 41; // Keep pairs together. For pairs; break before and after other classes\nvar SA = 42; // Provide a line break opportunity contingent on additional, language-specific context analysis\nvar XX = 43; // Have as yet unknown line breaking behavior or unassigned code positions\n\nvar classes = exports.classes = {\n BK: BK,\n CR: CR,\n LF: LF,\n CM: CM,\n NL: NL,\n SG: SG,\n WJ: WJ,\n ZW: ZW,\n GL: GL,\n SP: SP,\n ZWJ: ZWJ,\n B2: B2,\n BA: BA,\n BB: BB,\n HY: HY,\n CB: CB,\n CL: CL,\n CP: CP,\n EX: EX,\n IN: IN,\n NS: NS,\n OP: OP,\n QU: QU,\n IS: IS,\n NU: NU,\n PO: PO,\n PR: PR,\n SY: SY,\n AI: AI,\n AL: AL,\n CJ: CJ,\n EB: EB,\n EM: EM,\n H2: H2,\n H3: H3,\n HL: HL,\n ID: ID,\n JL: JL,\n JV: JV,\n JT: JT,\n RI: RI,\n SA: SA,\n XX: XX\n};\n\nvar BREAK_MANDATORY = exports.BREAK_MANDATORY = '!';\nvar BREAK_NOT_ALLOWED = exports.BREAK_NOT_ALLOWED = '\xd7';\nvar BREAK_ALLOWED = exports.BREAK_ALLOWED = '\xf7';\nvar UnicodeTrie = exports.UnicodeTrie = (0, _Trie.createTrieFromBase64)(_linebreakTrie2.default);\n\nvar ALPHABETICS = [AL, HL];\nvar HARD_LINE_BREAKS = [BK, CR, LF, NL];\nvar SPACE = [SP, ZW];\nvar PREFIX_POSTFIX = [PR, PO];\nvar LINE_BREAKS = HARD_LINE_BREAKS.concat(SPACE);\nvar KOREAN_SYLLABLE_BLOCK = [JL, JV, JT, H2, H3];\nvar HYPHEN = [HY, BA];\n\nvar codePointsToCharacterClasses = exports.codePointsToCharacterClasses = function codePointsToCharacterClasses(codePoints) {\n var lineBreak = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'strict';\n\n var types = [];\n var indicies = [];\n var categories = [];\n codePoints.forEach(function (codePoint, index) {\n var classType = UnicodeTrie.get(codePoint);\n if (classType > LETTER_NUMBER_MODIFIER) {\n categories.push(true);\n classType -= LETTER_NUMBER_MODIFIER;\n } else {\n categories.push(false);\n }\n\n if (['normal', 'auto', 'loose'].indexOf(lineBreak) !== -1) {\n // U+2010, \u2013 U+2013, \u301c U+301C, \u30a0 U+30A0\n if ([0x2010, 0x2013, 0x301c, 0x30a0].indexOf(codePoint) !== -1) {\n indicies.push(index);\n return types.push(CB);\n }\n }\n\n if (classType === CM || classType === ZWJ) {\n // LB10 Treat any remaining combining mark or ZWJ as AL.\n if (index === 0) {\n indicies.push(index);\n return types.push(AL);\n }\n\n // LB9 Do not break a combining character sequence; treat it as if it has the line breaking class of\n // the base character in all of the following rules. Treat ZWJ as if it were CM.\n var prev = types[index - 1];\n if (LINE_BREAKS.indexOf(prev) === -1) {\n indicies.push(indicies[index - 1]);\n return types.push(prev);\n }\n indicies.push(index);\n return types.push(AL);\n }\n\n indicies.push(index);\n\n if (classType === CJ) {\n return types.push(lineBreak === 'strict' ? NS : ID);\n }\n\n if (classType === SA) {\n return types.push(AL);\n }\n\n if (classType === AI) {\n return types.push(AL);\n }\n\n // For supplementary characters, a useful default is to treat characters in the range 10000..1FFFD as AL\n // and characters in the ranges 20000..2FFFD and 30000..3FFFD as ID, until the implementation can be revised\n // to take into account the actual line breaking properties for these characters.\n if (classType === XX) {\n if (codePoint >= 0x20000 && codePoint <= 0x2fffd || codePoint >= 0x30000 && codePoint <= 0x3fffd) {\n return types.push(ID);\n } else {\n return types.push(AL);\n }\n }\n\n types.push(classType);\n });\n\n return [indicies, types, categories];\n};\n\nvar isAdjacentWithSpaceIgnored = function isAdjacentWithSpaceIgnored(a, b, currentIndex, classTypes) {\n var current = classTypes[currentIndex];\n if (Array.isArray(a) ? a.indexOf(current) !== -1 : a === current) {\n var i = currentIndex;\n while (i <= classTypes.length) {\n i++;\n var next = classTypes[i];\n\n if (next === b) {\n return true;\n }\n\n if (next !== SP) {\n break;\n }\n }\n }\n\n if (current === SP) {\n var _i = currentIndex;\n\n while (_i > 0) {\n _i--;\n var prev = classTypes[_i];\n\n if (Array.isArray(a) ? a.indexOf(prev) !== -1 : a === prev) {\n var n = currentIndex;\n while (n <= classTypes.length) {\n n++;\n var _next = classTypes[n];\n\n if (_next === b) {\n return true;\n }\n\n if (_next !== SP) {\n break;\n }\n }\n }\n\n if (prev !== SP) {\n break;\n }\n }\n }\n return false;\n};\n\nvar previousNonSpaceClassType = function previousNonSpaceClassType(currentIndex, classTypes) {\n var i = currentIndex;\n while (i >= 0) {\n var type = classTypes[i];\n if (type === SP) {\n i--;\n } else {\n return type;\n }\n }\n return 0;\n};\n\nvar _lineBreakAtIndex = function _lineBreakAtIndex(codePoints, classTypes, indicies, index, forbiddenBreaks) {\n if (indicies[index] === 0) {\n return BREAK_NOT_ALLOWED;\n }\n\n var currentIndex = index - 1;\n if (Array.isArray(forbiddenBreaks) && forbiddenBreaks[currentIndex] === true) {\n return BREAK_NOT_ALLOWED;\n }\n\n var beforeIndex = currentIndex - 1;\n var afterIndex = currentIndex + 1;\n var current = classTypes[currentIndex];\n\n // LB4 Always break after hard line breaks.\n // LB5 Treat CR followed by LF, as well as CR, LF, and NL as hard line breaks.\n var before = beforeIndex >= 0 ? classTypes[beforeIndex] : 0;\n var next = classTypes[afterIndex];\n\n if (current === CR && next === LF) {\n return BREAK_NOT_ALLOWED;\n }\n\n if (HARD_LINE_BREAKS.indexOf(current) !== -1) {\n return BREAK_MANDATORY;\n }\n\n // LB6 Do not break before hard line breaks.\n if (HARD_LINE_BREAKS.indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB7 Do not break before spaces or zero width space.\n if (SPACE.indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB8 Break before any character following a zero-width space, even if one or more spaces intervene.\n if (previousNonSpaceClassType(currentIndex, classTypes) === ZW) {\n return BREAK_ALLOWED;\n }\n\n // LB8a Do not break between a zero width joiner and an ideograph, emoji base or emoji modifier.\n if (UnicodeTrie.get(codePoints[currentIndex]) === ZWJ && (next === ID || next === EB || next === EM)) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB11 Do not break before or after Word joiner and related characters.\n if (current === WJ || next === WJ) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB12 Do not break after NBSP and related characters.\n if (current === GL) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB12a Do not break before NBSP and related characters, except after spaces and hyphens.\n if ([SP, BA, HY].indexOf(current) === -1 && next === GL) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB13 Do not break before \u2018]\u2019 or \u2018!\u2019 or \u2018;\u2019 or \u2018/\u2019, even after spaces.\n if ([CL, CP, EX, IS, SY].indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB14 Do not break after \u2018[\u2019, even after spaces.\n if (previousNonSpaceClassType(currentIndex, classTypes) === OP) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB15 Do not break within \u2018\u201d[\u2019, even with intervening spaces.\n if (isAdjacentWithSpaceIgnored(QU, OP, currentIndex, classTypes)) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB16 Do not break between closing punctuation and a nonstarter (lb=NS), even with intervening spaces.\n if (isAdjacentWithSpaceIgnored([CL, CP], NS, currentIndex, classTypes)) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB17 Do not break within \u2018\u2014\u2014\u2019, even with intervening spaces.\n if (isAdjacentWithSpaceIgnored(B2, B2, currentIndex, classTypes)) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB18 Break after spaces.\n if (current === SP) {\n return BREAK_ALLOWED;\n }\n\n // LB19 Do not break before or after quotation marks, such as \u2018 \u201d \u2019.\n if (current === QU || next === QU) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB20 Break before and after unresolved CB.\n if (next === CB || current === CB) {\n return BREAK_ALLOWED;\n }\n\n // LB21 Do not break before hyphen-minus, other hyphens, fixed-width spaces, small kana, and other non-starters, or after acute accents.\n if ([BA, HY, NS].indexOf(next) !== -1 || current === BB) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB21a Don't break after Hebrew + Hyphen.\n if (before === HL && HYPHEN.indexOf(current) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB21b Don\u2019t break between Solidus and Hebrew letters.\n if (current === SY && next === HL) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB22 Do not break between two ellipses, or between letters, numbers or exclamations and ellipsis.\n if (next === IN && ALPHABETICS.concat(IN, EX, NU, ID, EB, EM).indexOf(current) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB23 Do not break between digits and letters.\n if (ALPHABETICS.indexOf(next) !== -1 && current === NU || ALPHABETICS.indexOf(current) !== -1 && next === NU) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB23a Do not break between numeric prefixes and ideographs, or between ideographs and numeric postfixes.\n if (current === PR && [ID, EB, EM].indexOf(next) !== -1 || [ID, EB, EM].indexOf(current) !== -1 && next === PO) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB24 Do not break between numeric prefix/postfix and letters, or between letters and prefix/postfix.\n if (ALPHABETICS.indexOf(current) !== -1 && PREFIX_POSTFIX.indexOf(next) !== -1 || PREFIX_POSTFIX.indexOf(current) !== -1 && ALPHABETICS.indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB25 Do not break between the following pairs of classes relevant to numbers:\n if (\n // (PR | PO) \xd7 ( OP | HY )? NU\n [PR, PO].indexOf(current) !== -1 && (next === NU || [OP, HY].indexOf(next) !== -1 && classTypes[afterIndex + 1] === NU) ||\n // ( OP | HY ) \xd7 NU\n [OP, HY].indexOf(current) !== -1 && next === NU ||\n // NU \xd7\t(NU | SY | IS)\n current === NU && [NU, SY, IS].indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // NU (NU | SY | IS)* \xd7 (NU | SY | IS | CL | CP)\n if ([NU, SY, IS, CL, CP].indexOf(next) !== -1) {\n var prevIndex = currentIndex;\n while (prevIndex >= 0) {\n var type = classTypes[prevIndex];\n if (type === NU) {\n return BREAK_NOT_ALLOWED;\n } else if ([SY, IS].indexOf(type) !== -1) {\n prevIndex--;\n } else {\n break;\n }\n }\n }\n\n // NU (NU | SY | IS)* (CL | CP)? \xd7 (PO | PR))\n if ([PR, PO].indexOf(next) !== -1) {\n var _prevIndex = [CL, CP].indexOf(current) !== -1 ? beforeIndex : currentIndex;\n while (_prevIndex >= 0) {\n var _type = classTypes[_prevIndex];\n if (_type === NU) {\n return BREAK_NOT_ALLOWED;\n } else if ([SY, IS].indexOf(_type) !== -1) {\n _prevIndex--;\n } else {\n break;\n }\n }\n }\n\n // LB26 Do not break a Korean syllable.\n if (JL === current && [JL, JV, H2, H3].indexOf(next) !== -1 || [JV, H2].indexOf(current) !== -1 && [JV, JT].indexOf(next) !== -1 || [JT, H3].indexOf(current) !== -1 && next === JT) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB27 Treat a Korean Syllable Block the same as ID.\n if (KOREAN_SYLLABLE_BLOCK.indexOf(current) !== -1 && [IN, PO].indexOf(next) !== -1 || KOREAN_SYLLABLE_BLOCK.indexOf(next) !== -1 && current === PR) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB28 Do not break between alphabetics (\u201cat\u201d).\n if (ALPHABETICS.indexOf(current) !== -1 && ALPHABETICS.indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB29 Do not break between numeric punctuation and alphabetics (\u201ce.g.\u201d).\n if (current === IS && ALPHABETICS.indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB30 Do not break between letters, numbers, or ordinary symbols and opening or closing parentheses.\n if (ALPHABETICS.concat(NU).indexOf(current) !== -1 && next === OP || ALPHABETICS.concat(NU).indexOf(next) !== -1 && current === CP) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB30a Break between two regional indicator symbols if and only if there are an even number of regional\n // indicators preceding the position of the break.\n if (current === RI && next === RI) {\n var i = indicies[currentIndex];\n var count = 1;\n while (i > 0) {\n i--;\n if (classTypes[i] === RI) {\n count++;\n } else {\n break;\n }\n }\n if (count % 2 !== 0) {\n return BREAK_NOT_ALLOWED;\n }\n }\n\n // LB30b Do not break between an emoji base and an emoji modifier.\n if (current === EB && next === EM) {\n return BREAK_NOT_ALLOWED;\n }\n\n return BREAK_ALLOWED;\n};\n\nvar lineBreakAtIndex = exports.lineBreakAtIndex = function lineBreakAtIndex(codePoints, index) {\n // LB2 Never break at the start of text.\n if (index === 0) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB3 Always break at the end of text.\n if (index >= codePoints.length) {\n return BREAK_MANDATORY;\n }\n\n var _codePointsToCharacte = codePointsToCharacterClasses(codePoints),\n _codePointsToCharacte2 = _slicedToArray(_codePointsToCharacte, 2),\n indicies = _codePointsToCharacte2[0],\n classTypes = _codePointsToCharacte2[1];\n\n return _lineBreakAtIndex(codePoints, classTypes, indicies, index);\n};\n\nvar cssFormattedClasses = function cssFormattedClasses(codePoints, options) {\n if (!options) {\n options = { lineBreak: 'normal', wordBreak: 'normal' };\n }\n\n var _codePointsToCharacte3 = codePointsToCharacterClasses(codePoints, options.lineBreak),\n _codePointsToCharacte4 = _slicedToArray(_codePointsToCharacte3, 3),\n indicies = _codePointsToCharacte4[0],\n classTypes = _codePointsToCharacte4[1],\n isLetterNumber = _codePointsToCharacte4[2];\n\n if (options.wordBreak === 'break-all' || options.wordBreak === 'break-word') {\n classTypes = classTypes.map(function (type) {\n return [NU, AL, SA].indexOf(type) !== -1 ? ID : type;\n });\n }\n\n var forbiddenBreakpoints = options.wordBreak === 'keep-all' ? isLetterNumber.map(function (isLetterNumber, i) {\n return isLetterNumber && codePoints[i] >= 0x4e00 && codePoints[i] <= 0x9fff;\n }) : null;\n\n return [indicies, classTypes, forbiddenBreakpoints];\n};\n\nvar inlineBreakOpportunities = exports.inlineBreakOpportunities = function inlineBreakOpportunities(str, options) {\n var codePoints = (0, _Util.toCodePoints)(str);\n var output = BREAK_NOT_ALLOWED;\n\n var _cssFormattedClasses = cssFormattedClasses(codePoints, options),\n _cssFormattedClasses2 = _slicedToArray(_cssFormattedClasses, 3),\n indicies = _cssFormattedClasses2[0],\n classTypes = _cssFormattedClasses2[1],\n forbiddenBreakpoints = _cssFormattedClasses2[2];\n\n codePoints.forEach(function (codePoint, i) {\n output += (0, _Util.fromCodePoint)(codePoint) + (i >= codePoints.length - 1 ? BREAK_MANDATORY : _lineBreakAtIndex(codePoints, classTypes, indicies, i + 1, forbiddenBreakpoints));\n });\n\n return output;\n};\n\nvar Break = function () {\n function Break(codePoints, lineBreak, start, end) {\n _classCallCheck(this, Break);\n\n this._codePoints = codePoints;\n this.required = lineBreak === BREAK_MANDATORY;\n this.start = start;\n this.end = end;\n }\n\n _createClass(Break, [{\n key: 'slice',\n value: function slice() {\n return _Util.fromCodePoint.apply(undefined, _toConsumableArray(this._codePoints.slice(this.start, this.end)));\n }\n }]);\n\n return Break;\n}();\n\nvar LineBreaker = exports.LineBreaker = function LineBreaker(str, options) {\n var codePoints = (0, _Util.toCodePoints)(str);\n\n var _cssFormattedClasses3 = cssFormattedClasses(codePoints, options),\n _cssFormattedClasses4 = _slicedToArray(_cssFormattedClasses3, 3),\n indicies = _cssFormattedClasses4[0],\n classTypes = _cssFormattedClasses4[1],\n forbiddenBreakpoints = _cssFormattedClasses4[2];\n\n var length = codePoints.length;\n var lastEnd = 0;\n var nextIndex = 0;\n\n return {\n next: function next() {\n if (nextIndex >= length) {\n return { done: true };\n }\n var lineBreak = BREAK_NOT_ALLOWED;\n while (nextIndex < length && (lineBreak = _lineBreakAtIndex(codePoints, classTypes, indicies, ++nextIndex, forbiddenBreakpoints)) === BREAK_NOT_ALLOWED) {}\n\n if (lineBreak !== BREAK_NOT_ALLOWED || nextIndex === length) {\n var value = new Break(codePoints, lineBreak, lastEnd, nextIndex);\n lastEnd = nextIndex;\n return { value: value, done: false };\n }\n\n return { done: true };\n }\n };\n};\n\n//# sourceURL=webpack://html2canvas/./node_modules/css-line-break/dist/LineBreak.js?")},
vendor: 8,655 bytes, line 1
1"./node_modules/css-line-break/dist/Trie.js":function _node_modules_cssLineBreak_dist_TrieJs(module,exports,__webpack_require__){"use strict";eval('\n\nObject.defineProperty(exports, "__esModule", {\n value: true\n});\nexports.Trie = exports.createTrieFromBase64 = exports.UTRIE2_INDEX_2_MASK = exports.UTRIE2_INDEX_2_BLOCK_LENGTH = exports.UTRIE2_OMITTED_BMP_INDEX_1_LENGTH = exports.UTRIE2_INDEX_1_OFFSET = exports.UTRIE2_UTF8_2B_INDEX_2_LENGTH = exports.UTRIE2_UTF8_2B_INDEX_2_OFFSET = exports.UTRIE2_INDEX_2_BMP_LENGTH = exports.UTRIE2_LSCP_INDEX_2_LENGTH = exports.UTRIE2_DATA_MASK = exports.UTRIE2_DATA_BLOCK_LENGTH = exports.UTRIE2_LSCP_INDEX_2_OFFSET = exports.UTRIE2_SHIFT_1_2 = exports.UTRIE2_INDEX_SHIFT = exports.UTRIE2_SHIFT_1 = exports.UTRIE2_SHIFT_2 = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _Util = __webpack_require__(/*! ./Util */ "./node_modules/css-line-break/dist/Util.js");\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\n/** Shift size for getting the index-2 table offset. */\nvar UTRIE2_SHIFT_2 = exports.UTRIE2_SHIFT_2 = 5;\n\n/** Shift size for getting the index-1 table offset. */\nvar UTRIE2_SHIFT_1 = exports.UTRIE2_SHIFT_1 = 6 + 5;\n\n/**\n * Shift size for shifting left the index array values.\n * Increases possible data size with 16-bit index values at the cost\n * of compactability.\n * This requires data blocks to be aligned by UTRIE2_DATA_GRANULARITY.\n */\nvar UTRIE2_INDEX_SHIFT = exports.UTRIE2_INDEX_SHIFT = 2;\n\n/**\n * Difference between the two shift sizes,\n * for getting an index-1 offset from an index-2 offset. 6=11-5\n */\nvar UTRIE2_SHIFT_1_2 = exports.UTRIE2_SHIFT_1_2 = UTRIE2_SHIFT_1 - UTRIE2_SHIFT_2;\n\n/**\n * The part of the index-2 table for U+D800..U+DBFF stores values for\n * lead surrogate code _units_ not code _points_.\n * Values for lead surrogate code _points_ are indexed with this portion of the table.\n * Length=32=0x20=0x400>>UTRIE2_SHIFT_2. (There are 1024=0x400 lead surrogates.)\n */\nvar UTRIE2_LSCP_INDEX_2_OFFSET = exports.UTRIE2_LSCP_INDEX_2_OFFSET = 0x10000 >> UTRIE2_SHIFT_2;\n\n/** Number of entries in a data block. 32=0x20 */\nvar UTRIE2_DATA_BLOCK_LENGTH = exports.UTRIE2_DATA_BLOCK_LENGTH = 1 << UTRIE2_SHIFT_2;\n/** Mask for getting the lower bits for the in-data-block offset. */\nvar UTRIE2_DATA_MASK = exports.UTRIE2_DATA_MASK = UTRIE2_DATA_BLOCK_LENGTH - 1;\n\nvar UTRIE2_LSCP_INDEX_2_LENGTH = exports.UTRIE2_LSCP_INDEX_2_LENGTH = 0x400 >> UTRIE2_SHIFT_2;\n/** Count the lengths of both BMP pieces. 2080=0x820 */\nvar UTRIE2_INDEX_2_BMP_LENGTH = exports.UTRIE2_INDEX_2_BMP_LENGTH = UTRIE2_LSCP_INDEX_2_OFFSET + UTRIE2_LSCP_INDEX_2_LENGTH;\n/**\n * The 2-byte UTF-8 version of the index-2 table follows at offset 2080=0x820.\n * Length 32=0x20 for lead bytes C0..DF, regardless of UTRIE2_SHIFT_2.\n */\nvar UTRIE2_UTF8_2B_INDEX_2_OFFSET = exports.UTRIE2_UTF8_2B_INDEX_2_OFFSET = UTRIE2_INDEX_2_BMP_LENGTH;\nvar UTRIE2_UTF8_2B_INDEX_2_LENGTH = exports.UTRIE2_UTF8_2B_INDEX_2_LENGTH = 0x800 >> 6; /* U+0800 is the first code point after 2-byte UTF-8 */\n/**\n * The index-1 table, only used for supplementary code points, at offset 2112=0x840.\n * Variable length, for code points up to highStart, where the last single-value range starts.\n * Maximum length 512=0x200=0x100000>>UTRIE2_SHIFT_1.\n * (For 0x100000 supplementary code points U+10000..U+10ffff.)\n *\n * The part of the index-2 table for supplementary code points starts\n * after this index-1 table.\n *\n * Both the index-1 table and the following part of the index-2 table\n * are omitted completely if there is only BMP data.\n */\nvar UTRIE2_INDEX_1_OFFSET = exports.UTRIE2_INDEX_1_OFFSET = UTRIE2_UTF8_2B_INDEX_2_OFFSET + UTRIE2_UTF8_2B_INDEX_2_LENGTH;\n\n/**\n * Number of index-1 entries for the BMP. 32=0x20\n * This part of the index-1 table is omitted from the serialized form.\n */\nvar UTRIE2_OMITTED_BMP_INDEX_1_LENGTH = exports.UTRIE2_OMITTED_BMP_INDEX_1_LENGTH = 0x10000 >> UTRIE2_SHIFT_1;\n\n/** Number of entries in an index-2 block. 64=0x40 */\nvar UTRIE2_INDEX_2_BLOCK_LENGTH = exports.UTRIE2_INDEX_2_BLOCK_LENGTH = 1 << UTRIE2_SHIFT_1_2;\n/** Mask for getting the lower bits for the in-index-2-block offset. */\nvar UTRIE2_INDEX_2_MASK = exports.UTRIE2_INDEX_2_MASK = UTRIE2_INDEX_2_BLOCK_LENGTH - 1;\n\nvar createTrieFromBase64 = exports.createTrieFromBase64 = function createTrieFromBase64(base64) {\n var buffer = (0, _Util.decode)(base64);\n var view32 = Array.isArray(buffer) ? (0, _Util.polyUint32Array)(buffer) : new Uint32Array(buffer);\n var view16 = Array.isArray(buffer) ? (0, _Util.polyUint16Array)(buffer) : new Uint16Array(buffer);\n var headerLength = 24;\n\n var index = view16.slice(headerLength / 2, view32[4] / 2);\n var data = view32[5] === 2 ? view16.slice((headerLength + view32[4]) / 2) : view32.slice(Math.ceil((headerLength + view32[4]) / 4));\n\n return new Trie(view32[0], view32[1], view32[2], view32[3], index, data);\n};\n\nvar Trie = exports.Trie = function () {\n function Trie(initialValue, errorValue, highStart, highValueIndex, index, data) {\n _classCallCheck(this, Trie);\n\n this.initialValue = initialValue;\n this.errorValue = errorValue;\n this.highStart = highStart;\n this.highValueIndex = highValueIndex;\n this.index = index;\n this.data = data;\n }\n\n /**\n * Get the value for a code point as stored in the Trie.\n *\n * @param codePoint the code point\n * @return the value\n */\n\n\n _createClass(Trie, [{\n key: \'get\',\n value: function get(codePoint) {\n var ix = void 0;\n if (codePoint >= 0) {\n if (codePoint < 0x0d800 || codePoint > 0x0dbff && codePoint <= 0x0ffff) {\n // Ordinary BMP code point, excluding leading surrogates.\n // BMP uses a single level lookup. BMP index starts at offset 0 in the Trie2 index.\n // 16 bit data is stored in the index array itself.\n ix = this.index[codePoint >> UTRIE2_SHIFT_2];\n ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK);\n return this.data[ix];\n }\n\n if (codePoint <= 0xffff) {\n // Lead Surrogate Code Point. A Separate index section is stored for\n // lead surrogate code units and code points.\n // The main index has the code unit data.\n // For this function, we need the code point data.\n // Note: this expression could be refactored for slightly improved efficiency, but\n // surrogate code points will be so rare in practice that it\'s not worth it.\n ix = this.index[UTRIE2_LSCP_INDEX_2_OFFSET + (codePoint - 0xd800 >> UTRIE2_SHIFT_2)];\n ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK);\n return this.data[ix];\n }\n\n if (codePoint < this.highStart) {\n // Supplemental code point, use two-level lookup.\n ix = UTRIE2_INDEX_1_OFFSET - UTRIE2_OMITTED_BMP_INDEX_1_LENGTH + (codePoint >> UTRIE2_SHIFT_1);\n ix = this.index[ix];\n ix += codePoint >> UTRIE2_SHIFT_2 & UTRIE2_INDEX_2_MASK;\n ix = this.index[ix];\n ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK);\n return this.data[ix];\n }\n if (codePoint <= 0x10ffff) {\n return this.data[this.highValueIndex];\n }\n }\n\n // Fall through. The code point is outside of the legal range of 0..0x10ffff.\n return this.errorValue;\n }\n }]);\n\n return Trie;\n}();\n\n//# sourceURL=webpack://html2canvas/./node_modules/css-line-break/dist/Trie.js?')},
vendor: 3,924 bytes, line 1
1"./node_modules/css-line-break/dist/Util.js":function _node_modules_cssLineBreak_dist_UtilJs(module,exports,__webpack_require__){"use strict";eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar toCodePoints = exports.toCodePoints = function toCodePoints(str) {\n var codePoints = [];\n var i = 0;\n var length = str.length;\n while (i < length) {\n var value = str.charCodeAt(i++);\n if (value >= 0xd800 && value <= 0xdbff && i < length) {\n var extra = str.charCodeAt(i++);\n if ((extra & 0xfc00) === 0xdc00) {\n codePoints.push(((value & 0x3ff) << 10) + (extra & 0x3ff) + 0x10000);\n } else {\n codePoints.push(value);\n i--;\n }\n } else {\n codePoints.push(value);\n }\n }\n return codePoints;\n};\n\nvar fromCodePoint = exports.fromCodePoint = function fromCodePoint() {\n if (String.fromCodePoint) {\n return String.fromCodePoint.apply(String, arguments);\n }\n\n var length = arguments.length;\n if (!length) {\n return '';\n }\n\n var codeUnits = [];\n\n var index = -1;\n var result = '';\n while (++index < length) {\n var codePoint = arguments.length <= index ? undefined : arguments[index];\n if (codePoint <= 0xffff) {\n codeUnits.push(codePoint);\n } else {\n codePoint -= 0x10000;\n codeUnits.push((codePoint >> 10) + 0xd800, codePoint % 0x400 + 0xdc00);\n }\n if (index + 1 === length || codeUnits.length > 0x4000) {\n result += String.fromCharCode.apply(String, codeUnits);\n codeUnits.length = 0;\n }\n }\n return result;\n};\n\nvar chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n\n// Use a lookup table to find the index.\nvar lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);\nfor (var i = 0; i < chars.length; i++) {\n lookup[chars.charCodeAt(i)] = i;\n}\n\nvar decode = exports.decode = function decode(base64) {\n var bufferLength = base64.length * 0.75,\n len = base64.length,\n i = void 0,\n p = 0,\n encoded1 = void 0,\n encoded2 = void 0,\n encoded3 = void 0,\n encoded4 = void 0;\n\n if (base64[base64.length - 1] === '=') {\n bufferLength--;\n if (base64[base64.length - 2] === '=') {\n bufferLength--;\n }\n }\n\n var buffer = typeof ArrayBuffer !== 'undefined' && typeof Uint8Array !== 'undefined' && typeof Uint8Array.prototype.slice !== 'undefined' ? new ArrayBuffer(bufferLength) : new Array(bufferLength);\n var bytes = Array.isArray(buffer) ? buffer : new Uint8Array(buffer);\n\n for (i = 0; i < len; i += 4) {\n encoded1 = lookup[base64.charCodeAt(i)];\n encoded2 = lookup[base64.charCodeAt(i + 1)];\n encoded3 = lookup[base64.charCodeAt(i + 2)];\n encoded4 = lookup[base64.charCodeAt(i + 3)];\n\n bytes[p++] = encoded1 << 2 | encoded2 >> 4;\n bytes[p++] = (encoded2 & 15) << 4 | encoded3 >> 2;\n bytes[p++] = (encoded3 & 3) << 6 | encoded4 & 63;\n }\n\n return buffer;\n};\n\nvar polyUint16Array = exports.polyUint16Array = function polyUint16Array(buffer) {\n var length = buffer.length;\n var bytes = [];\n for (var _i = 0; _i < length; _i += 2) {\n bytes.push(buffer[_i + 1] << 8 | buffer[_i]);\n }\n return bytes;\n};\n\nvar polyUint32Array = exports.polyUint32Array = function polyUint32Array(buffer) {\n var length = buffer.length;\n var bytes = [];\n for (var _i2 = 0; _i2 < length; _i2 += 4) {\n bytes.push(buffer[_i2 + 3] << 24 | buffer[_i2 + 2] << 16 | buffer[_i2 + 1] << 8 | buffer[_i2]);\n }\n return bytes;\n};\n\n//# sourceURL=webpack://html2canvas/./node_modules/css-line-break/dist/Util.js?")},
vendor: 944 bytes, line 1
1"./node_modules/css-line-break/dist/index.js":function _node_modules_cssLineBreak_dist_indexJs(module,exports,__webpack_require__){"use strict";eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _Util = __webpack_require__(/*! ./Util */ \"./node_modules/css-line-break/dist/Util.js\");\n\nObject.defineProperty(exports, 'toCodePoints', {\n enumerable: true,\n get: function get() {\n return _Util.toCodePoints;\n }\n});\nObject.defineProperty(exports, 'fromCodePoint', {\n enumerable: true,\n get: function get() {\n return _Util.fromCodePoint;\n }\n});\n\nvar _LineBreak = __webpack_require__(/*! ./LineBreak */ \"./node_modules/css-line-break/dist/LineBreak.js\");\n\nObject.defineProperty(exports, 'LineBreaker', {\n enumerable: true,\n get: function get() {\n return _LineBreak.LineBreaker;\n }\n});\n\n//# sourceURL=webpack://html2canvas/./node_modules/css-line-break/dist/index.js?")},
vendor: 50,912 bytes, line 1
1"./node_modules/css-line-break/dist/linebreak-trie.js":function _node_modules_cssLineBreak_dist_linebreakTrieJs(module,exports,__webpack_require__){"use strict";eval("\n\nmodule.exports = 'KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA';\n\n//# sourceURL=webpack://html2canvas/./node_modules/css-line-break/dist/linebreak-trie.js?")},
1"./src/Angle.js":function _src_AngleJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseAngle\", function() { return parseAngle; });\n\n\nvar ANGLE = /([+-]?\\d*\\.?\\d+)(deg|grad|rad|turn)/i;\nvar parseAngle = function parseAngle(angle) {\n var match = angle.match(ANGLE);\n\n if (match) {\n var value = parseFloat(match[1]);\n\n switch (match[2].toLowerCase()) {\n case 'deg':\n return Math.PI * value / 180;\n\n case 'grad':\n return Math.PI / 200 * value;\n\n case 'rad':\n return value;\n\n case 'turn':\n return Math.PI * 2 * value;\n }\n }\n\n return null;\n};\n\n//# sourceURL=webpack://html2canvas/./src/Angle.js?")},
1"./src/Bounds.js":function _src_BoundsJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bounds", function() { return Bounds; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseBounds", function() { return parseBounds; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculatePaddingBox", function() { return calculatePaddingBox; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculateContentBox", function() { return calculateContentBox; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseDocumentSize", function() { return parseDocumentSize; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parsePathForBorder", function() { return parsePathForBorder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculateBorderBoxPath", function() { return calculateBorderBoxPath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculatePaddingBoxPath", function() { return calculatePaddingBoxPath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseBoundCurves", function() { return parseBoundCurves; });\n/* harmony import */ var _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./drawing/Vector */ "./src/drawing/Vector.js");\n/* harmony import */ var _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./drawing/BezierCurve */ "./src/drawing/BezierCurve.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\nvar TOP = 0;\nvar RIGHT = 1;\nvar BOTTOM = 2;\nvar LEFT = 3;\nvar H = 0;\nvar V = 1;\nvar Bounds =\n/*#__PURE__*/\nfunction () {\n function Bounds(x, y, w, h) {\n _classCallCheck(this, Bounds);\n\n this.left = x;\n this.top = y;\n this.width = w;\n this.height = h;\n }\n\n _createClass(Bounds, null, [{\n key: "fromClientRect",\n value: function fromClientRect(clientRect, scrollX, scrollY) {\n return new Bounds(clientRect.left + scrollX, clientRect.top + scrollY, clientRect.width, clientRect.height);\n }\n }]);\n\n return Bounds;\n}();\nvar parseBounds = function parseBounds(node, scrollX, scrollY) {\n return Bounds.fromClientRect(node.getBoundingClientRect(), scrollX, scrollY);\n};\nvar calculatePaddingBox = function calculatePaddingBox(bounds, borders) {\n return new Bounds(bounds.left + borders[LEFT].borderWidth, bounds.top + borders[TOP].borderWidth, bounds.width - (borders[RIGHT].borderWidth + borders[LEFT].borderWidth), bounds.height - (borders[TOP].borderWidth + borders[BOTTOM].borderWidth));\n};\nvar calculateContentBox = function calculateContentBox(bounds, padding, borders) {\n // TODO support percentage paddings\n var paddingTop = padding[TOP].value;\n var paddingRight = padding[RIGHT].value;\n var paddingBottom = padding[BOTTOM].value;\n var paddingLeft = padding[LEFT].value;\n return new Bounds(bounds.left + paddingLeft + borders[LEFT].borderWidth, bounds.top + paddingTop + borders[TOP].borderWidth, bounds.width - (borders[RIGHT].borderWidth + borders[LEFT].borderWidth + paddingLeft + paddingRight), bounds.height - (borders[TOP].borderWidth + borders[BOTTOM].borderWidth + paddingTop + paddingBottom));\n};\nvar parseDocumentSize = function parseDocumentSize(document) {\n var body = document.body;\n var documentElement = document.documentElement;\n\n if (!body || !documentElement) {\n throw new Error( true ? "Unable to get document size" : undefined);\n }\n\n var width = Math.max(Math.max(body.scrollWidth, documentElement.scrollWidth), Math.max(body.offsetWidth, documentElement.offsetWidth), Math.max(body.clientWidth, documentElement.clientWidth));\n var height = Math.max(Math.max(body.scrollHeight, documentElement.scrollHeight), Math.max(body.offsetHeight, documentElement.offsetHeight), Math.max(body.clientHeight, documentElement.clientHeight));\n return new Bounds(0, 0, width, height);\n};\nvar parsePathForBorder = function parsePathForBorder(curves, borderSide) {\n switch (borderSide) {\n case TOP:\n return createPathFromCurves(curves.topLeftOuter, curves.topLeftInner, curves.topRightOuter, curves.topRightInner);\n\n case RIGHT:\n return createPathFromCurves(curves.topRightOuter, curves.topRightInner, curves.bottomRightOuter, curves.bottomRightInner);\n\n case BOTTOM:\n return createPathFromCurves(curves.bottomRightOuter, curves.bottomRightInner, curves.bottomLeftOuter, curves.bottomLeftInner);\n\n case LEFT:\n default:\n return createPathFromCurves(curves.bottomLeftOuter, curves.bottomLeftInner, curves.topLeftOuter, curves.topLeftInner);\n }\n};\n\nvar createPathFromCurves = function createPathFromCurves(outer1, inner1, outer2, inner2) {\n var path = [];\n\n if (outer1 instanceof _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"]) {\
1n path.push(outer1.subdivide(0.5, false));\n } else {\n path.push(outer1);\n }\n\n if (outer2 instanceof _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"]) {\n path.push(outer2.subdivide(0.5, true));\n } else {\n path.push(outer2);\n }\n\n if (inner2 instanceof _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"]) {\n path.push(inner2.subdivide(0.5, true).reverse());\n } else {\n path.push(inner2);\n }\n\n if (inner1 instanceof _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"]) {\n path.push(inner1.subdivide(0.5, false).reverse());\n } else {\n path.push(inner1);\n }\n\n return path;\n};\n\nvar calculateBorderBoxPath = function calculateBorderBoxPath(curves) {\n return [curves.topLeftOuter, curves.topRightOuter, curves.bottomRightOuter, curves.bottomLeftOuter];\n};\nvar calculatePaddingBoxPath = function calculatePaddingBoxPath(curves) {\n return [curves.topLeftInner, curves.topRightInner, curves.bottomRightInner, curves.bottomLeftInner];\n};\nvar parseBoundCurves = function parseBoundCurves(bounds, borders, borderRadius) {\n var tlh = borderRadius[CORNER.TOP_LEFT][H].getAbsoluteValue(bounds.width);\n var tlv = borderRadius[CORNER.TOP_LEFT][V].getAbsoluteValue(bounds.height);\n var trh = borderRadius[CORNER.TOP_RIGHT][H].getAbsoluteValue(bounds.width);\n var trv = borderRadius[CORNER.TOP_RIGHT][V].getAbsoluteValue(bounds.height);\n var brh = borderRadius[CORNER.BOTTOM_RIGHT][H].getAbsoluteValue(bounds.width);\n var brv = borderRadius[CORNER.BOTTOM_RIGHT][V].getAbsoluteValue(bounds.height);\n var blh = borderRadius[CORNER.BOTTOM_LEFT][H].getAbsoluteValue(bounds.width);\n var blv = borderRadius[CORNER.BOTTOM_LEFT][V].getAbsoluteValue(bounds.height);\n var factors = [];\n factors.push((tlh + trh) / bounds.width);\n factors.push((blh + brh) / bounds.width);\n factors.push((tlv + blv) / bounds.height);\n factors.push((trv + brv) / bounds.height);\n var maxFactor = Math.max.apply(Math, factors);\n\n if (maxFactor > 1) {\n tlh /= maxFactor;\n tlv /= maxFactor;\n trh /= maxFactor;\n trv /= maxFactor;\n brh /= maxFactor;\n brv /= maxFactor;\n blh /= maxFactor;\n blv /= maxFactor;\n }\n\n var topWidth = bounds.width - trh;\n var rightHeight = bounds.height - brv;\n var bottomWidth = bounds.width - brh;\n var leftHeight = bounds.height - blv;\n return {\n topLeftOuter: tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left, bounds.top, tlh, tlv, CORNER.TOP_LEFT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left, bounds.top),\n topLeftInner: tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left + borders[LEFT].borderWidth, bounds.top + borders[TOP].borderWidth, Math.max(0, tlh - borders[LEFT].borderWidth), Math.max(0, tlv - borders[TOP].borderWidth), CORNER.TOP_LEFT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + borders[LEFT].borderWidth, bounds.top + borders[TOP].borderWidth),\n topRightOuter: trh > 0 || trv > 0 ? getCurvePoints(bounds.left + topWidth, bounds.top, trh, trv, CORNER.TOP_RIGHT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + bounds.width, bounds.top),\n topRightInner: trh > 0 || trv > 0 ? getCurvePoints(bounds.left + Math.min(topWidth, bounds.width + borders[LEFT].borderWidth), bounds.top + borders[TOP].borderWidth, topWidth > bounds.width + borders[LEFT].borderWidth ? 0 : trh - borders[LEFT].borderWidth, trv - borders[TOP].borderWidth, CORNER.TOP_RIGHT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + bounds.width - borders[RIGHT].borderWidth, bounds.top + borders[TOP].borderWidth),\n bottomRightOuter: brh > 0 || brv > 0 ? getCurvePoints(bounds.left + bottomWidth, bounds.top + rightHeight, brh, brv, CORNER.BOTTOM_RIGHT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + bounds.width, bounds.top + bounds.height),\n bottomRightInner: brh > 0 || brv > 0 ? getCurvePoints(bounds.left + Math.min(bottomWidth, bounds.width - borders[LEFT].borderWidth), bounds.top + Math.min(rightHeight, bounds.height + borders[TOP].borderWidth), Math.max(0, brh - borders[RIGHT].borderWidth), brv - borders[BOTTOM].borderWidth, CORNER.BOTTOM_RIGHT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + bounds.width - borders[RIGHT].borderWidth, bounds.top + bounds.height - borders[BOTTOM].borderWidth),\n bottomLeftOuter: blh > 0 || blv > 0 ? getCurvePoints(bounds.left, bounds.top + leftHeight, blh, blv, CORNER.BOTTOM_LEFT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left, bounds.top + bounds.height),\n bottomLeftInner: blh > 0 || blv > 0 ? getCurvePoints(bounds.left + borders[LEFT].borderWidth, bounds.top + leftHeight, Math.max(0, blh - borders[LEFT].borderWidth), blv - borders[BOTTOM].borderWidth, CORNER.BOTTOM_LEFT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + borders[LEFT].borderWidth, bounds.top + bounds.height - borders[BOTTOM].borderWidth)\n };\n};\nvar CORNER = {\n TOP_LEFT: 0,\n TOP_RIGHT: 1,\n BOTTOM_RIGHT: 2,\n BOTTOM_LEFT: 3\n};\n\nvar getCurvePoints = function getCurvePoints(x, y, r1, r2, position) {\n var kappa = 4 * ((Math.sqrt(2) - 1) / 3);\n var ox = r1 * kappa; // control point offset horizontal\n\n var oy = r2 * kappa; // control point offset vertical\n\n var xm = x + r1; // x-middle\n\n var ym = y + r2; // y-middle\n\n switch (position) {\n case CORNER.TOP_LEFT:\n return new _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"](new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, ym), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, ym - oy), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm - ox, y), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, y));\n\n case CORNER.TOP_RIGHT:\n return new _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"](new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, y), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x + ox, y), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, ym - oy), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, ym));\n\n case CORNER.BOTTOM_RIGHT:\n return new _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"](new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, y), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, y + oy), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x + ox, ym), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, ym));\n\n case CORNER.BOTTOM_LEFT:\n default:\n return new _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"](new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, ym), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm - ox, ym), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, y + oy), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, y));\n }\n};\n\n//# sourceURL=webpack://html2canvas/./src/Bounds.js?')},
1"./src/Clone.js":function _src_CloneJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DocumentCloner", function() { return DocumentCloner; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cloneWindow", function() { return cloneWindow; });\n/* harmony import */ var _Bounds__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Bounds */ "./src/Bounds.js");\n/* harmony import */ var _Proxy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Proxy */ "./src/Proxy.js");\n/* harmony import */ var _ResourceLoader__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ResourceLoader */ "./src/ResourceLoader.js");\n/* harmony import */ var _Util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Util */ "./src/Util.js");\n/* harmony import */ var _parsing_background__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./parsing/background */ "./src/parsing/background.js");\n/* harmony import */ var _renderer_CanvasRenderer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./renderer/CanvasRenderer */ "./src/renderer/CanvasRenderer.js");\n/* harmony import */ var _PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./PseudoNodeContent */ "./src/PseudoNodeContent.js");\n\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\n\n\n\n\n\nvar IGNORE_ATTRIBUTE = \'data-html2canvas-ignore\';\nvar DocumentCloner =\n/*#__PURE__*/\nfunction () {\n function DocumentCloner(element, options, logger, copyInline, renderer) {\n _classCallCheck(this, DocumentCloner);\n\n this.referenceElement = element;\n this.scrolledElements = [];\n this.copyStyles = copyInline;\n this.inlineImages = copyInline;\n this.logger = logger;\n this.options = options;\n this.renderer = renderer;\n this.resourceLoader = new _ResourceLoader__WEBPACK_IMPORTED_MODULE_2__["default"](options, logger, window);\n this.pseudoContentData = {\n counters: {},\n quoteDepth: 0\n }; // $FlowFixMe\n\n this.documentElement = this.cloneNode(element.ownerDocument.documentElement);\n }\n\n _createClass(DocumentCloner, [{\n key: "inlineAllImages",\n value: function inlineAllImages(node) {\n var _this = this;\n\n if (this.inlineImages && node) {\n var style = node.style;\n Promise.all(Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["parseBackgroundImage"])(style.backgroundImage).map(function (backgroundImage) {\n if (backgroundImage.method === \'url\') {\n return _this.resourceLoader.inlineImage(backgroundImage.args[0]).then(function (img) {\n return img && typeof img.src === \'string\' ? "url(\\"".concat(img.src, "\\")") : \'none\';\n }).catch(function (e) {\n if (true) {\n _this.logger.log("Unable to load image", e);\n }\n });\n }\n\n return Promise.resolve("".concat(backgroundImage.prefix).concat(backgroundImage.method, "(").concat(backgroundImage.args.join(\',\'), ")"));\n })).then(function (backgroundImages) {\n if (backgroundImages.length > 1) {\n // TODO Multiple backgrounds somehow broken in Chrome\n style.backgroundColor = \'\';\n }\n\n style.backgroundImage = backgroundImages.join(\',\');\n });\n\n if (node instanceof HTMLImageElement) {\n this.resourceLoader.inlineImage(node.src).then(function (img) {\n if (img && node instanceof HTMLImageElement && node.parentNode) {\n var parentNode = node.parentNode;
1\n var clonedChild = Object(_Util__WEBPACK_IMPORTED_MODULE_3__["copyCSSStyles"])(node.style, img.cloneNode(false));\n parentNode.replaceChild(clonedChild, node);\n }\n }).catch(function (e) {\n if (true) {\n _this.logger.log("Unable to load image", e);\n }\n });\n }\n }\n }\n }, {\n key: "inlineFonts",\n value: function inlineFonts(document) {\n var _this2 = this;\n\n return Promise.all(Array.from(document.styleSheets).map(function (sheet) {\n if (sheet.href) {\n return fetch(sheet.href).then(function (res) {\n return res.text();\n }).then(function (text) {\n return createStyleSheetFontsFromText(text, sheet.href);\n }).catch(function (e) {\n if (true) {\n _this2.logger.log("Unable to load stylesheet", e);\n }\n\n return [];\n });\n }\n\n return getSheetFonts(sheet, document);\n })).then(function (fonts) {\n return fonts.reduce(function (acc, font) {\n return acc.concat(font);\n }, []);\n }).then(function (fonts) {\n return Promise.all(fonts.map(function (font) {\n return fetch(font.formats[0].src).then(function (response) {\n return response.blob();\n }).then(function (blob) {\n return new Promise(function (resolve, reject) {\n var reader = new FileReader();\n reader.onerror = reject;\n\n reader.onload = function () {\n // $FlowFixMe\n var result = reader.result;\n resolve(result);\n };\n\n reader.readAsDataURL(blob);\n });\n }).then(function (dataUri) {\n font.fontFace.setProperty(\'src\', "url(\\"".concat(dataUri, "\\")"));\n return "@font-face {".concat(font.fontFace.cssText, " ");\n });\n }));\n }).then(function (fontCss) {\n var style = document.createElement(\'style\');\n style.textContent = fontCss.join(\'\\n\');\n\n _this2.documentElement.appendChild(style);\n });\n }\n }, {\n key: "createElementClone",\n value: function createElementClone(node) {\n var _this3 = this;\n\n if (this.copyStyles && node instanceof HTMLCanvasElement) {\n var img = node.ownerDocument.createElement(\'img\');\n\n try {\n img.src = node.toDataURL();\n return img;\n } catch (e) {\n if (true) {\n this.logger.log("Unable to clone canvas contents, canvas is tainted");\n }\n }\n }\n\n if (node instanceof HTMLIFrameElement) {\n var tempIframe = node.cloneNode(false);\n var iframeKey = generateIframeKey();\n tempIframe.setAttribute(\'data-html2canvas-internal-iframe-key\', iframeKey);\n\n var _parseBounds = Object(_Bounds__WEBPACK_IMPORTED_MODULE_0__["parseBounds"])(node, 0, 0),\n width = _parseBounds.width,\n height = _parseBounds.height;\n\n this.resourceLoader.cache[iframeKey] = getIframeDocumentElement(node, this.options).then(function (documentElement) {\n return _this3.renderer(documentElement, {\n allowTaint: _this3.options.allowTaint,\n backgroundColor: \'#ffffff\',\n canvas: null,\n imageTimeout: _this3.options.imageTimeout,\n logging: _this3.options.logging,\n proxy: _this3.options.proxy,\n removeContainer: _this3.options.removeContainer,\n scale: _this3.options.scale,\n foreignObjectRendering: _this3.options.foreignObjectRendering,\n useCORS: _this3.options.useCORS,\n target: new _renderer_CanvasRenderer__WEBPACK_IMPORTED_MODULE_5__["default"](),\n width: width,\n height: height,\n x: 0,\n y: 0,\n windowWidth: documentElement.ownerDocument.defaultView.innerWidth,\n windowHeight: documentElement.ownerDocument.defaultView.innerHeight,\n scrollX: documentElement.ownerDocument.defaultView.pageXOffset,\n scrollY: documentElement.ownerDocument.defaultView.pageYOffset\n }, _this3.logger.child(iframeKey));\n }).then(function (canvas) {\n return new Promise(function (resolve, reject) {\n var iframeCanvas = document.createElement(\'img\');\n\n iframeCanvas.onload = function () {\n return resolve(canvas);\n };\n\n iframeCanvas.onerror = function (event) {\n // Empty iframes may result in empty "data:," URLs, which are invalid from the <img>\'s point of view\n // and instead of `onload` cause `onerror` and unhandled rejection warnings\n // https://github.com/niklasvh/html2canvas/issues/1502\n iframeCanvas.src == \'data:,\' ? resolve(canvas) : reject(event);\n };\n\n iframeCanvas.src = canvas.toDataURL();\n\n if (tempIframe.parentNode) {\n tempIframe.parentNode.replaceChild(Object(_Util__WEBPACK_IMPORTED_MODULE_3__["copyCSSStyles"])(node.ownerDocument.defaultView.getComputedStyle(node), iframeCanvas), tempIframe);\n }\n });\n });\n return tempIframe;\n }
1\n\n try {\n if (node instanceof HTMLStyleElement && node.sheet && node.sheet.cssRules) {\n var css = [].slice.call(node.sheet.cssRules, 0).reduce(function (css, rule) {\n if (rule && rule.cssText) {\n return css + rule.cssText;\n }\n\n return css;\n }, \'\');\n var style = node.cloneNode(false);\n style.textContent = css;\n return style;\n }\n } catch (e) {\n // accessing node.sheet.cssRules throws a DOMException\n this.logger.log(\'Unable to access cssRules property\');\n\n if (e.name !== \'SecurityError\') {\n this.logger.log(e);\n throw e;\n }\n }\n\n return node.cloneNode(false);\n }\n }, {\n key: "cloneNode",\n value: function cloneNode(node) {\n var clone = node.nodeType === Node.TEXT_NODE ? document.createTextNode(node.nodeValue) : this.createElementClone(node);\n var window = node.ownerDocument.defaultView;\n var style = node instanceof window.HTMLElement ? window.getComputedStyle(node) : null;\n var styleBefore = node instanceof window.HTMLElement ? window.getComputedStyle(node, \':before\') : null;\n var styleAfter = node instanceof window.HTMLElement ? window.getComputedStyle(node, \':after\') : null;\n\n if (this.referenceElement === node && clone instanceof window.HTMLElement) {\n this.clonedReferenceElement = clone;\n }\n\n if (clone instanceof window.HTMLBodyElement) {\n createPseudoHideStyles(clone);\n }\n\n var counters = Object(_PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["parseCounterReset"])(style, this.pseudoContentData);\n var contentBefore = Object(_PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["resolvePseudoContent"])(node, styleBefore, this.pseudoContentData);\n\n for (var child = node.firstChild; child; child = child.nextSibling) {\n if (child.nodeType !== Node.ELEMENT_NODE || child.nodeName !== \'SCRIPT\' && // $FlowFixMe\n !child.hasAttribute(IGNORE_ATTRIBUTE) && (typeof this.options.ignoreElements !== \'function\' || // $FlowFixMe\n !this.options.ignoreElements(child))) {\n if (!this.copyStyles || child.nodeName !== \'STYLE\') {\n clone.appendChild(this.cloneNode(child));\n }\n }\n }\n\n var contentAfter = Object(_PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["resolvePseudoContent"])(node, styleAfter, this.pseudoContentData);\n Object(_PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["popCounters"])(counters, this.pseudoContentData);\n\n if (node instanceof window.HTMLElement && clone instanceof window.HTMLElement) {\n if (styleBefore) {\n this.inlineAllImages(inlinePseudoElement(node, clone, styleBefore, contentBefore, PSEUDO_BEFORE));\n }\n\n if (styleAfter) {\n this.inlineAllImages(inlinePseudoElement(node, clone, styleAfter, contentAfter, PSEUDO_AFTER));\n }\n\n if (style && this.copyStyles && !(node instanceof HTMLIFrameElement)) {\n Object(_Util__WEBPACK_IMPORTED_MODULE_3__["copyCSSStyles"])(style, clone);\n }\n\n this.inlineAllImages(clone);\n\n if (node.scrollTop !== 0 || node.scrollLeft !== 0) {\n this.scrolledElements.push([clone, node.scrollLeft, node.scrollTop]);\n }\n\n switch (node.nodeName) {\n case \'CANVAS\':\n if (!this.copyStyles) {\n cloneCanvasContents(node, clone);\n }\n\n break;\n\n case \'TEXTAREA\':\n case \'SELECT\':\n clone.value = node.value;\n break;\n }\n }\n\n return clone;\n }\n }]);\n\n return DocumentCloner;\n}();\n\nvar getSheetFonts = function getSheetFonts(sheet, document) {\n // $FlowFixMe\n return (sheet.cssRules ? Array.from(sheet.cssRules) : []).filter(function (rule) {\n return rule.type === CSSRule.FONT_FACE_RULE;\n }).map(function (rule) {\n var src = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["parseBackgroun
1dImage"])(rule.style.getPropertyValue(\'src\'));\n var formats = [];\n\n for (var i = 0; i < src.length; i++) {\n if (src[i].method === \'url\' && src[i + 1] && src[i + 1].method === \'format\') {\n var a = document.createElement(\'a\');\n a.href = src[i].args[0];\n\n if (document.body) {\n document.body.appendChild(a);\n }\n\n var font = {\n src: a.href,\n format: src[i + 1].args[0]\n };\n formats.push(font);\n }\n }\n\n return {\n // TODO select correct format for browser),\n formats: formats.filter(function (font) {\n return /^woff/i.test(font.format);\n }),\n fontFace: rule.style\n };\n }).filter(function (font) {\n return font.formats.length;\n });\n};\n\nvar createStyleSheetFontsFromText = function createStyleSheetFontsFromText(text, baseHref) {\n var doc = document.implementation.createHTMLDocument(\'\');\n var base = document.createElement(\'base\'); // $FlowFixMe\n\n base.href = baseHref;\n var style = document.createElement(\'style\');\n style.textContent = text;\n\n if (doc.head) {\n doc.head.appendChild(base);\n }\n\n if (doc.body) {\n doc.body.appendChild(style);\n }\n\n return style.sheet ? getSheetFonts(style.sheet, doc) : [];\n};\n\nvar restoreOwnerScroll = function restoreOwnerScroll(ownerDocument, x, y) {\n if (ownerDocument.defaultView && (x !== ownerDocument.defaultView.pageXOffset || y !== ownerDocument.defaultView.pageYOffset)) {\n ownerDocument.defaultView.scrollTo(x, y);\n }\n};\n\nvar cloneCanvasContents = function cloneCanvasContents(canvas, clonedCanvas) {\n try {\n if (clonedCanvas) {\n clonedCanvas.width = canvas.width;\n clonedCanvas.height = canvas.height;\n var ctx = canvas.getContext(\'2d\');\n var clonedCtx = clonedCanvas.getContext(\'2d\');\n\n if (ctx) {\n clonedCtx.putImageData(ctx.getImageData(0, 0, canvas.width, canvas.height), 0, 0);\n } else {\n clonedCtx.drawImage(canvas, 0, 0);\n }\n }\n } catch (e) {}\n};\n\nvar inlinePseudoElement = function inlinePseudoElement(node, clone, style, contentItems, pseudoElt) {\n if (!style || !style.content || style.content === \'none\' || style.content === \'-moz-alt-content\' || style.display === \'none\') {\n return;\n }\n\n var anonymousReplacedElement = clone.ownerDocument.createElement(\'html2canvaspseudoelement\');\n Object(_Util__WEBPACK_IMPORTED_MODULE_3__["copyCSSStyles"])(style, anonymousReplacedElement);\n\n if (contentItems) {\n var len = contentItems.length;\n\n for (var i = 0; i < len; i++) {\n var item = contentItems[i];\n\n switch (item.type) {\n case _PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["PSEUDO_CONTENT_ITEM_TYPE"].IMAGE:\n var img = clone.ownerDocument.createElement(\'img\');\n img.src = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["parseBackgroundImage"])("url(".concat(item.value, ")"))[0].args[0];\n img.style.opacity = \'1\';\n anonymousReplacedElement.appendChild(img);\n break;\n\n case _PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["PSEUDO_CONTENT_ITEM_TYPE"].TEXT:\n anonymousReplacedElement.appendChild(clone.ownerDocument.createTextNode(item.value));\n break;\n }\n }\n }\n\n anonymousReplacedElement.className = "".concat(PSEUDO_HIDE_ELEMENT_CLASS_BEFORE, " ").concat(PSEUDO_HIDE_ELEMENT_CLASS_AFTER);\n clone.className += pseudoElt === PSEUDO_BEFORE ? " ".concat(PSEUDO_HIDE_ELEMENT_CLASS_BEFORE) : " ".concat(PSEUDO_HIDE_ELEMENT_CLASS_AFTER);\n\n if (pseudoElt === PSEUDO_BEFORE) {\n clone.insertBefore(anonymousReplacedElement, clone.firstChild);\n } else {\n clone.appendChild(anonymousReplacedElement);\n }\n\n return anonymousReplacedElement;\n};\n\nvar URL_REGEXP = /^url\\((.+)\\)$/i;\nvar PSEUDO_BEFORE = \':before\';\nvar PSEUDO_AFTER = \':after\';\nvar PSEUDO_HIDE_ELEMENT_CLASS_BEFORE = \'___html2canvas___pseudoelement_before\';\nvar PSEUDO_HIDE_ELEMENT_CLASS_AFTER = \'___html2canvas___pseudoelement_after\';\nvar PSEUDO_HIDE_ELEMENT_STYLE = "{\\n content: \\"\\" !important;\\n display: none !important;\\n}";\n\nvar createPseudoHideStyles = function createPseudoHideStyles(body) {\n createStyles(body, ".".concat(PSEUDO_HIDE_ELEMENT_CLASS_BEFORE).concat(PSEUDO_BEFORE).concat(PSEUDO_HIDE_ELEMENT_STYLE, "\\n .").concat(PSEUDO_HIDE_ELEMENT_CLASS_AFTER).concat(PSEUDO_AFTER).concat(PSEUDO_HIDE_ELEMENT_STYLE));\n};\n\nvar createStyles = function createStyles(body, styles) {\n var style = body.ownerDocument.createElement(\'style\');\n style.innerHTML = styles;\n body.appendChild(style);\n};\n\nvar initNode = function initNode(_ref) {\n var _ref2 = _slicedToArray(_ref, 3),\n element = _ref2[0],\n x = _ref2[1],\n y = _ref2[2];\n\n element.scrollLeft = x;\n element.scrollTop = y;\n};\n\nvar generateIframeKey = function generateIframeKey() {\n return Math.ceil(Date.now() + Math.random() * 10000000).toString(16);\n};\n\nvar DATA_URI_REGEXP = /^data:text\\/(.+);(base64)?,(.*)$/i;\n\nvar getIframeDocumentElement = function getIframeDocumentElement(node, options) {\n try {\n return Promise.resolve(node.contentWindow.document.documentElement);\n } catch (e) {\n return options.proxy ? Object(_Proxy__WEBPACK_IMPORTED_MODULE_1__["Proxy"])(node.src, options).then(function (html) {\n var match = html.match(DATA_URI_REGEXP);\n\n if (!match) {\n return Promise.reject();\n }\n\n return match[2] === \'base64\' ? window.atob(decodeURIComponent(match[3])) : decodeURIComponent(match[3]);\n }).then(function (html) {\n return createIframeContainer(node.ownerDocument, Object(_Bounds__WEBPACK_IMPORTED_MODULE_0__["parseBounds"])(node, 0, 0)).then(function (cloneIframeContainer) {\n var cloneWindow = cloneIframeContainer.contentWindow;\n var documentClone = cloneWindow.document;\n documentClone.open();\n documentClone.write(html);\n var iframeLoad = iframeLoader(cloneIframeContainer).then(function () {\n return documentClone.documentElement;\n });\n documentClone.close();\n return iframeLoad;\n });\n }) : Promise.reject();\n }\n};\n\nvar createIframeContainer = function createIframeContainer(ownerDocument, bounds) {\
1n var cloneIframeContainer = ownerDocument.createElement(\'iframe\');\n cloneIframeContainer.className = \'html2canvas-container\';\n cloneIframeContainer.style.visibility = \'hidden\';\n cloneIframeContainer.style.position = \'fixed\';\n cloneIframeContainer.style.left = \'-10000px\';\n cloneIframeContainer.style.top = \'0px\';\n cloneIframeContainer.style.border = \'0\';\n cloneIframeContainer.width = bounds.width.toString();\n cloneIframeContainer.height = bounds.height.toString();\n cloneIframeContainer.scrolling = \'no\'; // ios won\'t scroll without it\n\n cloneIframeContainer.setAttribute(IGNORE_ATTRIBUTE, \'true\');\n\n if (!ownerDocument.body) {\n return Promise.reject( true ? "Body element not found in Document that is getting rendered" : undefined);\n }\n\n ownerDocument.body.appendChild(cloneIframeContainer);\n return Promise.resolve(cloneIframeContainer);\n};\n\nvar iframeLoader = function iframeLoader(cloneIframeContainer) {\n var cloneWindow = cloneIframeContainer.contentWindow;\n var documentClone = cloneWindow.document;\n return new Promise(function (resolve, reject) {\n cloneWindow.onload = cloneIframeContainer.onload = documentClone.onreadystatechange = function () {\n var interval = setInterval(function () {\n if (documentClone.body.childNodes.length > 0 && documentClone.readyState === \'complete\') {\n clearInterval(interval);\n resolve(cloneIframeContainer);\n }\n }, 50);\n };\n });\n};\n\nvar cloneWindow = function cloneWindow(ownerDocument, bounds, referenceElement, options, logger, renderer) {\n var cloner = new DocumentCloner(referenceElement, options, logger, false, renderer);\n var scrollX = ownerDocument.defaultView.pageXOffset;\n var scrollY = ownerDocument.defaultView.pageYOffset;\n return createIframeContainer(ownerDocument, bounds).then(function (cloneIframeContainer) {\n var cloneWindow = cloneIframeContainer.contentWindow;\n var documentClone = cloneWindow.document;\n /* Chrome doesn\'t detect relative background-images assigned in inline <style> sheets when fetched through getComputedStyle\n if window url is about:blank, we can assign the url to current by writing onto the document\n */\n\n var iframeLoad = iframeLoader(cloneIframeContainer).then(function () {\n cloner.scrolledElements.forEach(initNode);\n cloneWindow.scrollTo(bounds.left, bounds.top);\n\n if (/(iPad|iPhone|iPod)/g.test(navigator.userAgent) && (cloneWindow.scrollY !== bounds.top || cloneWindow.scrollX !== bounds.left)) {\n documentClone.documentElement.style.top = -bounds.top + \'px\';\n documentClone.documentElement.style.left = -bounds.left + \'px\';\n documentClone.documentElement.style.position = \'absolute\';\n }\n\n var result = Promise.resolve([cloneIframeContainer, cloner.clonedReferenceElement, cloner.resourceLoader]);\n var onclone = options.onclone;\n return cloner.clonedReferenceElement instanceof cloneWindow.HTMLElement || cloner.clonedReferenceElement instanceof ownerDocument.defaultView.HTMLElement || cloner.clonedReferenceElement instanceof HTMLElement ? typeof onclone === \'function\' ? Promise.resolve().then(function () {\n return onclone(documentClone);\n }).then(function () {\n return result;\n }) : result : Promise.reject( true ? "Error finding the ".concat(referenceElement.nodeName, " in the cloned document") : undefined);\n });\n documentClone.open();\n documentClone.write("".concat(serializeDoctype(document.doctype), "<html></html>")); // Chrome scrolls the parent document for some reason after the write to the cloned window???\n\n restoreOwnerScroll(referenceElement.ownerDocument, scrollX, scrollY);\n documentClone.replaceChild(documentClone.adoptNode(cloner.documentElement), documentClone.documentElement);\n documentClone.close();\n return iframeLoad;\n });\n};\n\nvar serializeDoctype = function serializeDoctype(doctype) {\n var str = \'\';\n\n if (doctype) {\n str += \'<!DOCTYPE \';\n\n if (doctype.name) {\n str += doctype.name;\n }\n\n if (doctype.internalSubset) {\n str += doctype.internalSubset;\n }\n\n if (doctype.publicId) {\n str += "\\"".concat(doctype.publicId, "\\"");\n }\n\n if (doctype.systemId) {\n str += "\\"".concat(doctype.systemId, "\\"");\n }\n\n str += \'>\';\n }\n\n return str;\n};\n\n//# sourceURL=webpack://html2canvas/./src/Clone.js?')},
1"./src/Color.js":function _src_ColorJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Color; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TRANSPARENT", function() { return TRANSPARENT; });\n // http://dev.w3.org/csswg/css-color/\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nvar HEX3 = /^#([a-f0-9]{3})$/i;\n\nvar hex3 = function hex3(value) {\n var match = value.match(HEX3);\n\n if (match) {\n return [parseInt(match[1][0] + match[1][0], 16), parseInt(match[1][1] + match[1][1], 16), parseInt(match[1][2] + match[1][2], 16), null];\n }\n\n return false;\n};\n\nvar HEX6 = /^#([a-f0-9]{6})$/i;\n\nvar hex6 = function hex6(value) {\n var match = value.match(HEX6);\n\n if (match) {\n return [parseInt(match[1].substring(0, 2), 16), parseInt(match[1].substring(2, 4), 16), parseInt(match[1].substring(4, 6), 16), null];\n }\n\n return false;\n};\n\nvar RGB = /^rgb\\(\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*\\)$/;\n\nvar rgb = function rgb(value) {\n var match = value.match(RGB);\n\n if (match) {\n return [Number(match[1]), Number(match[2]), Number(match[3]), null];\n }\n\n return false;\n};\n\nvar RGBA = /^rgba\\(\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d?\\.?\\d+)\\s*\\)$/;\n\nvar rgba = function rgba(value) {\n var match = value.match(RGBA);\n\n if (match && match.length > 4) {\n return [Number(match[1]), Number(match[2]), Number(match[3]), Number(match[4])];\n }\n\n return false;\n};\n\nvar fromArray = function fromArray(array) {\n return [Math.min(array[0], 255), Math.min(array[1], 255), Math.min(array[2], 255), array.length > 3 ? array[3] : null];\n};\n\nvar namedColor = function namedColor(name) {\n var color = NAMED_COLORS[name.toLowerCase()];\n return color ? color : false;\n};\n\nvar Color =\n/*#__PURE__*/\nfunction () {\n function Color(value) {\n _classCallCheck(this, Color);\n\n var _ref = Array.isArray(value) ? fromArray(value) : hex3(value) || rgb(value) || rgba(value) || namedColor(value) || hex6(value) || [0, 0, 0, null],\n _ref2 = _slicedToArray(_ref, 4),\n r = _ref2[0],\n g = _ref2[1],\n b = _ref2[2],\n a = _ref2[3];\n\n this.r = r;\n this.g = g;\n this.b = b;\n this.a = a;\n }\n\n _createClass(Color, [{\n key: "isTransparent",\n value: function isTransparent() {\n return this.a === 0;\n }\n }, {\n key: "toString",\n value: function toString() {\n return this.a !== null && this.a !== 1 ? "rgba(".concat(this.r, ",").concat(this.g, ",").concat(this.b, ",").concat(this.a, ")") : "rgb(".concat(this.r, ",").concat(this.g, ",").concat(this.b, ")");\n }\n }]);\n\n return Color;\n}();\n\n\nvar NAMED_COLORS = {\n transparent: [0, 0, 0, 0],\n aliceblue: [240, 248, 255, null],\n antiquewhite: [250, 235, 215, null],\n aqua: [0, 255, 255, null],\n aquamarine: [127, 255, 212, null],\n azure: [240, 255, 255, null],\n beige: [245, 245, 220, null],\n bisque: [255, 228, 196, null],\n black: [0, 0, 0, null],\n blanchedalmond: [255, 235, 205, null],\n blue: [0, 0, 255, null],\n blueviolet: [138, 43, 226, null],\n brown: [165, 42, 42, null],\n burlywood: [222, 184, 135, null],\n cadetblue: [95, 158, 160, null],\n chartreuse: [127, 255, 0, null],\n chocolate: [210, 105, 30, null],\n coral: [255, 127, 80, null],\n cornflowerblue: [100, 149, 237, null],\n cornsilk: [255, 248, 220, null],\n crimson: [220, 20, 60, null],\n cyan: [0, 255, 255, null],\n darkblue: [0, 0, 139, null],\n darkcyan: [0, 139, 139, null],\n darkgoldenrod: [184, 134, 11, null],\n darkgray: [169, 169, 169, null],\n darkgreen: [0, 100, 0, null],\n darkgrey: [169, 169, 169, null],\n darkkhaki: [189, 183, 107, null],\n darkmagenta: [139, 0, 139, null],\n darkolivegreen: [85, 107, 47, null],\n darkorange: [255, 140, 0, null],\n darkorchid: [153, 50, 204, null],\n darkred: [139, 0, 0, null],\n darksalmon: [233, 150, 122, null],\n darkseagreen: [143, 188, 143, null],\n darkslateblue: [72, 61, 139, null],\n darkslategray: [47, 79, 79, null],\n darkslategrey: [47, 79, 79, null],\n darkturquoise: [0, 206, 209, null],\n darkviolet: [148, 0, 211, null],\n deeppink: [255, 20, 147, null],\n deepskyblue: [0, 191, 255, null],\n dimgray: [105, 105, 105, null],\n dimgrey: [105, 105, 105, null],\n dodgerblue: [30, 144, 255, null],\n firebrick: [178, 34, 34, null],\n floralwhite: [255, 250, 240, null],\n forestgreen: [34, 139, 34, null],\n fuchsia: [255, 0, 255, null],\n gainsboro: [220, 220, 220, null],\n ghostwhite: [248, 248, 255, null],\n gold: [255, 215, 0, null],\n goldenrod: [218, 165, 32, null],\n gray: [128, 128, 128, null],\n green: [0, 128, 0, null],\n greenyellow: [173, 255, 47, null],\n grey: [128, 128, 128, null],\n honeydew: [240, 255, 240, null],\n hotpink: [255, 105, 180, null],\n indianred: [205, 92, 92, null],\n indigo: [75, 0, 130, null],\n ivory: [255, 255, 240, null],\n khaki: [240, 230, 140, null],\n lavender: [230, 230, 250, null],\n lavenderblush: [255, 240, 245, null],\n lawngreen: [124, 252, 0, null],\n lemonchiffon: [255, 250, 205, null],\n lightblue: [173, 216, 230, null],\n lightcoral: [240, 128, 128, null],\n lightcyan: [224, 255, 255, null],\n lightgoldenrodyellow: [250, 250, 210, null],\n lightgray: [211, 211, 211, null],\n lightgreen: [144, 238, 144, null],\n lightgrey: [211, 211, 211, null],\n lightpink: [255, 182, 193, null],\n lightsalmon: [255, 160, 122, null],\n lightseagreen: [32, 178, 170, null],\n lightskyblue: [135, 206, 250, null],\n lightslategray: [119, 136, 153, null],\n lightslategrey: [119, 136, 153, null],\n lightsteelblue: [176, 196, 222, null],\n lightyellow: [255, 255, 224, null],\n lime: [0, 255, 0, null],\n limegreen: [50, 205, 50, null],\n linen: [250, 240, 230, null],\n magenta: [255, 0, 255, null],\n maroon: [128, 0, 0, null],\n mediumaquamarine: [102, 205, 170, null],\n mediumblue: [0, 0, 205, null],\n mediumorchid: [186, 85, 211, null],\n mediumpurple: [147, 112, 219, null],\n mediumseagreen: [60, 179, 113, null],\n mediumslateblue: [123, 104, 238, null],\n mediumspringgreen: [0, 250, 154, null],\n mediumturquoise: [72, 209, 204, null],\n mediumvioletred: [199, 21, 133, null],\n midnightblue: [25, 25, 112, null],\n mintcream: [245, 255, 250, null],\n mistyrose: [255, 228, 225, null],\n moccasin: [255, 228, 181, null],\n navajowhite: [255, 222, 173, null],\n navy: [0, 0, 128, null],\n oldlace: [253, 245, 230, null],\n olive: [128, 128, 0, null],\n olivedrab: [107, 142, 35, null],\n orange: [255, 165, 0, null],\n orangered: [255, 69, 0, null],\n orchid: [218, 112, 214, null],\n palegoldenrod: [238, 232, 170, null],\n palegreen: [152, 251, 152, null],\n paleturquoise: [175, 238, 238, null],\n palevioletred: [219, 112, 147, null],\n papayawhip: [255, 239, 213, null],\n peachpuff: [255, 218, 185, null],\n peru: [205, 133, 63, null],\n pink: [255, 192, 203, null],\n plum: [221, 160, 221, null],\n powderblue: [176, 224, 230, null],\n purple: [128, 0, 128, null],\n rebeccapurple: [102, 51, 153, null],\n red: [255, 0, 0, null],\n rosybrown: [188, 143, 143, null],\n royalblue: [65, 105, 225, null],\n saddlebrown: [139, 69, 19, null],\n salmon: [250, 128, 114, null],\n sandybrown: [244, 164, 96, null],\n seagreen: [46, 139, 87, null],\n seashell: [255, 245, 238, null],\n sienna: [160, 82, 45, null],\n silver: [192, 192, 192, null],\n skyblue: [135, 206, 235, null],\n slateblue: [106, 90, 205, null],\n slategray: [112, 128, 144, null],\n slategrey: [112, 128, 144, null],\n snow: [255, 250, 250, null],\n springgreen: [0, 255, 127, null],\n steelblue: [70, 130, 180, null],\n tan: [210, 180, 140, null],\n teal: [0, 128, 128, null],\n thistle: [216, 191, 216, null],\n tomato: [255, 99, 71, null],\n turquoise: [64, 224, 208, null],\n violet: [238, 130, 238, null],\n wheat: [245, 222, 179, null],\n white: [255, 255, 255, null],\n whitesmoke: [245, 245, 245, null],\n yellow: [255, 255, 0, null],\n yellowgreen: [154, 205, 50, null]\n};\nvar TRANSPARENT = new Color([0, 0, 0, 0]);\n\n//# sourceURL=webpack://html2canvas/./src/Color.js?')},
1"./src/Feature.js":function _src_FeatureJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _renderer_ForeignObjectRenderer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./renderer/ForeignObjectRenderer */ \"./src/renderer/ForeignObjectRenderer.js\");\n\n\n\n\nvar testRangeBounds = function testRangeBounds(document) {\n var TEST_HEIGHT = 123;\n\n if (document.createRange) {\n var range = document.createRange();\n\n if (range.getBoundingClientRect) {\n var testElement = document.createElement('boundtest');\n testElement.style.height = \"\".concat(TEST_HEIGHT, \"px\");\n testElement.style.display = 'block';\n document.body.appendChild(testElement);\n range.selectNode(testElement);\n var rangeBounds = range.getBoundingClientRect();\n var rangeHeight = Math.round(rangeBounds.height);\n document.body.removeChild(testElement);\n\n if (rangeHeight === TEST_HEIGHT) {\n return true;\n }\n }\n }\n\n return false;\n};\n\nvar testCORS = function testCORS() {\n return typeof new Image().crossOrigin !== 'undefined';\n};\n\nvar testResponseType = function testResponseType() {\n return typeof new XMLHttpRequest().responseType === 'string';\n};\n\nvar testSVG = function testSVG(document) {\n var img = new Image();\n var canvas = document.createElement('canvas');\n var ctx = canvas.getContext('2d');\n img.src = \"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>\";\n\n try {\n ctx.drawImage(img, 0, 0);\n canvas.toDataURL();\n } catch (e) {\n return false;\n }\n\n return true;\n};\n\nvar isGreenPixel = function isGreenPixel(data) {\n return data[0] === 0 && data[1] === 255 && data[2] === 0 && data[3] === 255;\n};\n\nvar testForeignObject = function testForeignObject(document) {\n var canvas = document.createElement('canvas');\n var size = 100;\n canvas.width = size;\n canvas.height = size;\n var ctx = canvas.getContext('2d');\n ctx.fillStyle = 'rgb(0, 255, 0)';\n ctx.fillRect(0, 0, size, size);\n var img = new Image();\n var greenImageSrc = canvas.toDataURL();\n img.src = greenImageSrc;\n var svg = Object(_renderer_ForeignObjectRenderer__WEBPACK_IMPORTED_MODULE_0__[\"createForeignObjectSVG\"])(size, size, 0, 0, img);\n ctx.fillStyle = 'red';\n ctx.fillRect(0, 0, size, size);\n return Object(_renderer_ForeignObjectRenderer__WEBPACK_IMPORTED_MODULE_0__[\"loadSerializedSVG\"])(svg).then(function (img) {\n ctx.drawImage(img, 0, 0);\n var data = ctx.getImageData(0, 0, size, size).data;\n ctx.fillStyle = 'red';\n ctx.fillRect(0, 0, size, size);\n var node = document.createElement('div');\n node.style.backgroundImage = \"url(\".concat(greenImageSrc, \")\");\n node.style.height = \"\".concat(size, \"px\"); // Firefox 55 does not render inline <img /> tags\n\n return isGreenPixel(data) ? Object(_renderer_ForeignObjectRenderer__WEBPACK_IMPORTED_MODULE_0__[\"loadSerializedSVG\"])(Object(_renderer_ForeignObjectRenderer__WEBPACK_IMPORTED_MODULE_0__[\"createForeignObjectSVG\"])(size, size, 0, 0, node)) : Promise.reject(false);\n }).then(function (img) {\n ctx.drawImage(img, 0, 0); // Edge does not render background-images\n\n return isGreenPixel(ctx.getImageData(0, 0, size, size).data);\n }).catch(function (e) {\n return false;\n });\n};\n\nvar FEATURES = {\n // $FlowFixMe - get/set properties not yet supported\n get SUPPORT_RANGE_BOUNDS() {\n 'use strict';\n\n var value = testRangeBounds(document);\n Object.defineProperty(FEATURES, 'SUPPORT_RANGE_BOUNDS', {\n value: value\n });\n return value;\n },\n\n // $FlowFixMe - get/set properties not yet supported\n get SUPPORT_SVG_DRAWING() {\n 'use strict';\n\n var value = testSVG(document);\n Object.defineProperty(FEATURES, 'SUPPORT_SVG_DRAWING', {\n value: value\n });\n return value;\n },\n\n // $FlowFixMe - get/set properties not yet supported\n get SUPPORT_FOREIGNOBJECT_DRAWING() {\n 'use strict';\n\n var value = typeof Array.from === 'function' && typeof window.fetch === 'function' ? testForeignObject(document) : Promise.resolve(false);\n Object.defineProperty(FEATURES, 'SUPPORT_FOREIGNOBJECT_DRAWING', {\n value: value\n });\n return value;\n },\n\n // $FlowFixMe - get/set properties not yet supported\n get SUPPORT_CORS_IMAGES() {\n 'use strict';\n\n var value = testCORS();\n Object.defineProperty(FEATURES, 'SUPPORT_CORS_IMAGES', {\n value: value\n });\n return value;\n },\n\n // $FlowFixMe - get/set properties not yet supported\n get SUPPORT_RESPONSE_TYPE() {\n 'use strict';\n\n var value = testResponseType();\n Object.defineProperty(FEATURES, 'SUPPORT_RESPONSE_TYPE', {\n value: value\n });\n return value;\n },\n\n // $FlowFixMe - get/set properties not yet supported\n get SUPPORT_CORS_XHR() {\n 'use strict';\n\n var value = 'withCredentials' in new XMLHttpRequest();\n Object.defineProperty(FEATURES, 'SUPPORT_CORS_XHR', {\n value: value\n });\n return value;\n }\n\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (FEATURES);\n\n//# sourceURL=webpack://html2canvas/./src/Feature.js?")},
1"./src/Font.js":function _src_FontJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FontMetrics\", function() { return FontMetrics; });\n/* harmony import */ var _Util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Util */ \"./src/Util.js\");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nvar SAMPLE_TEXT = 'Hidden Text';\n\nvar FontMetrics =\n/*#__PURE__*/\nfunction () {\n function FontMetrics(document) {\n _classCallCheck(this, FontMetrics);\n\n this._data = {};\n this._document = document;\n }\n\n _createClass(FontMetrics, [{\n key: \"_parseMetrics\",\n value: function _parseMetrics(font) {\n var container = this._document.createElement('div');\n\n var img = this._document.createElement('img');\n\n var span = this._document.createElement('span');\n\n var body = this._document.body;\n\n if (!body) {\n throw new Error( true ? 'No document found for font metrics' : undefined);\n }\n\n container.style.visibility = 'hidden';\n container.style.fontFamily = font.fontFamily;\n container.style.fontSize = font.fontSize;\n container.style.margin = '0';\n container.style.padding = '0';\n body.appendChild(container);\n img.src = _Util__WEBPACK_IMPORTED_MODULE_0__[\"SMALL_IMAGE\"];\n img.width = 1;\n img.height = 1;\n img.style.margin = '0';\n img.style.padding = '0';\n img.style.verticalAlign = 'baseline';\n span.style.fontFamily = font.fontFamily;\n span.style.fontSize = font.fontSize;\n span.style.margin = '0';\n span.style.padding = '0';\n span.appendChild(this._document.createTextNode(SAMPLE_TEXT));\n container.appendChild(span);\n container.appendChild(img);\n var baseline = img.offsetTop - span.offsetTop + 2;\n container.removeChild(span);\n container.appendChild(this._document.createTextNode(SAMPLE_TEXT));\n container.style.lineHeight = 'normal';\n img.style.verticalAlign = 'super';\n var middle = img.offsetTop - container.offsetTop + 2;\n body.removeChild(container);\n return {\n baseline: baseline,\n middle: middle\n };\n }\n }, {\n key: \"getMetrics\",\n value: function getMetrics(font) {\n var key = \"\".concat(font.fontFamily, \" \").concat(font.fontSize);\n\n if (this._data[key] === undefined) {\n this._data[key] = this._parseMetrics(font);\n }\n\n return this._data[key];\n }\n }]);\n\n return FontMetrics;\n}();\n\n//# sourceURL=webpack://html2canvas/./src/Font.js?")},
1"./src/Gradient.js":function _src_GradientJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GRADIENT_TYPE\", function() { return GRADIENT_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RADIAL_GRADIENT_SHAPE\", function() { return RADIAL_GRADIENT_SHAPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LinearGradient\", function() { return LinearGradient; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RadialGradient\", function() { return RadialGradient; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseGradient\", function() { return parseGradient; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"transformWebkitRadialGradientArgs\", function() { return transformWebkitRadialGradientArgs; });\n/* harmony
1import */ var _NodeContainer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./NodeContainer */ \"./src/NodeContainer.js\");\n/* harmony import */ var _Angle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Angle */ \"./src/Angle.js\");\n/* harmony import */ var _Color__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Color */ \"./src/Color.js\");\n/* harmony import */ var _Length__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Length */ \"./src/Length.js\");\n/* harmony import */ var _Util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Util */ \"./src/Util.js\");\n\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n\n\n\n\n\nvar SIDE_OR_CORNER = /^(to )?(left|top|right|bottom)( (left|top|right|bottom))?$/i;\nvar PERCENTAGE_ANGLES = /^([+-]?\\d*\\.?\\d+)% ([+-]?\\d*\\.?\\d+)%$/i;\nvar ENDS_WITH_LENGTH = /(px)|%|( 0)$/i;\nvar FROM_TO_COLORSTOP = /^(from|to|color-stop)\\((?:([\\d.]+)(%)?,\\s*)?(.+?)\\)$/i;\nvar RADIAL_SHAPE_DEFINITION = /^\\s*(circle|ellipse)?\\s*((?:([\\d.]+)(px|r?em|%)\\s*(?:([\\d.]+)(px|r?em|%))?)|closest-side|closest-corner|farthest-side|farthest-corner)?\\s*(?:at\\s*(?:(left|center|right)|([\\d.]+)(px|r?em|%))\\s+(?:(top|center|bottom)|([\\d.]+)(px|r?em|%)))?(?:\\s|$)/i;\nvar GRADIENT_TYPE = {\n LINEAR_GRADIENT: 0,\n RADIAL_GRADIENT: 1\n};\nvar RADIAL_GRADIENT_SHAPE = {\n CIRCLE: 0,\n ELLIPSE: 1\n};\nvar LENGTH_FOR_POSITION = {\n left: new _Length__WEBPACK_IMPORTED_MODULE_3__[\"default\"]('0%'),\n top: new _Length__WEBPACK_IMPORTED_MODULE_3__[\"default\"]('0%'),\n center: new _Length__WEBPACK_IMPORTED_MODULE_3__[\"default\"]('50%'),\n right: new _Length__WEBPACK_IMPORTED_MODULE_3__[\"default\"]('100%'),\n bottom: new _Length__WEBPACK_IMPORTED_MODULE_3__[\"default\"]('100%')\n};\nvar LinearGradient = function LinearGradient(colorStops, direction) {\n _classCallCheck(this, LinearGradient);\n\n this.type = GRADIENT_TYPE.LINEAR_GRADIENT;\n this.colorStops = colorStops;\n this.direction = direction;\n};\nvar RadialGradient = function RadialGradient(colorStops, shape, center, radius) {\n _classCallCheck(this, RadialGradient);\n\n this.type = GRADIENT_TYPE.RADIAL_GRADIENT;\n this.colorStops = colorStops;\n this.shape = shape;\n this.center = center;\n this.radius = radius;\n};\nvar parseGradient = function parseGradient(container, _ref, bounds) {\n var args = _ref.args,\n method = _ref.method,\n prefix = _ref.prefix;\n\n if (method === 'linear-gradient') {\n return parseLinearGradient(args, bounds, !!prefix);\n } else if (method === 'gradient' && args[0] === 'linear') {\n // TODO handle correct angle\n return parseLinearGradient(['to bottom'].concat(transformObsoleteColorStops(args.slice(3))), bounds, !!prefix);\n } else if (method === 'radial-gradient') {\n return parseRadialGradient(container, prefix === '-webkit-' ? transformWebkitRadialGradientArgs(args) : args, bounds);\n } else if (method === 'gradient' && args[0] === 'radial') {\n return parseRadialGradient(container, transformObsoleteColorStops(transformWebkitRadialGradientArgs(args.slice(1))), bounds);\n }\n};\n\nvar parseColorStops = function parseColorStops(args, firstColorStopIndex, lineLength) {\n var colorStops = [];\n\n for (var i = firstColorStopIndex; i < args.length;
1 i++) {\n var value = args[i];\n var HAS_LENGTH = ENDS_WITH_LENGTH.test(value);\n var lastSpaceIndex = value.lastIndexOf(' ');\n var color = new _Color__WEBPACK_IMPORTED_MODULE_2__[\"default\"](HAS_LENGTH ? value.substring(0, lastSpaceIndex) : value);\n var stop = HAS_LENGTH ? new _Length__WEBPACK_IMPORTED_MODULE_3__[\"default\"](value.substring(lastSpaceIndex + 1)) : i === firstColorStopIndex ? new _Length__WEBPACK_IMPORTED_MODULE_3__[\"default\"]('0%') : i === args.length - 1 ? new _Length__WEBPACK_IMPORTED_MODULE_3__[\"default\"]('100%') : null;\n colorStops.push({\n color: color,\n stop: stop\n });\n }\n\n var absoluteValuedColorStops = colorStops.map(function (_ref2) {\n var color = _ref2.color,\n stop = _ref2.stop;\n var absoluteStop = lineLength === 0 ? 0 : stop ? stop.getAbsoluteValue(lineLength) / lineLength : null;\n return {\n color: color,\n // $FlowFixMe\n stop: absoluteStop\n };\n });\n var previousColorStop = absoluteValuedColorStops[0].stop;\n\n for (var _i = 0; _i < absoluteValuedColorStops.length;
1 _i++) {\n if (previousColorStop !== null) {\n var _stop = absoluteValuedColorStops[_i].stop;\n\n if (_stop === null) {\n var n = _i;\n\n while (absoluteValuedColorStops[n].stop === null) {\n n++;\n }\n\n var steps = n - _i + 1;\n var nextColorStep = absoluteValuedColorStops[n].stop;\n var stepSize = (nextColorStep - previousColorStop) / steps;\n\n for (; _i < n; _i++) {\n previousColorStop = absoluteValuedColorStops[_i].stop = previousColorStop + stepSize;\n }\n } else {\n previousColorStop = _stop;\n }\n }\n }\n\n return absoluteValuedColorStops;\n};\n\nvar parseLinearGradient = function parseLinearGradient(args, bounds, hasPrefix) {\n var angle = Object(_Angle__WEBPACK_IMPORTED_MODULE_1__[\"parseAngle\"])(args[0]);\n var HAS_SIDE_OR_CORNER = SIDE_OR_CORNER.test(args[0]);\n var HAS_DIRECTION = HAS_SIDE_OR_CORNER || angle !== null || PERCENTAGE_ANGLES.test(args[0]);\n var direction = HAS_DIRECTION ? angle !== null ? calculateGradientDirection( // if there is a prefix, the 0\xb0 angle points due East (instead of North per W3C)\n hasPrefix ? angle - Math.PI * 0.5 : angle, bounds) : HAS_SIDE_OR_CORNER ? parseSideOrCorner(args[0], bounds) : parsePercentageAngle(args[0], bounds) : calculateGradientDirection(Math.PI, bounds);\n var firstColorStopIndex = HAS_DIRECTION ? 1 : 0; // TODO: Fix some inaccuracy with color stops with px values\n\n var lineLength = Math.min(Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(Math.abs(direction.x0) + Math.abs(direction.x1), Math.abs(direction.y0) + Math.abs(direction.y1)), bounds.width * 2, bounds.height * 2);\n return new LinearGradient(parseColorStops(args, firstColorStopIndex, lineLength), direction);\n};\n\nvar parseRadialGradient = function parseRadialGradient(container, args, bounds) {\n var m = args[0].match(RADIAL_SHAPE_DEFINITION);\n var shape = m && (m[1] === 'circle' || // explicit shape specification\n m[3] !== undefined && m[5] === undefined) // only one radius coordinate\n ? RADIAL_GRADIENT_SHAPE.CIRCLE : RADIAL_GRADIENT_SHAPE.ELLIPSE;\n var radius = {};\n var center = {};\n\n if (m) {\n // Radius\n if (m[3] !== undefined) {\n radius.x = Object(_Length__WEBPACK_IMPORTED_MODULE_3__[\"calculateLengthFromValueWithUnit\"])(container, m[3], m[4]).getAbsoluteValue(bounds.width);\n }\n\n if (m[5] !== undefined) {\n radius.y = Object(_Length__WEBPACK_IMPORTED_MODULE_3__[\"calculateLengthFromValueWithUnit\"])(container, m[5], m[6]).getAbsoluteValue(bounds.height);\n } // Position\n\n\n if (m[7]) {\n center.x = LENGTH_FOR_POSITION[m[7].toLowerCase()];\n } else if (m[8] !== undefined) {\n center.x = Object(_Length__WEBPACK_IMPORTED_MODULE_3__[\"calculateLengthFromValueWithUnit\"])(container, m[8], m[9]);\n }\n\n if (m[10]) {\n center.y = LENGTH_FOR_POSITION[m[10].toLowerCase()];\n } else if (m[11] !== undefined) {\n center.y = Object(_Length__WEBPACK_IMPORTED_MODULE_3__[\"calculateLengthFromValueWithUnit\"])(container, m[11], m[12]);\n }\n }\n\n var gradientCenter = {\n x: center.x === undefined ? bounds.width / 2 : center.x.getAbsoluteValue(bounds.width),\n y: center.y === undefined ? bounds.height / 2 : center.y.getAbsoluteValue(bounds.height)\n };\n var gradientRadius = calculateRadius(m && m[2] || 'farthest-corner', shape, gradientCenter, radius, bounds);\n return new RadialGradient(parseColorStops(args, m ? 1 : 0, Math.min(gradientRadius.x, gradientRadius.y)), shape, gradientCenter, gradientRadius);\n};\n\nvar calculateGradientDirection = function calculateGradientDirection(radian, bounds) {\n var width = bounds.width;\n var height = bounds.height;\n var HALF_WIDTH = width * 0.5;\n var HALF_HEIGHT = height * 0.5;\n var lineLength = Math.abs(width * Math.sin(radian)) + Math.abs(height * Math.cos(radian));\n var HALF_LINE_LENGTH = lineLength / 2;\n var x0 = HALF_WIDTH + Math.sin(radian) * HALF_LINE_LENGTH;\n var y0 = HALF_HEIGHT - Math.cos(radian) * HALF_LINE_LENGTH;\n var x1 = width - x0;\n var y1 = height - y0;\n return {\n x0: x0,\n x1: x1,\n y0: y0,\n y1: y1\n };\n};
1\n\nvar parseTopRight = function parseTopRight(bounds) {\n return Math.acos(bounds.width / 2 / (Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(bounds.width, bounds.height) / 2));\n};\n\nvar parseSideOrCorner = function parseSideOrCorner(side, bounds) {\n switch (side) {\n case 'bottom':\n case 'to top':\n return calculateGradientDirection(0, bounds);\n\n case 'left':\n case 'to right':\n return calculateGradientDirection(Math.PI / 2, bounds);\n\n case 'right':\n case 'to left':\n return calculateGradientDirection(3 * Math.PI / 2, bounds);\n\n case 'top right':\n case 'right top':\n case 'to bottom left':\n case 'to left bottom':\n return calculateGradientDirection(Math.PI + parseTopRight(bounds), bounds);\n\n case 'top left':\n case 'left top':\n case 'to bottom right':\n case 'to right bottom':\n return calculateGradientDirection(Math.PI - parseTopRight(bounds), bounds);\n\n case 'bottom left':\n case 'left bottom':\n case 'to top right':\n case 'to right top':\n return calculateGradientDirection(parseTopRight(bounds), bounds);\n\n case 'bottom right':\n case 'right bottom':\n case 'to top left':\n case 'to left top':\n return calculateGradientDirection(2 * Math.PI - parseTopRight(bounds), bounds);\n\n case 'top':\n case 'to bottom':\n default:\n return calculateGradientDirection(Math.PI, bounds);\n }\n};\n\nvar parsePercentageAngle = function parsePercentageAngle(angle, bounds) {\n var _angle$split$map = angle.split(' ').map(parseFloat),\n _angle$split$map2 = _slicedToArray(_angle$split$map, 2),\n left = _angle$split$map2[0],\n top = _angle$split$map2[1];
1\n\n var ratio = left / 100 * bounds.width / (top / 100 * bounds.height);\n return calculateGradientDirection(Math.atan(isNaN(ratio) ? 1 : ratio) + Math.PI / 2, bounds);\n};\n\nvar findCorner = function findCorner(bounds, x, y, closest) {\n var corners = [{\n x: 0,\n y: 0\n }, {\n x: 0,\n y: bounds.height\n }, {\n x: bounds.width,\n y: 0\n }, {\n x: bounds.width,\n y: bounds.height\n }]; // $FlowFixMe\n\n return corners.reduce(function (stat, corner) {\n var d = Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(x - corner.x, y - corner.y);\n\n if (closest ? d < stat.optimumDistance : d > stat.optimumDistance) {\n return {\n optimumCorner: corner,\n optimumDistance: d\n };\n }\n\n return stat;\n }, {\n optimumDistance: closest ? Infinity : -Infinity,\n optimumCorner: null\n }).optimumCorner;\n};\n\nvar calculateRadius = function calculateRadius(extent, shape, center, radius, bounds) {\n var x = center.x;\n var y = center.y;\n var rx = 0;\n var ry = 0;\n\n switch (extent) {\n case 'closest-side':\n // The ending shape is sized so that that it exactly meets the side of the gradient box closest to the gradient\u2019s center.\n // If the shape is an ellipse, it exactly meets the closest side in each dimension.\n if (shape === RADIAL_GRADIENT_SHAPE.CIRCLE) {\n rx = ry = Math.min(Math.abs(x), Math.abs(x - bounds.width), Math.abs(y), Math.abs(y - bounds.height));\n } else if (shape === RADIAL_GRADIENT_SHAPE.ELLIPSE) {\n rx = Math.min(Math.abs(x), Math.abs(x - bounds.width));\n ry = Math.min(Math.abs(y), Math.abs(y - bounds.height));\n }\n\n break;\n\n case 'closest-corner':\n // The ending shape is sized so that that it passes through the corner of the gradient box closest to the gradient\u2019s center.\n // If the shape is an ellipse, the ending shape is given the same aspect-ratio it would have if closest-side were specified.\n if (shape === RADIAL_GRADIENT_SHAPE.CIRCLE) {\n rx = ry = Math.min(Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(x, y), Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(x, y - bounds.height), Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(x - bounds.width, y), Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(x - bounds.width, y - bounds.height));\n } else if (shape === RADIAL_GRADIENT_SHAPE.ELLIPSE) {\n // Compute the ratio ry/rx (which is to be the same as for \"closest-side\")\n var c = Math.min(Math.abs(y), Math.abs(y - bounds.height)) / Math.min(Math.abs(x), Math.abs(x - bounds.width));\n var corner = findCorner(bounds, x, y, true);\n rx = Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(corner.x - x, (corner.y - y) / c);\n ry = c * rx;\n }\n\n break;\n\n case 'farthest-side':\n // Same as closest-side, except the ending shape is sized based on the farthest side(s)\n if (shape === RADIAL_GRADIENT_SHAPE.CIRCLE) {\n rx = ry = Math.max(Math.abs(x), Math.abs(x - bounds.width), Math.abs(y), Math.abs(y - bounds.height));\n } else if (shape === RADIAL_GRADIENT_SHAPE.ELLIPSE) {\n rx = Math.max(Math.abs(x), Math.abs(x - bounds.width));\n ry = Math.max(Math.abs(y), Math.abs(y - bounds.height));\n }\n\n break;\n\n case 'farthest-corner':\n // Same as closest-corner, except the ending shape is sized based on the farthest corner.\n // If the shape is an ellipse, the ending shape is given the same aspect ratio it would have if farthest-side were specified.\n if (shape === RADIAL_GRADIENT_SHAPE.CIRCLE) {\n rx = ry = Math.max(Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(x, y), Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(x, y - bounds.height), Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(x - bounds.width, y), Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(x - bounds.width, y - bounds.height));\n } else if (shape === RADIAL_GRADIENT_SHAPE.ELLIPSE) {\n // Compute the ratio ry/rx (which is to be the same as for \"farthest-side\")\n var _c = Math.max(Math.abs(y), Math.abs(y - bounds.height)) / Math.max(Math.abs(x), Math.abs(x - bounds.width));\n\n var _corner = findCorner(bounds, x, y, false);\n\n rx = Object(_Util__WEBPACK_IMPORTED_MODULE_4__[\"distance\"])(_corner.x - x, (_corner.y - y) / _c);\n ry = _c * rx;\n }\n\n break;\n\n default:\n // pixel or percentage values\n rx = radiu
1s.x || 0;\n ry = radius.y !== undefined ? radius.y : rx;\n break;\n }\n\n return {\n x: rx,\n y: ry\n };\n};\n\nvar transformWebkitRadialGradientArgs = function transformWebkitRadialGradientArgs(args) {\n var shape = '';\n var radius = '';\n var extent = '';\n var position = '';\n var idx = 0;\n var POSITION = /^(left|center|right|\\d+(?:px|r?em|%)?)(?:\\s+(top|center|bottom|\\d+(?:px|r?em|%)?))?$/i;\n var SHAPE_AND_EXTENT = /^(circle|ellipse)?\\s*(closest-side|closest-corner|farthest-side|farthest-corner|contain|cover)?$/i;\n var RADIUS = /^\\d+(px|r?em|%)?(?:\\s+\\d+(px|r?em|%)?)?$/i;\n var matchStartPosition = args[idx].match(POSITION);\n\n if (matchStartPosition) {\n idx++;\n }\n\n var matchShapeExtent = args[idx].match(SHAPE_AND_EXTENT);\n\n if (matchShapeExtent) {\n shape = matchShapeExtent[1] || '';\n extent = matchShapeExtent[2] || '';\n\n if (extent === 'contain') {\n extent = 'closest-side';\n } else if (extent === 'cover') {\n extent = 'farthest-corner';\n }\n\n idx++;\n }\n\n var matchStartRadius = args[idx].match(RADIUS);\n\n if (matchStartRadius) {\n idx++;\n }\n\n var matchEndPosition = args[idx].match(POSITION);\n\n if (matchEndPosition) {\n idx++;\n }\n\n var matchEndRadius = args[idx].match(RADIUS);\n\n if (matchEndRadius) {\n idx++;\n }\n\n var matchPosition = matchEndPosition || matchStartPosition;\n\n if (matchPosition && matchPosition[1]) {\n position = matchPosition[1] + (/^\\d+$/.test(matchPosition[1]) ? 'px' : '');\n\n if (matchPosition[2]) {\n position += ' ' + matchPosition[2] + (/^\\d+$/.test(matchPosition[2]) ? 'px' : '');\n }\n }\n\n var matchRadius = matchEndRadius || matchStartRadius;\n\n if (matchRadius) {\n radius = matchRadius[0];\n\n if (!matchRadius[1]) {\n radius += 'px';\n }\n }\n\n if (position && !shape && !radius && !extent) {\n radius = position;\n position = '';\n }\n\n if (position) {\n position = \"at \".concat(position);\n }\n\n return [[shape, extent, radius, position].filter(function (s) {\n return !!s;\n }).join(' ')].concat(args.slice(idx));\n};\n\nvar transformObsoleteColorStops = function transformObsoleteColorStops(args) {\n return args.map(function (color) {\n return color.match(FROM_TO_COLORSTOP);\n }) // $FlowFixMe\n .map(function (v, index) {\n if (!v) {\n return args[index];\n }\n\n switch (v[1]) {\n case 'from':\n return \"\".concat(v[4], \" 0%\");\n\n case 'to':\n return \"\".concat(v[4], \" 100%\");\n\n case 'color-stop':\n if (v[3] === '%') {\n return \"\".concat(v[4], \" \").concat(v[2]);\n }\n\n return \"\".concat(v[4], \" \").concat(parseFloat(v[2]) * 100, \"%\");\n }\n });\n};\n\n//# sourceURL=webpack://html2canvas/./src/Gradient.js?")},
1"./src/Input.js":function _src_InputJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "INPUT_COLOR", function() { return INPUT_COLOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "INPUT_BORDERS", function() { return INPUT_BORDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "INPUT_BACKGROUND", function() { return INPUT_BACKGROUND; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getInputBorderRadius", function() { return getInputBorderRadius; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "inlineInputElement", function() { return inlineInputElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "inlineTextAreaElement", function() { return inlineTextAreaElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "inlineSelectElement", function() { return inlineSelectElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "reformatInputBounds", function() { return reformatInputBounds; });\n/* harmony import */ var _TextContainer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TextContainer */ "./src/TextContainer.js");\n/* harmony import */ var _parsing_background__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parsing/background */ "./src/parsing/background.js");\n/* harmony import */ var _parsing_border__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./parsing/border */ "./src/parsing/border.js");\n/* harmony import */ var _drawing_Circle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./drawing/Circle */ "./src/drawing/Circle.js");\n/* harmony import */ var _drawing_Vector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./drawing/Vector */ "./src/drawing/Vector.js");\n/* harmony import */ var _Color__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Color */ "./src/Color.js");\n/* harmony import */ var _Length__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Length */ "./src/Length.js");\n/* harmony import */ var _Bounds__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Bounds */ "./src/Bounds.js");\n/* harmony import */ var _TextBounds__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./TextBounds */ "./src/TextBounds.js");\n/* harmony import */ var _Util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Util */ "./src/Util.js");\n\n\n\n\n\n\n\n\n\n\n\n\nvar INPUT_COLOR = new _Color__WEBPACK_IMPORTED_MODULE_5__["default"]([42, 42, 42]);\nvar INPUT_BORDER_COLOR = new _Color__WEBPACK_IMPORTED_MODULE_5__["default"]([165, 165, 165]);\nvar INPUT_BACKGROUND_COLOR = new _Color__WEBPACK_IMPORTED_MODULE_5__["default"]([222, 222, 222]);\nvar INPUT_BORDER = {\n borderWidth: 1,\n borderColor: INPUT_BORDER_COLOR,\n borderStyle: _parsing_border__WEBPACK_IMPORTED_MODULE_2__["BORDER_STYLE"].SOLID\n};\nvar INPUT_BORDERS = [INPUT_BORDER, INPUT_BORDER, INPUT_BORDER, INPUT_BORDER];\nvar INPUT_BACKGROUND = {\n backgroundColor: INPUT_BACKGROUND_COLOR,\n backgroundImage: [],\n backgroundClip: _parsing_background__WEBPACK_IMPORTED_MODULE_1__["BACKGROUND_CLIP"].PADDING_BOX,\n backgroundOrigin: _parsing_background__WEBPACK_IMPORTED_MODULE_1__["BACKGROUND_ORIGIN"].PADDING_BOX\n};\nvar RADIO_BORDER_RADIUS = new _Length__WEBPACK_IMPORTED_MODULE_6__["default"](\'50%\');\nvar RADIO_BORDER_RADIUS_TUPLE = [RADIO_BORDER_RADIUS, RADIO_BORDER_RADIUS];\nvar INPUT_RADIO_BORDER_RADIUS = [RADIO_BORDER_RADIUS_TUPLE, RADIO_BORDER_RADIUS_TUPLE, RADIO_BORDER_RADIUS_TUPLE, RADIO_BORDER_RADIUS_TUPLE];\nvar CHECKBOX_BORDER_RADIUS = new _Length__WEBPACK_IMPORTED_MODULE_6__["default"](\'3px\');\nvar CHECKBOX_BORDER_RADIUS_TUPLE = [CHECKBOX_BORDER_RADIUS, CHECKBOX_BORDER_RADIUS];\nvar INPUT_CHECKBOX_BORDER_RADIUS = [CHECKBOX_BORDER_RADIUS_TUPLE, CHECKBOX_BORDER_RADIUS_TUPLE, CHECKBOX_BORDER_RADIUS_TUPLE, CHECKBOX_BORDER_RADIUS_TUPLE];\nvar getInputBorderRadius = function getInputBorderRadius(node) {\n return node.type === \'radio\' ? INPUT_RADIO_BORDER_RADIUS : INPUT_CHECKBOX_BORDER_RADIUS;\n};\nvar inlineInputElement = function inlineInputElement(node, container) {\n if (node.type === \'radio\' || node.type === \'checkbox\') {\n if (node.checked) {\n var size = Math.min(container.bounds.width, container.bounds.height);\n container.childNodes.push(node.type === \'checkbox\' ? [new _drawing_Vector__WEBPACK_IMPORTED_MODULE_4__["default"](container.bounds.left + size * 0.39363, container.bounds.top + size * 0.79), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_4__["default"](container.bounds.left + size * 0.16, container.bounds.top + size * 0.5549), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_4__["default"](container.bounds.left + size * 0.27347, container.bounds.top + size * 0.44071), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_4__["default"](container.bounds.left + size * 0.39694, container.bounds.top + size * 0.5649), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_4__["default"](container.bounds.left + size * 0.72983, container.bounds.top + size * 0.23), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_4__["default"](container.bounds.left + size * 0.84, container.bounds.top + size * 0.34085), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_4__["default"](container.bounds.left + size * 0.39363, container.bounds.top + size * 0.79)] : new _drawing_Circle__WEBPACK_IMPORTED_MODULE_3__["default"](container.bounds.left + size / 4, container.bounds.top + size / 4, size / 4));\n }\n } else {\n inlineFormElement(getInputValue(node), node, container, false);\n }\n};\nvar inlineTextAreaElement = function inlineTextAreaElement(node, container) {\n inlineFormElement(node.value, node, container, true);\n};\nvar inlineSelectElement = function inlineSelectElement(node, container) {\n var option = node.options[node.selectedIndex || 0];\n inlineFormElement(option ? option.text || \'\' : \'\', node, container, false);\n};\nvar reformatInputBounds = function reformatInputBounds(bounds) {\
1n if (bounds.width > bounds.height) {\n bounds.left += (bounds.width - bounds.height) / 2;\n bounds.width = bounds.height;\n } else if (bounds.width < bounds.height) {\n bounds.top += (bounds.height - bounds.width) / 2;\n bounds.height = bounds.width;\n }\n\n return bounds;\n};\n\nvar inlineFormElement = function inlineFormElement(value, node, container, allowLinebreak) {\n var body = node.ownerDocument.body;\n\n if (value.length > 0 && body) {\n var wrapper = node.ownerDocument.createElement(\'html2canvaswrapper\');\n Object(_Util__WEBPACK_IMPORTED_MODULE_9__["copyCSSStyles"])(node.ownerDocument.defaultView.getComputedStyle(node, null), wrapper);\n wrapper.style.position = \'absolute\';\n wrapper.style.left = "".concat(container.bounds.left, "px");\n wrapper.style.top = "".concat(container.bounds.top, "px");\n\n if (!allowLinebreak) {\n wrapper.style.whiteSpace = \'nowrap\';\n }\n\n var text = node.ownerDocument.createTextNode(value);\n wrapper.appendChild(text);\n body.appendChild(wrapper);\n container.childNodes.push(_TextContainer__WEBPACK_IMPORTED_MODULE_0__["default"].fromTextNode(text, container));\n body.removeChild(wrapper);\n }\n};\n\nvar getInputValue = function getInputValue(node) {\n var value = node.type === \'password\' ? new Array(node.value.length + 1).join("\\u2022") : node.value;\n return value.length === 0 ? node.placeholder || \'\' : value;\n};\n\n//# sourceURL=webpack://html2canvas/./src/Input.js?')},
1"./src/Length.js":function _src_LengthJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LENGTH_TYPE", function() { return LENGTH_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Length; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculateLengthFromValueWithUnit", function() { return calculateLengthFromValueWithUnit; });\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nvar LENGTH_WITH_UNIT = /([\\d.]+)(px|r?em|%)/i;\nvar LENGTH_TYPE = {\n PX: 0,\n PERCENTAGE: 1\n};\n\nvar Length =\n/*#__PURE__*/\nfunction () {\n function Length(value) {\n _classCallCheck(this, Length);\n\n this.type = value.substr(value.length - 1) === \'%\' ? LENGTH_TYPE.PERCENTAGE : LENGTH_TYPE.PX;\n var parsedValue = parseFloat(value);\n\n if ( true && isNaN(parsedValue)) {\n console.error("Invalid value given for Length: \\"".concat(value, "\\""));\n }\n\n this.value = isNaN(parsedValue) ? 0 : parsedValue;\n }\n\n _createClass(Length, [{\n key: "isPercentage",\n value: function isPercentage() {\n return this.type === LENGTH_TYPE.PERCENTAGE;\n }\n }, {\n key: "getAbsoluteValue",\n value: function getAbsoluteValue(parentLength) {\n return this.isPercentage() ? parentLength * (this.value / 100) : this.value;\n }\n }], [{\n key: "create",\n value: function create(v) {\n return new Length(v);\n }\n }]);\n\n return Length;\n}();\n\n\n\nvar getRootFontSize = function getRootFontSize(container) {\n var parent = container.parent;\n return parent ? getRootFontSize(parent) : parseFloat(container.style.font.fontSize);\n};\n\nvar calculateLengthFromValueWithUnit = function calculateLengthFromValueWithUnit(container, value, unit) {\n switch (unit) {\n case \'px\':\n case \'%\':\n return new Length(value + unit);\n\n case \'em\':\n case \'rem\':\n var length = new Length(value);\n length.value *= unit === \'em\' ? parseFloat(container.style.font.fontSize) : getRootFontSize(container);\n return length;\n\n default:\n // TODO: handle correctly if unknown unit is used\n return new Length(\'0\');\n }\n};\n\n//# sourceURL=webpack://html2canvas/./src/Length.js?')},
1"./src/ListItem.js":function _src_ListItemJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getListOwner\", function() { return getListOwner; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"inlineListItemElement\", function() { return inlineListItemElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createCounterText\", function() { return createCounterText; });\n/* harmony import */ var _Util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Util */ \"./src/Util.js\");\n/* harmony import */ var _NodeContainer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./NodeContainer */ \"./src/NodeContainer.js\");\n/* harmony import */ var _TextContainer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TextContainer */ \"./src/TextContainer.js\");\n/* harmony import */ var _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./parsing/listStyle */ \"./src/parsing/listStyle.js\");\n/* harmony import */ var _Unicode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Unicode */ \"./src/Unicode.js\");\n\n\n\n\n\n\n // Margin between the enumeration and the list item content\n\nvar MARGIN_RIGHT = 7;\nvar ancestorTypes = ['OL', 'UL', 'MENU'];\nvar getListOwner = function getListOwner(container) {\n var parent = container.parent;\n\n if (!parent) {\n return null;\n }\n\n do {\n var isAncestor = ancestorTypes.indexOf(parent.tagName) !== -1;\n\n if (isAncestor) {\n return parent;\n }\n\n parent = parent.parent;\n } while (parent);\n\n return container.parent;\n};\nvar inlineListItemElement = function inlineListItemElement(node, container, resourceLoader) {\n var listStyle = container.style.listStyle;\n\n if (!listStyle) {\n return;\n }\n\n var style = node.ownerDocument.defaultView.getComputedStyle(node, null);\n var wrapper = node.ownerDocument.createElement('html2canvaswrapper');\n Object(_Util__WEBPACK_IMPORTED_MODULE_0__[\"copyCSSStyles\"])(style, wrapper);\n wrapper.style.position = 'absolute';\n wrapper.style.bottom = 'auto';\n wrapper.style.display = 'block';\n wrapper.style.letterSpacing = 'normal';\n\n switch (listStyle.listStylePosition) {\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_POSITION\"].OUTSIDE:\n wrapper.style.left = 'auto';\n wrapper.style.right = \"\".concat(node.ownerDocument.defaultView.innerWidth - container.bounds.left - container.style.margin[1].getAbsoluteValue(container.bounds.width) + MARGIN_RIGHT, \"px\");\n wrapper.style.textAlign = 'right';\n break;\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_POSITION\"].INSIDE:\n wrapper.style.left = \"\".concat(container.bounds.left - container.style.margin[3].getAbsoluteValue(container.bounds.width), \"px\");\n wrapper.style.right = 'auto';\n wrapper.style.textAlign = 'left';\n break;\n }\n\n var text;\n var MARGIN_TOP = container.style.margin[0].getAbsoluteValue(container.bounds.width);\n var styleImage = listStyle.listStyleImage;\n\n if (styleImage) {\n if (styleImage.method === 'url') {\n var image = node.ownerDocument.createElement('img');\n image.src = styleImage.args[0];\n wrapper.style.top = \"\".concat(container.bounds.top - MARGIN_TOP, \"px\");\n wrapper.style.width = 'auto';\n wrapper.style.height = 'auto';\n wrapper.appendChild(image);\n } else {\n var size = parseFloat(container.style.font.fontSize) * 0.5;\n wrapper.style.top = \"\".concat(container.bounds.top - MARGIN_TOP + container.bounds.height - 1.5 * size, \"px\");\n wrapper.style.width = \"\".concat(size, \"px\");\n wrapper.style.height = \"\".concat(size, \"px\");\n wrapper.style.backgroundImage = style.listStyleImage;\n }\n } else if (typeof container.listIndex === 'number') {\n text = node.ownerDocument.createTextNode(createCounterText(container.listIndex, listStyle.listStyleType, true));\n wrapper.appendChild(text);\n wrapper.style.top = \"\".concat(container.bounds.top - MARGIN_TOP, \"px\");\n } // $FlowFixMe\n\n\n var body = node.ownerDocument.body;\n body.appendChild(wrapper);\n\n if (text) {\n container.childNodes.push(_TextContainer__WEBPACK_IMPORTED_MODULE_2__[\"default\"].fromTextNode(text, container));\n body.removeChild(wrapper);\n } else {\n // $FlowFixMe\n container.childNodes.push(new _NodeContainer__WEBPACK_IMPORTED_MODULE_1__[\"default\"](wrapper, container, resourceLoader, 0));\n }\n};\nvar ROMAN_UPPER = {\n integers: [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1],\n values: ['M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I']\n};\nvar ARMENIAN = {\n integers: [9000, 8000, 7000, 6000, 5000, 4000, 3000, 2000, 1000, 900, 800, 700, 600, 500, 400, 300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1],\n values: ['\u0554', '\u0553', '\u0552', '\u0551', '\u0550', '\u054f', '\u054e', '\u054d', '\u054c', '\u054b', '\u054a', '\u0549', '\u0548', '\u0547', '\u0546', '\u0545', '\u0544', '\u0543', '\u0542', '\u0541', '\u0540', '\u053f', '\u053e', '\u053d', '\u053c', '\u053b', '\u053a', '\u0539', '\u0538', '\u0537', '\u0536', '\u0535', '\u0534', '\u0533', '\u0532', '\u0531']\n};\nvar HEBREW = {\n integers: [10000, 9000, 8000, 7000, 6000, 5000, 4000, 3000, 2000, 1000, 400, 300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 19, 18, 17, 16, 15, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1],\n values: ['\u05d9\u05f3', '\u05d8\u05f3', '\u05d7\u05f3', '\u05d6\u05f3', '\u05d5\u05f3', '\u05d4\u05f3', '\u05d3\u05f3', '\u05d2\u05f3', '\u05d1\u05f3', '\u05d0\u05f3', '\u05ea', '\u05e9', '\u05e8', '\u05e7', '\u05e6', '\u05e4', '\u05e2', '\u05e1', '\u05e0', '\u05de', '\u05dc', '\u05db', '\u05d9\u05d8', '\u05d9\u05d7', '\u05d9\u05d6', '\u05d8\u05d6', '\u05d8\u05d5', '\u05d9', '\u05d8', '\u05d7', '\u05d6', '\u05d5', '\u05d4', '\u05d3', '\u05d2', '\u05d1', '\u05d0']\n};\nvar GEORGIAN = {\n integers: [10000, 9000, 8000, 7000, 6000, 5000, 4000, 3000, 2000, 1000, 900, 800, 700, 600, 500, 400, 300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1],\n values: ['\u10f5', '\u10f0', '\u10ef', '\u10f4', '\u10ee', '\u10ed', '\u10ec', '\u10eb', '\u10ea', '\u10e9', '\u10e8', '\u10e7', '\u10e6', '\u10e5', '\u10e4', '\u10f3', '\u10e2', '\u10e1', '\u10e0', '\u10df', '\u10de', '\u10dd', '\u10f2', '\u10dc', '\u10db', '\u10da', '\u10d9', '\u10d8', '\u10d7', '\u10f1', '\u10d6', '\u10d5', '\u10d4', '\u10d3', '\u10d2', '\u10d1', '\u10d0']\n};\n\nvar createAdditiveCounter = function createAdditiveCounter(value, min, max, symbols, fallback, suffix) {\n if (value < min || value > max) {\n return createCounterText(value, fallback, suffix.length > 0);\n }\n\n return symbols.integers.reduce(function (string, integer, index) {\n while (value >= integer) {\n value -= integer;
1\n string += symbols.values[index];\n }\n\n return string;\n }, '') + suffix;\n};\n\nvar createCounterStyleWithSymbolResolver = function createCounterStyleWithSymbolResolver(value, codePointRangeLength, isNumeric, resolver) {\n var string = '';\n\n do {\n if (!isNumeric) {\n value--;\n }\n\n string = resolver(value) + string;\n value /= codePointRangeLength;\n } while (value * codePointRangeLength >= codePointRangeLength);\n\n return string;\n};\n\nvar createCounterStyleFromRange = function createCounterStyleFromRange(value, codePointRangeStart, codePointRangeEnd, isNumeric, suffix) {\n var codePointRangeLength = codePointRangeEnd - codePointRangeStart + 1;\n return (value < 0 ? '-' : '') + (createCounterStyleWithSymbolResolver(Math.abs(value), codePointRangeLength, isNumeric, function (codePoint) {\n return Object(_Unicode__WEBPACK_IMPORTED_MODULE_4__[\"fromCodePoint\"])(Math.floor(codePoint % codePointRangeLength) + codePointRangeStart);\n }) + suffix);\n};\n\nvar createCounterStyleFromSymbols = function createCounterStyleFromSymbols(value, symbols) {\n var suffix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '. ';\n var codePointRangeLength = symbols.length;\n return createCounterStyleWithSymbolResolver(Math.abs(value), codePointRangeLength, false, function (codePoint) {\n return symbols[Math.floor(codePoint % codePointRangeLength)];\n }) + suffix;\n};\n\nvar CJK_ZEROS = 1 << 0;\nvar CJK_TEN_COEFFICIENTS = 1 << 1;\nvar CJK_TEN_HIGH_COEFFICIENTS = 1 << 2;\nvar CJK_HUNDRED_COEFFICIENTS = 1 << 3;\n\nvar createCJKCounter = function createCJKCounter(value, numbers, multipliers, negativeSign, suffix, flags) {\n if (value < -9999 || value > 9999) {\n return createCounterText(value, _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].CJK_DECIMAL, suffix.length > 0);\n }\n\n var tmp = Math.abs(value);\n var string = suffix;\n\n if (tmp === 0) {\n return numbers[0] + string;\n }\n\n for (var digit = 0; tmp > 0 && digit <= 4; digit++) {\n var coefficient = tmp % 10;\n\n if (coefficient === 0 && Object(_Util__WEBPACK_IMPORTED_MODULE_0__[\"contains\"])(flags, CJK_ZEROS) && string !== '') {\n string = numbers[coefficient] + string;\n } else if (coefficient > 1 || coefficient === 1 && digit === 0 || coefficient === 1 && digit === 1 && Object(_Util__WEBPACK_IMPORTED_MODULE_0__[\"contains\"])(flags, CJK_TEN_COEFFICIENTS) || coefficient === 1 && digit === 1 && Object(_Util__WEBPACK_IMPORTED_MODULE_0__[\"contains\"])(flags, CJK_TEN_HIGH_COEFFICIENTS) && value > 100 || coefficient === 1 && digit > 1 && Object(_Util__WEBPACK_IMPORTED_MODULE_0__[\"contains\"])(flags, CJK_HUNDRED_COEFFICIENTS)) {\n string = numbers[coefficient] + (digit > 0 ? multipliers[digit - 1] : '') + string;\n } else if (coefficient === 1 && digit > 0) {\n string = multipliers[digit - 1] + string;\n }\n\n tmp = Math.floor(tmp / 10);\n }\n\n return (value < 0 ? negativeSign : '') + string;\n};\n\nvar CHINESE_INFORMAL_MULTIPLIERS = '\u5341\u767e\u5343\u842c';\nvar CHINESE_FORMAL_MULTIPLIERS = '\u62fe\u4f70\u4edf\u842c';\nvar JAPANESE_NEGATIVE = '\u30de\u30a4\u30ca\u30b9';\nvar KOREAN_NEGATIVE = '\ub9c8\uc774\ub108\uc2a4';\nvar createCounterText = function createCounterText(value, type, appendSuffix) {\n var defaultSuffix = appendSuffix ? '. ' : '';\n var cjkSuffix = appendSuffix ? '\u3001' : '';\n var koreanSuffix = appendSuffix ? ', ' : '';\n\n switch (type) {\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].DISC:\n return '\u2022';\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].CIRCLE:\n return '\u25e6';\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].SQUARE:\n return '\u25fe';\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].DECIMAL_LEADING_ZERO:\n var string = createCounterStyleFromRange(value, 48, 57, true, defaultSuffix);\n return string.length < 4 ? \"0\".concat(string) : string;\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].CJK_DECIMAL:\n return createCounterStyleFromSymbols(value, '\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d', cjkSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].LOWER_ROMAN:\n return createAdditiveCounter(value, 1, 3999, ROMAN_UPPER, _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].DECIMAL, defaultSuffix).toLowerCase();\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].UPPER_ROMAN:\n return createAdditiveCounter(value, 1, 3999, ROMAN_UPPER, _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].DECIMAL, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].LOWER_GREEK:\n return createCounterStyleFromRange(value, 945, 969, false, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].LOWER_ALPHA:\n return createCounterStyleFromRange(value, 97, 122, false, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].UPPER_ALPHA:\n return createCounterStyleFromRange(value, 65, 90, false, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].ARABIC_INDIC:\n return createCounterStyleFromRange(value, 1632, 1641, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].ARMENIAN:\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].UPPER_ARMENIAN:\n return createAdditiveCounter(value, 1, 9999, ARMENIAN, _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].DECIMAL, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].LOWER_ARMENIAN:\n return createAdditiveCounter(value, 1, 9999, ARMENIAN, _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].DECIMAL, defaultSuffix).toLowerCase();\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].BENGALI:\n return createCounterStyleFromRange(value, 2534, 2543, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].CAMBODIAN:\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].KHMER:\n return createCounterStyleFromRange(value, 6112, 6121, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].CJK_EARTHLY_BRANCH:\n return createCounterStyleFromSymbols(value, '\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5', cjkSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].CJK_HEAVENLY_STEM:\n return createCounterStyleFromSymbols(value, '\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678', cjkSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].CJK_IDEOGRAPHIC:\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].TRAD_CHINESE_INFORMAL:\n return createCJKCounter(value, '\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d', CHINESE_INFORMAL_MULTIPLIERS, '\u8ca0', cjkSuffix, CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS | CJK_HUNDRED_COEFFICIENTS);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].TRAD_CHINESE_FORMAL:\n return createCJKCounter(value, '\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396', CHINESE_FORMAL_MULTIPLIERS, '\u8ca0', cjkSuffix, CJK_ZEROS | CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS | CJK_HUNDRED_COEFFICIENTS);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].SIMP_CHINESE_INFORMAL:\n return createCJKCounter(value, '\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d', CHINESE_INFORMAL_MULTIPLIERS, '\u8d1f', cjkSuffix, CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS | CJK_HUNDRED_COEFFICIENTS);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].SIMP_CHINESE_FORMAL:\n return createCJKCounter(value, '\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396', CHINESE_FORMAL_MULTIPLIERS, '\u8d1f', cjkSuffix, CJK_ZEROS | CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS | CJK_HUNDRED_COEFFICIENTS);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].JAPANESE_INFORMAL:\n return createCJKCounter(value, '\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d', '\u5341\u767e\u5343\u4e07', JAPANESE_NEGATIVE, cjkSuffix, 0);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].JAPANESE_FORMAL:\n return createCJKCounter(value, '\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d', '\u62fe\u767e\u5343\u4e07', JAPANESE_NEGATIVE, cjkSuffix, CJK_ZEROS | CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].KOREAN_HANGUL_FORMAL:\n return createCJKCounter(value, '\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c', '\uc2ed\ubc31\ucc9c\ub9cc', KOREAN_NEGATIVE, koreanSuffix, CJK_ZEROS | CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].KOREAN_HANJA_INFORMAL:\n return createCJKCounter(value, '\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d', '\u5341\u767e\u5343\u842c', KOREAN_NEGATIVE, koreanSuffix, 0);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].KOREAN_HANJA_FORMAL:\n return createCJKCounter(value, '\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d', '\u62fe\u767e\u5343', KOREAN_NEGATIVE, koreanSuffix, CJK_ZEROS | CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].DEVANAGARI:\n return createCounterStyleFromRange(value, 0x966, 0x96f, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].GEORGIAN:\n return createAdditiveCounter(value, 1, 19999, GEORGIAN, _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].DECIMAL, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].GUJARATI:\n return createCounterStyleFromRange(value, 0xae6, 0xaef, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].GURMUKHI:\n return createCounterStyleFromRange(value, 0xa66, 0xa6f, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].HEBREW:\n return createAdditiveCounter(value, 1, 10999, HEBREW, _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].DECIMAL, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].HIRAGANA:\n return createCounterStyleFromSymbols(value, '\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093');\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].HIRAGANA_IROHA:\n return createCounterStyleFromSymbols(value, '\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059');\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].KANNADA:\n return createCounterStyleFromRange(value, 0xce6, 0xcef, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].KATAKANA:\n return createCounterStyleFromSymbols(value, '\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3', cjkSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].KATAKANA_IROHA:\n return createCounterStyleFromSymbols(value, '\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9', cjkSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].LAO:\n return createCounterStyleFromRange(value, 0xed0, 0xed9, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].MONGOLIAN:\n return createCounterStyleFromRange(value, 0x1810, 0x1819, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].MYANMAR:\n return createCounterStyleFromRange(value, 0x1040, 0x1049, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].ORIYA:\n return createCounterStyleFromRange(value, 0xb66, 0xb6f, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].PERSIAN:\n return createCounterStyleFromRange(value, 0x6f0, 0x6f9, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].TAMIL:\n return createCounterStyleFromRange(value, 0xbe6, 0xbef, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].TELUGU:\n return createCounterStyleFromRange(value, 0xc66, 0xc6f, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].THAI:\n return createCounterStyleFromRange(value, 0xe50, 0xe59, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].TIBETAN:\n return createCounterStyleFromRange(value, 0xf20, 0xf29, true, defaultSuffix);\n\n case _parsing_listStyle__WEBPACK_IMPORTED_MODULE_3__[\"LIST_STYLE_TYPE\"].DECIMAL:\n default:\n return createCounterStyleFromRange(value, 48, 57, true, defaultSuffix);\n }\n};\n\n//# sourceURL=webpack://html2canvas/./src/ListItem.js?")},
1"./src/Logger.js":function _src_LoggerJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Logger; });\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nvar Logger =\n/*#__PURE__*/\nfunction () {\n function Logger(enabled, id, start) {\n _classCallCheck(this, Logger);\n\n this.enabled = typeof window !== \'undefined\' && enabled;\n this.start = start ? start : Date.now();\n this.id = id;\n }\n\n _createClass(Logger, [{\n key: "child",\n value: function child(id) {\n return new Logger(this.enabled, id, this.start);\n } // eslint-disable-next-line flowtype/no-weak-types\n\n }, {\n key: "log",\n value: function log() {\n if (this.enabled && window.console && window.console.log) {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n Function.prototype.bind.call(window.console.log, window.console).apply(window.console, [Date.now() - this.start + \'ms\', this.id ? "html2canvas (".concat(this.id, "):") : \'html2canvas:\'].concat([].slice.call(args, 0)));\n }\n } // eslint-disable-next-line flowtype/no-weak-types\n\n }, {\n key: "error",\n value: function error() {\n if (this.enabled && window.console && window.console.error) {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n Function.prototype.bind.call(window.console.error, window.console).apply(window.console, [Date.now() - this.start + \'ms\', this.id ? "html2canvas (".concat(this.id, "):") : \'html2canvas:\'].concat([].slice.call(args, 0)));\n }\n }\n }]);\n\n return Logger;\n}();\n\n\n\n//# sourceURL=webpack://html2canvas/./src/Logger.js?')},
1"./src/NodeContainer.js":function _src_NodeContainerJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return NodeContainer; });\n/* harmony import */ var _Color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Color */ "./src/Color.js");\n/* harmony import */ var _Util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Util */ "./src/Util.js");\n/* harmony import */ var _parsing_background__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./parsing/background */ "./src/parsing/background.js");\n/* harmony import */ var _parsing_border__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./parsing/border */ "./src/parsing/border.js");\n/* harmony import */ var _parsing_borderRadius__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./parsing/borderRadius */ "./src/parsing/borderRadius.js");\n/* harmony import */ var _parsing_display__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./parsing/display */ "./src/parsing/display.js");\n/* harmony import */ var _parsing_float__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./parsing/float */ "./src/parsing/float.js");\n/* harmony import */ var _parsing_font__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./parsing/font */ "./src/parsing/font.js");\n/* harmony import */ var _parsing_letterSpacing__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./parsing/letterSpacing */ "./src/parsing/letterSpacing.js");\n/* harmony import */ var _parsing_lineBreak__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./parsing/lineBreak */ "./src/parsing/lineBreak.js");\n/* harmony import */ var _parsing_listStyle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./parsing/listStyle */ "./src/parsing/listStyle.js");\n/* harmony import */ var _parsing_margin__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./parsing/margin */ "./src/parsing/margin.js");\n/* harmony import */ var _parsing_overflow__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./parsing/overflow */ "./src/parsing/overflow.js");\n/* harmony import */ var _parsing_overflowWrap__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./parsing/overflowWrap */ "./src/parsing/overflowWrap.js");\n/* harmony import */ var _parsing_padding__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./parsing/padding */ "./src/parsing/padding.js");\n/* harmony import */ var _parsing_position__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./parsing/position */ "./src/parsing/position.js");\n/* harmony import */ var _parsing_textDecoration__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./parsing/textDecoration */ "./src/parsing/textDecoration.js");\n/* harmony import */ var _parsing_textShadow__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./parsing/textShadow */ "./src/parsing/textShadow.js");\n/* harmony import */ var _parsing_textTransform__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./parsing/textTransform */ "./src/parsing/textTransform.js");\n/* harmony import */ var _parsing_transform__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./parsing/transform */ "./src/parsing/transform.js");\n/* harmony import */ var _parsing_visibility__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./parsing/visibility */ "./src/parsing/visibility.js");\n/* harmony import */ var _parsing_word_break__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./parsing/word-break */ "./src/parsing/word-break.js");\n/* harmony import */ var _parsing_zIndex__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./parsing/zIndex */ "./src/parsing/zIndex.js");\n/* harmony import */ var _Bounds__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./Bounds */ "./src/Bounds.js");\n/* harmony import */ var _Input__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./Input */ "./src/Input.js");\n/* harmony import */ var _ListItem__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./ListItem */ "./src/ListItem.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar INPUT_TAGS = [\'INPUT\', \'TEXTAREA\', \'SELECT\'];\n\nvar NodeContainer =\n/*#__PURE__*/\nfunction () {\n function NodeContainer(node, parent, resourceLoader, index) {\n var _this = this;\n\n _classCallCheck(this, NodeContainer);\n\n this.parent = parent;\n this.tagName = node.tagName;\n this.index = index;\n this.childNodes = [];\n this.listItems = [];\n\n if (typeof node.start === \'number\') {\n this.listStart = node.start;\n }\n\n var defaultView = node.ownerDocument.defaultView;\n var scrollX = defaultView.pageXOffset;\n var scrollY = defaultView.pageYOffset;\n var style = defaultView.getComputedStyle(node, null);\n var display = Object(_parsing_display__WEBPACK_IMPORTED_MODULE_5__["parseDisplay"])(style.display);\n var IS_INPUT = node.type === \'radio\' || node.type === \'checkbox\';\n var position = Object(_parsing_position__WEBPACK_IMPORTED_MODULE_15__["parsePosition"])(style.position);\n this.style = {\n background: IS_INPUT ? _Input__WEBPACK_IMPORTED_MODULE_24__["INPUT_BACKGROUND"] : Object(_parsing_background__WEBPACK_IMPORTED_MODULE_2__["parseBackgroun
1d"])(style, resourceLoader),\n border: IS_INPUT ? _Input__WEBPACK_IMPORTED_MODULE_24__["INPUT_BORDERS"] : Object(_parsing_border__WEBPACK_IMPORTED_MODULE_3__["parseBorder"])(style),\n borderRadius: (node instanceof defaultView.HTMLInputElement || node instanceof HTMLInputElement) && IS_INPUT ? Object(_Input__WEBPACK_IMPORTED_MODULE_24__["getInputBorderRadius"])(node) : Object(_parsing_borderRadius__WEBPACK_IMPORTED_MODULE_4__["parseBorderRadius"])(style),\n color: IS_INPUT ? _Input__WEBPACK_IMPORTED_MODULE_24__["INPUT_COLOR"] : new _Color__WEBPACK_IMPORTED_MODULE_0__["default"](style.color),\n display: display,\n float: Object(_parsing_float__WEBPACK_IMPORTED_MODULE_6__["parseCSSFloat"])(style.float),\n font: Object(_parsing_font__WEBPACK_IMPORTED_MODULE_7__["parseFont"])(style),\n letterSpacing: Object(_parsing_letterSpacing__WEBPACK_IMPORTED_MODULE_8__["parseLetterSpacing"])(style.letterSpacing),\n listStyle: display === _parsing_display__WEBPACK_IMPORTED_MODULE_5__["DISPLAY"].LIST_ITEM ? Object(_parsing_listStyle__WEBPACK_IMPORTED_MODULE_10__["parseListStyle"])(style) : null,\n lineBreak: Object(_parsing_lineBreak__WEBPACK_IMPORTED_MODULE_9__["parseLineBreak"])(style.lineBreak),\n margin: Object(_parsing_margin__WEBPACK_IMPORTED_MODULE_11__["parseMargin"])(style),\n opacity: parseFloat(style.opacity),\n overflow: INPUT_TAGS.indexOf(node.tagName) === -1 ? Object(_parsing_overflow__WEBPACK_IMPORTED_MODULE_12__["parseOverflow"])(style.overflow) : _parsing_overflow__WEBPACK_IMPORTED_MODULE_12__["OVERFLOW"].HIDDEN,\n overflowWrap: Object(_parsing_overflowWrap__WEBPACK_IMPORTED_MODULE_13__["parseOverflowWrap"])(style.overflowWrap ? style.overflowWrap : style.wordWrap),\n padding: Object(_parsing_padding__WEBPACK_IMPORTED_MODULE_14__["parsePadding"])(style),\n position: position,\n textDecoration: Object(_parsing_textDecoration__WEBPACK_IMPORTED_MODULE_16__["parseTextDecoration"])(style),\n textShadow: Object(_parsing_textShadow__WEBPACK_IMPORTED_MODULE_17__["parseTextShadow"])(style.textShadow),\n textTransform: Object(_parsing_textTransform__WEBPACK_IMPORTED_MODULE_18__["parseTextTransform"])(style.textTransform),\n transform: Object(_parsing_transform__WEBPACK_IMPORTED_MODULE_19__["parseTransform"])(style),\n visibility: Object(_parsing_visibility__WEBPACK_IMPORTED_MODULE_20__["parseVisibility"])(style.visibility),\n wordBreak: Object(_parsing_word_break__WEBPACK_IMPORTED_MODULE_21__["parseWordBreak"])(style.wordBreak),\n zIndex: Object(_parsing_zIndex__WEBPACK_IMPORTED_MODULE_22__["parseZIndex"])(position !== _parsing_position__WEBPACK_IMPORTED_MODULE_15__["POSITION"].STATIC ? style.zIndex : \'auto\')\n };\n\n if (this.isTransformed()) {\n // getBoundingClientRect provides values post-transform, we want them without the transformation\n node.style.transform = \'matrix(1,0,0,1,0,0)\';\n }\n\n if (display === _parsing_display__WEBPACK_IMPORTED_MODULE_5__["DISPLAY"].LIST_ITEM) {\n var listOwner = Object(_ListItem__WEBPACK_IMPORTED_MODULE_25__["getListOwner"])(this);\n\n if (listOwner) {\n var listIndex = listOwner.listItems.length;\n listOwner.listItems.push(this);\n this.listIndex = node.hasAttribute(\'value\') && typeof node.value === \'number\' ? node.value : listIndex === 0 ? typeof listOwner.listStart === \'number\' ? listOwner.listStart : 1 : listOwner.listItems[listIndex - 1].listIndex + 1;\n }\n } // TODO move bound retrieval for all nodes to a later stage?\n\n\n if (node.tagName === \'IMG\') {\n node.addEventListener(\'load\', function () {\n _this.bounds = Object(_Bounds__WEBPACK_IMPORTED_MODULE_23__["parseBounds"])(node, scrollX, scrollY);\n _this.curvedBounds = Object(_Bounds__WEBPACK_IMPORTED_MODULE_23__["parseBoundCurves"])(_this.bounds, _this.style.border, _this.style.borderRadius);\n });\n }\n\n this.image = getImage(node, resourceLoader);\n this.bounds = IS_INPUT ? Object(_Input__WEBPACK_IMPORTED_MODULE_24__["reformatInputBounds"])(Object(_Bounds__WEBPACK_IMPORTED_MODULE_23__["parseBounds"])(node, scrollX, scrollY)) : Object(_Bounds__WEBPACK_IMPORTED_MODULE_23__["parseBounds"])(node, scrollX, scrollY);\n this.curvedBounds = Object(_Bounds__WEBPACK_IMPORTED_MODULE_23__["parseBoundCurves"])(this.bounds, this.style.border, this.style.borderRadius);\n\n if (true) {\n this.name = "".concat(node.tagName.toLowerCase()).concat(node.id ? "#".concat(node.id) : \'\').concat(node.className.toString().split(\' \').map(function (s) {\n return s.length ? ".".concat(s) : \'\';\n }).join(\'\'));\n }\n }\n\n _createClass(NodeContainer, [{\n key: "getClipPaths",\n value: function getClipPaths() {\n var parentClips = this.parent ? this.parent.getClipPaths() : [];
1\n var isClipped = this.style.overflow !== _parsing_overflow__WEBPACK_IMPORTED_MODULE_12__["OVERFLOW"].VISIBLE;\n return isClipped ? parentClips.concat([Object(_Bounds__WEBPACK_IMPORTED_MODULE_23__["calculatePaddingBoxPath"])(this.curvedBounds)]) : parentClips;\n }\n }, {\n key: "isInFlow",\n value: function isInFlow() {\n return this.isRootElement() && !this.isFloating() && !this.isAbsolutelyPositioned();\n }\n }, {\n key: "isVisible",\n value: function isVisible() {\n return !Object(_Util__WEBPACK_IMPORTED_MODULE_1__["contains"])(this.style.display, _parsing_display__WEBPACK_IMPORTED_MODULE_5__["DISPLAY"].NONE) && this.style.opacity > 0 && this.style.visibility === _parsing_visibility__WEBPACK_IMPORTED_MODULE_20__["VISIBILITY"].VISIBLE;\n }\n }, {\n key: "isAbsolutelyPositioned",\n value: function isAbsolutelyPositioned() {\n return this.style.position !== _parsing_position__WEBPACK_IMPORTED_MODULE_15__["POSITION"].STATIC && this.style.position !== _parsing_position__WEBPACK_IMPORTED_MODULE_15__["POSITION"].RELATIVE;\n }\n }, {\n key: "isPositioned",\n value: function isPositioned() {\n return this.style.position !== _parsing_position__WEBPACK_IMPORTED_MODULE_15__["POSITION"].STATIC;\n }\n }, {\n key: "isFloating",\n value: function isFloating() {\n return this.style.float !== _parsing_float__WEBPACK_IMPORTED_MODULE_6__["FLOAT"].NONE;\n }\n }, {\n key: "isRootElement",\n value: function isRootElement() {\n return this.parent === null;\n }\n }, {\n key: "isTransformed",\n value: function isTransformed() {\n return this.style.transform !== null;\n }\n }, {\n key: "isPositionedWithZIndex",\n value: function isPositionedWithZIndex() {\n return this.isPositioned() && !this.style.zIndex.auto;\n }\n }, {\n key: "isInlineLevel",\n value: function isInlineLevel() {\n return Object(_Util__WEBPACK_IMPORTED_MODULE_1__["contains"])(this.style.display, _parsing_display__WEBPACK_IMPORTED_MODULE_5__["DISPLAY"].INLINE) || Object(_Util__WEBPACK_IMPORTED_MODULE_1__["contains"])(this.style.display, _parsing_display__WEBPACK_IMPORTED_MODULE_5__["DISPLAY"].INLINE_BLOCK) || Object(_Util__WEBPACK_IMPORTED_MODULE_1__["contains"])(this.style.display, _parsing_display__WEBPACK_IMPORTED_MODULE_5__["DISPLAY"].INLINE_FLEX) || Object(_Util__WEBPACK_IMPORTED_MODULE_1__["contains"])(this.style.display, _parsing_display__WEBPACK_IMPORTED_MODULE_5__["DISPLAY"].INLINE_GRID) || Object(_Util__WEBPACK_IMPORTED_MODULE_1__["contains"])(this.style.display, _parsing_display__WEBPACK_IMPORTED_MODULE_5__["DISPLAY"].INLINE_LIST_ITEM) || Object(_Util__WEBPACK_IMPORTED_MODULE_1__["contains"])(this.style.display, _parsing_display__WEBPACK_IMPORTED_MODULE_5__["DISPLAY"].INLINE_TABLE);\n }\n }, {\n key: "isInlineBlockOrInlineTable",\n value: function isInlineBlockOrInlineTable() {\n return Object(_Util__WEBPACK_IMPORTED_MODULE_1__["contains"])(this.style.display, _parsing_display__WEBPACK_IMPORTED_MODULE_5__["DISPLAY"].INLINE_BLOCK) || Object(_Util__WEBPACK_IMPORTED_MODULE_1__["contains"])(this.style.display, _parsing_display__WEBPACK_IMPORTED_MODULE_5__["DISPLAY"].INLINE_TABLE);\n }\n }]);\n\n return NodeContainer;\n}();\n\n\n\nvar getImage = function getImage(node, resourceLoader) {\n if (node instanceof node.ownerDocument.defaultView.SVGSVGElement || node instanceof SVGSVGElement) {\n var s = new XMLSerializer();\n return resourceLoader.loadImage("data:image/svg+xml,".concat(encodeURIComponent(s.serializeToString(node))));\n }\n\n switch (node.tagName) {\n case \'IMG\':\n // $FlowFixMe\n var img = node;\n return resourceLoader.loadImage(img.currentSrc || img.src);\n\n case \'CANVAS\':\n // $FlowFixMe\n var canvas = node;\n return resourceLoader.loadCanvas(canvas);\n\n case \'IFRAME\':\n var iframeKey = node.getAttribute(\'data-html2canvas-internal-iframe-key\');\n\n if (iframeKey) {\n return iframeKey;\n }\n\n break;\n }\n\n return null;\n};\n\n//# sourceURL=webpack://html2canvas/./src/NodeContainer.js?')},
1"./src/NodeParser.js":function _src_NodeParserJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NodeParser", function() { return NodeParser; });\n/* harmony import */ var _StackingContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./StackingContext */ "./src/StackingContext.js");\n/* harmony import */ var _NodeContainer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./NodeContainer */ "./src/NodeContainer.js");\n/* harmony import */ var _TextContainer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TextContainer */ "./src/TextContainer.js");\n/* harmony import */ var _Input__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Input */ "./src/Input.js");\n/* harmony import */ var _ListItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ListItem */ "./src/ListItem.js");\n/* harmony import */ var _parsing_listStyle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./parsing/listStyle */ "./src/parsing/listStyle.js");\n\n\n\n\n\n\n\n\nvar NodeParser = function NodeParser(node, resourceLoader, logger) {\n if (true) {\n logger.log("Starting node parsing");\n }\n\n var index = 0;\n var container = new _NodeContainer__WEBPACK_IMPORTED_MODULE_1__["default"](node, null, resourceLoader, index++);\n var stack = new _StackingContext__WEBPACK_IMPORTED_MODULE_0__["default"](container, null, true);\n parseNodeTree(node, container, stack, resourceLoader, index);\n\n if (true) {\n logger.log("Finished parsing node tree");\n }\n\n return stack;\n};\nvar IGNORED_NODE_NAMES = [\'SCRIPT\', \'HEAD\', \'TITLE\', \'OBJECT\', \'BR\', \'OPTION\'];\n\nvar parseNodeTree = function parseNodeTree(node, parent, stack, resourceLoader, index) {\n if ( true && index > 50000) {\n throw new Error("Recursion error while parsing node tree");\n }\n\n for (var childNode = node.firstChild, nextNode; childNode; childNode = nextNode) {\n nextNode = childNode.nextSibling;\n var defaultView = childNode.ownerDocument.defaultView;\n\n if (childNode instanceof defaultView.Text || childNode instanceof Text || defaultView.parent && childNode instanceof defaultView.parent.Text) {\n if (childNode.data.trim().length > 0) {\n parent.childNodes.push(_TextContainer__WEBPACK_IMPORTED_MODULE_2__["default"].fromTextNode(childNode, parent));\n }\n } else if (childNode instanceof defaultView.HTMLElement || childNode instanceof HTMLElement || defaultView.parent && childNode instanceof defaultView.parent.HTMLElement) {\n if (IGNORED_NODE_NAMES.indexOf(childNode.nodeName) === -1) {\n var container = new _NodeContainer__WEBPACK_IMPORTED_MODULE_1__["default"](childNode, parent, resourceLoader, index++);\n\n if (container.isVisible()) {\n if (childNode.tagName === \'INPUT\') {\n // $FlowFixMe\n Object(_Input__WEBPACK_IMPORTED_MODULE_3__["inlineInputElement"])(childNode, container);\n } else if (childNode.tagName === \'TEXTAREA\') {\n // $FlowFixMe\n Object(_Input__WEBPACK_IMPORTED_MODULE_3__["inlineTextAreaElement"])(childNode, container);\n } else if (childNode.tagName === \'SELECT\') {\n // $FlowFixMe\n Object(_Input__WEBPACK_IMPORTED_MODULE_3__["inlineSelectElement"])(childNode, container);\n } else if (container.style.listStyle && container.style.listStyle.listStyleType !== _parsing_listStyle__WEBPACK_IMPORTED_MODULE_5__["LIST_STYLE_TYPE"].NONE) {\n Object(_ListItem__WEBPACK_IMPORTED_MODULE_4__["inlineListItemElement"])(childNode, container, resourceLoader);\n }\n\n var SHOULD_TRAVERSE_CHILDREN = childNode.tagName !== \'TEXTAREA\';\n var treatAsRealStackingContext = createsRealStackingContext(container, childNode);\n\n if (treatAsRealStackingContext || createsStackingContext(container)) {\n // for treatAsRealStackingContext:false, any positioned descendants and descendants\n // which actually create a new stacking context should be considered part of the parent stacking context\n var parentStack = treatAsRealStackingContext || container.isPositioned() ? stack.getRealParentStackingContext() : stack;\n var childStack = new _StackingContext__WEBPACK_IMPORTED_MODULE_0__["default"](container, parentStack, treatAsRealStackingContext);\n parentStack.contexts.push(childStack);\n\n if (SHOULD_TRAVERSE_CHILDREN) {\n parseNodeTree(childNode, container, childStack, resourceLoader, index);\n }\n } else {\n stack.children.push(container);\n\n if (SHOULD_TRAVERSE_CHILDREN) {\n parseNodeTree(childNode, container, stack, resourceLoader, index);\n }\n }\n }\n }\n } else if (childNode instanceof defaultView.SVGSVGElement || childNode instanceof SVGSVGElement || defaultView.parent && childNode instanceof defaultView.parent.SVGSVGElement) {\n var _container = new _NodeContainer__WEBPACK_IMPORTED_MODULE_1__["default"](childNode, parent, resourceLoader, index++);\n\n var _treatAsRealStackingContext = createsRealStackingContext(_container, childNode);\n\n if (_treatAsRealStackingContext || createsStackingContext(_container)) {\n // for treatAsRealStackingContext:false, any positioned descendants and desce
1ndants\n // which actually create a new stacking context should be considered part of the parent stacking context\n var _parentStack = _treatAsRealStackingContext || _container.isPositioned() ? stack.getRealParentStackingContext() : stack;\n\n var _childStack = new _StackingContext__WEBPACK_IMPORTED_MODULE_0__["default"](_container, _parentStack, _treatAsRealStackingContext);\n\n _parentStack.contexts.push(_childStack);\n } else {\n stack.children.push(_container);\n }\n }\n }\n};\n\nvar createsRealStackingContext = function createsRealStackingContext(container, node) {\n return container.isRootElement() || container.isPositionedWithZIndex() || container.style.opacity < 1 || container.isTransformed() || isBodyWithTransparentRoot(container, node);\n};\n\nvar createsStackingContext = function createsStackingContext(container) {\n return container.isPositioned() || container.isFloating();\n};\n\nvar isBodyWithTransparentRoot = function isBodyWithTransparentRoot(container, node) {\n return node.nodeName === \'BODY\' && container.parent instanceof _NodeContainer__WEBPACK_IMPORTED_MODULE_1__["default"] && container.parent.style.background.backgroundColor.isTransparent();\n};\n\n//# sourceURL=webpack://html2canvas/./src/NodeParser.js?')},
1"./src/Proxy.js":function _src_ProxyJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Proxy", function() { return Proxy; });\n/* harmony import */ var _Feature__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Feature */ "./src/Feature.js");\n\n\n\nvar Proxy = function Proxy(src, options) {\n if (!options.proxy) {\n return Promise.reject( true ? \'No proxy defined\' : undefined);\n }\n\n var proxy = options.proxy;\n return new Promise(function (resolve, reject) {\n var responseType = _Feature__WEBPACK_IMPORTED_MODULE_0__["default"].SUPPORT_CORS_XHR && _Feature__WEBPACK_IMPORTED_MODULE_0__["default"].SUPPORT_RESPONSE_TYPE ? \'blob\' : \'text\';\n var xhr = _Feature__WEBPACK_IMPORTED_MODULE_0__["default"].SUPPORT_CORS_XHR ? new XMLHttpRequest() : new XDomainRequest();\n\n xhr.onload = function () {\n if (xhr instanceof XMLHttpRequest) {\n if (xhr.status === 200) {\n if (responseType === \'text\') {\n resolve(xhr.response);\n } else {\n var reader = new FileReader(); // $FlowFixMe\n\n reader.addEventListener(\'load\', function () {\n return resolve(reader.result);\n }, false); // $FlowFixMe\n\n reader.addEventListener(\'error\', function (e) {\n return reject(e);\n }, false);\n reader.readAsDataURL(xhr.response);\n }\n } else {\n reject( true ? "Failed to proxy resource ".concat(src.substring(0, 256), " with status code ").concat(xhr.status) : undefined);\n }\n } else {\n resolve(xhr.responseText);\n }\n };\n\n xhr.onerror = reject;\n xhr.open(\'GET\', "".concat(proxy, "?url=").concat(encodeURIComponent(src), "&responseType=").concat(responseType));\n\n if (responseType !== \'text\' && xhr instanceof XMLHttpRequest) {\n xhr.responseType = responseType;\n }\n\n if (options.imageTimeout) {\n var timeout = options.imageTimeout;\n xhr.timeout = timeout;\n\n xhr.ontimeout = function () {\n return reject( true ? "Timed out (".concat(timeout, "ms) proxying ").concat(src.substring(0, 256)) : undefined);\n };\n }\n\n xhr.send();\n });\n};\n\n//# sourceURL=webpack://html2canvas/./src/Proxy.js?')},
1"./src/PseudoNodeContent.js":function _src_PseudoNodeContentJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PSEUDO_CONTENT_ITEM_TYPE\", function() { return PSEUDO_CONTENT_ITEM_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TOKEN_TYPE\", function() { return TOKEN_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseCounterReset\", function() { return parseCounterReset; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"popCounters\", function() { return popCounters; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvePseudoContent\", function() { return resolvePseudoContent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseContent\", function() { return parseContent; });\n/* harmony import */ var _ListItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItem */ \"./src/ListItem.js\");\n/* harmony import */ var _parsing_listStyle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parsing/listStyle */ \"./src/parsing/listStyle.js\");\n\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\nvar PSEUDO_CONTENT_ITEM_TYPE = {\n TEXT: 0,\n IMAGE: 1\n};\nvar TOKEN_TYPE = {\n STRING: 0,\n ATTRIBUTE: 1,\n URL: 2,\n COUNTER: 3,\n COUNTERS: 4,\n OPENQUOTE: 5,\n CLOSEQUOTE: 6\n};\nvar parseCounterReset = function parseCounterReset(style, data) {\n if (!style || !style.counterReset || style.counterReset === 'none') {\n return [];\n }\n\n var counterNames = [];\n var counterResets = style.counterReset.split(/\\s*,\\s*/);\n var lenCounterResets = counterResets.length;\n\n for (var i = 0; i < lenCounterResets; i++) {\n var _counterResets$i$spli = counterResets[i].split(/\\s+/),\n _counterResets$i$spli2 = _slicedToArray(_counterResets$i$spli, 2),\n counterName = _counterResets$i$spli2[0],\n initialValue = _counterResets$i$spli2[1];\n\n counterNames.push(counterName);\n var counter = data.counters[counterName];\n\n if (!counter) {\n counter = data.counters[counterName] = [];\n }\n\n counter.push(parseInt(initialValue || 0, 10));\n }\n\n return counterNames;\n};\nvar popCounters = function popCounters(counterNames, data) {\n var lenCounters = counterNames.length;\n\n for (var i = 0; i < lenCounters; i++) {\n data.counters[counterNames[i]].pop();\n }\n};\nvar resolvePseudoContent = function resolvePseudoContent(node, style, data) {\n if (!style || !style.content || style.content === 'none' || style.content === '-moz-alt-content' || style.display === 'none') {\n return null;\n }\n\n var tokens = parseContent(style.content);\n var len = tokens.length;\n var contentItems = [];\n var s = ''; // increment the counter (if there is a \"counter-increment\" declaration)\n\n var counterIncrement = style.counterIncrement;\n\n if (counterIncrement && counterIncrement !== 'none') {\n var _counterIncrement$spl = counterIncrement.split(/\\s+/),\n _counterIncrement$spl2 = _slicedToArray(_counterIncrement$spl, 2),\n counterName = _counterIncrement$spl2[0],\n incrementValue = _counterIncrement$spl2[1];\n\n var counter = data.counters[counterName];\n\n if (counter) {\n counter[counter.length - 1] += incrementValue === undefined ? 1 : parseInt(incrementValue, 10);\n }\n } // build the content string\n\n\n for (var i = 0; i < len;
1 i++) {\n var token = tokens[i];\n\n switch (token.type) {\n case TOKEN_TYPE.STRING:\n s += token.value || '';\n break;\n\n case TOKEN_TYPE.ATTRIBUTE:\n if (node instanceof HTMLElement && token.value) {\n s += node.getAttribute(token.value) || '';\n }\n\n break;\n\n case TOKEN_TYPE.COUNTER:\n var _counter = data.counters[token.name || ''];\n\n if (_counter) {\n s += formatCounterValue([_counter[_counter.length - 1]], '', token.format);\n }\n\n break;\n\n case TOKEN_TYPE.COUNTERS:\n var counters = data.counters[token.name || ''];\n\n if (counters) {\n s += formatCounterValue(counters, token.glue, token.format);\n }\n\n break;\n\n case TOKEN_TYPE.OPENQUOTE:\n s += getQuote(style, true, data.quoteDepth);\n data.quoteDepth++;\n break;\n\n case TOKEN_TYPE.CLOSEQUOTE:\n data.quoteDepth--;\n s += getQuote(style, false, data.quoteDepth);\n break;\n\n case TOKEN_TYPE.URL:\n if (s) {\n contentItems.push({\n type: PSEUDO_CONTENT_ITEM_TYPE.TEXT,\n value: s\n });\n s = '';\n }\n\n contentItems.push({\n type: PSEUDO_CONTENT_ITEM_TYPE.IMAGE,\n value: token.value || ''\n });\n break;\n }\n }\n\n if (s) {\n contentItems.push({\n type: PSEUDO_CONTENT_ITEM_TYPE.TEXT,\n value: s\n });\n }\n\n return contentItems;\n};\nvar parseContent = function parseContent(content, cache) {\n if (cache && cache[content]) {\n return cache[content];\n }\n\n var tokens = [];\n var len = content.length;\n var isString = false;\n var isEscaped = false;\n var isFunction = false;\n var str = '';\n var functionName = '';\n var args = [];\n\n for (var i = 0; i < len; i++) {\n var c = content.charAt(i);\n\n switch (c) {\n case \"'\":\n case '\"':\n if (isEscaped) {\n str += c;\n } else {\n isString = !isString;\n\n if (!isFunction && !isString) {\n tokens.push({\n type: TOKEN_TYPE.STRING,\n value: str\n });\n str = '';\n }\n }\n\n break;\n\n case '\\\\':\n if (isEscaped) {\n str += c;\n isEscaped = false;\n } else {\n isEscaped = true;\n }\n\n break;\n\n case '(':\n if (isString) {\n str += c;\n } else {\n isFunction = true;\n functionName = str;\n str = '';\n args = [];\n }\n\n break;\n\n case ')':\n if (isString) {\n str += c;\n } else if (isFunction) {\n if (str) {\n args.push(str);\n }\n\n switch (functionName) {\n case 'attr':\n if (args.length > 0) {\n tokens.push({\n type: TOKEN_TYPE.ATTRIBUTE,\n value: args[0]\n });\n }\n\n break;\n\n case 'counter':\n if (args.length > 0) {\n var counter = {\n type: TOKEN_TYPE.COUNTER,\n name: args[0]\n };\n\n if (args.length > 1) {\n counter.format = args[1];\n }\n\n tokens.push(counter);\n }\n\n break;\n\n case 'counters':\n if (args.length > 0) {\n var counters = {\n type: TOKEN_TYPE.COUNTERS,\n name: args[0]\n };\n\n if (args.length > 1) {\n counters.glue = args[1];\n }\n\n if (args.length > 2) {\n counters.format = args[2];\n }\n\n tokens.push(counters);\n }\n\n break;\n\n case 'url':\n if (args.length > 0) {\n tokens.push({\n type: TOKEN_TYPE.URL,\n value: args[0]\n });\n }\n\n break;\n }\n\n isFunction = false;\n str = '';\n }\n\n break;\n\n case ',':\n if (isString) {\n str += c;\n } else if (isFunction) {\n args.push(str);\n str = '';\n }\n\n break;\n\n case ' ':\n case '\\t':\n if (isString) {\n str += c;\n } else if (str) {\n addOtherToken(tokens, str);\n str = '';\n }\n\n break;\n\n default:\n str += c;\n }\n\n if (c !== '\\\\') {\n isEscaped = false;\n }\n }\n\n if (str) {\n addOtherToken(tokens, str);\n }\n\n if (cache) {\n cache[content] = tokens;\n }\n\n return tokens;\n};\n\nvar addOtherToken = function addOtherToken(tokens, identifier) {\n switch (identifier) {\n case 'open-quote':\n tokens.push({\n type: TOKEN_TYPE.OPENQUOTE\n });\n break;\n\n case 'close-quote':\n tokens.push({\n type: TOKEN_TYPE.CLOSEQUOTE\n });\n break;\n }\n};\n\nvar getQuote = function getQuote(style, isOpening, quoteDepth) {\n var quotes = style.quotes ? style.quotes.split(/\\s+/) : [\"'\\\"'\", \"'\\\"'\"];\n var idx = quoteDepth * 2;\n\n if (idx >= quotes.length) {\n idx = quotes.length - 2;\n }\n\n if (!isOpening) {\n ++idx;\n }\n\n return quotes[idx].replace(/^[\"']|[\"']$/g, '');\n};\n\nvar formatCounterValue = function formatCounterValue(counter, glue, format) {\n var len = counter.length;\n var result = '';\n\n for (var i = 0; i < len;
1 i++) {\n if (i > 0) {\n result += glue || '';\n }\n\n result += Object(_ListItem__WEBPACK_IMPORTED_MODULE_0__[\"createCounterText\"])(counter[i], Object(_parsing_listStyle__WEBPACK_IMPORTED_MODULE_1__[\"parseListStyleType\"])(format || 'decimal'), false);\n }\n\n return result;\n};\n\n//# sourceURL=webpack://html2canvas/./src/PseudoNodeContent.js?")},
1"./src/Renderer.js":function _src_RendererJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Renderer; });\n/* harmony import */ var _Bounds__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Bounds */ "./src/Bounds.js");\n/* harmony import */ var _Font__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Font */ "./src/Font.js");\n/* harmony import */ var _Gradient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Gradient */ "./src/Gradient.js");\n/* harmony import */ var _TextContainer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TextContainer */ "./src/TextContainer.js");\n/* harmony import */ var _parsing_background__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./parsing/background */ "./src/parsing/background.js");\n/* harmony import */ var _parsing_border__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./parsing/border */ "./src/parsing/border.js");\n\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\n\n\n\n\n\nvar Renderer =\n/*#__PURE__*/\nfunction () {\n function Re
1nderer(target, options) {\n _classCallCheck(this, Renderer);\n\n this.target = target;\n this.options = options;\n target.render(options);\n }\n\n _createClass(Renderer, [{\n key: "renderNode",\n value: function renderNode(container) {\n if (container.isVisible()) {\n this.renderNodeBackgroundAndBorders(container);\n this.renderNodeContent(container);\n }\n }\n }, {\n key: "renderNodeContent",\n value: function renderNodeContent(container) {\n var _this = this;\n\n var callback = function callback() {\n if (container.childNodes.length) {\n container.childNodes.forEach(function (child) {\n if (child instanceof _TextContainer__WEBPACK_IMPORTED_MODULE_3__["default"]) {\n var style = child.parent.style;\n\n _this.target.renderTextNode(child.bounds, style.color, style.font, style.textDecoration, style.textShadow);\n } else {\n _this.target.drawShape(child, container.style.color);\n }\n });\n }\n\n if (container.image) {\n var _image = _this.options.imageStore.get(container.image);\n\n if (_image) {\n var contentBox = Object(_Bounds__WEBPACK_IMPORTED_MODULE_0__["calculateContentBox"])(container.bounds, container.style.padding, container.style.border);\n\n var _width = typeof _image.width === \'number\' && _image.width > 0 ? _image.width : contentBox.width;\n\n var _height = typeof _image.height === \'number\' && _image.height > 0 ? _image.height : contentBox.height;\n\n if (_width > 0 && _height > 0) {\n _this.target.clip([Object(_Bounds__WEBPACK_IMPORTED_MODULE_0__["calculatePaddingBoxPath"])(container.curvedBounds)], function () {\n _this.target.drawImage(_image, new _Bounds__WEBPACK_IMPORTED_MODULE_0__["Bounds"](0, 0, _width, _height), contentBox);\n });\n }\n }\n }\n };\n\n var paths = container.getClipPaths();\n\n if (paths.length) {\n this.target.clip(paths, callback);\n } else {\n callback();\n }\n }\n }, {\n key: "renderNodeBackgroundAndBorders",\n value: function renderNodeBackgroundAndBorders(container) {\n var _this2 = this;\n\n var HAS_BACKGROUND = !container.style.background.backgroundColor.isTransparent() || container.style.background.backgroundImage.length;\n var hasRenderableBorders = container.style.border.some(function (border) {\n return border.borderStyle !== _parsing_border__WEBPACK_IMPORTED_MODULE_5__["BORDER_STYLE"].NONE && !border.borderColor.isTransparent();\n });\n\n var callback = function callback() {\n var backgroundPaintingArea = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["calculateBackgroungPaintingArea"])(container.curvedBounds, container.style.background.backgroundClip);\n\n if (HAS_BACKGROUND) {\n _this2.target.clip([backgroundPaintingArea], function () {\n if (!container.style.background.backgroundColor.isTransparent()) {\n _this2.target.fill(container.style.background.backgroundColor);\n }\n\n _this2.renderBackgroundImage(container);\n });\n }\n\n container.style.border.forEach(function (border, side) {\n if (border.borderStyle !== _parsing_border__WEBPACK_IMPORTED_MODULE_5__["BORDER_STYLE"].NONE && !border.borderColor.isTransparent()) {\n _this2.renderBorder(border, side, container.curvedBounds);\n }\n });\n };\n\n if (HAS_BACKGROUND || hasRenderableBorders) {\n var paths = container.parent ? container.parent.getClipPaths() : [];\n\n if (paths.length) {\n this.target.clip(paths, callback);\n } else {\n callback();\n }\n }\n }\n }, {\n key: "renderBackgroundImage",\n value: function renderBackgroundImage(container) {\n var _this3 = this;\n\n container.style.background.backgroundImage.slice(0).reverse().forEac
1h(function (backgroundImage) {\n if (backgroundImage.source.method === \'url\' && backgroundImage.source.args.length) {\n _this3.renderBackgroundRepeat(container, backgroundImage);\n } else if (/gradient/i.test(backgroundImage.source.method)) {\n _this3.renderBackgroundGradient(container, backgroundImage);\n }\n });\n }\n }, {\n key: "renderBackgroundRepeat",\n value: function renderBackgroundRepeat(container, background) {\n var image = this.options.imageStore.get(background.source.args[0]);\n\n if (image) {\n var backgroundPositioningArea = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["calculateBackgroungPositioningArea"])(container.style.background.backgroundOrigin, container.bounds, container.style.padding, container.style.border);\n var backgroundImageSize = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["calculateBackgroundSize"])(background, image, backgroundPositioningArea);\n var position = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["calculateBackgroundPosition"])(background.position, backgroundImageSize, backgroundPositioningArea);\n\n var _path = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["calculateBackgroundRepeatPath"])(background, position, backgroundImageSize, backgroundPositioningArea, container.bounds);\n\n var _offsetX = Math.round(backgroundPositioningArea.left + position.x);\n\n var _offsetY = Math.round(backgroundPositioningArea.top + position.y);\n\n this.target.renderRepeat(_path, image, backgroundImageSize, _offsetX, _offsetY);\n }\n }\n }, {\n key: "renderBackgroundGradient",\n value: function renderBackgroundGradient(container, background) {\n var backgroundPositioningArea = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["calculateBackgroungPositioningArea"])(container.style.background.backgroundOrigin, container.bounds, container.style.padding, container.style.border);\n var backgroundImageSize = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["calculateGradientBackgroundSize"])(background, backgroundPositioningArea);\n var position = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["calculateBackgroundPosition"])(background.position, backgroundImageSize, backgroundPositioningArea);\n var gradientBounds = new _Bounds__WEBPACK_IMPORTED_MODULE_0__["Bounds"](Math.round(backgroundPositioningArea.left + position.x), Math.round(backgroundPositioningArea.top + position.y), backgroundImageSize.width, backgroundImageSize.height);\n var gradient = Object(_Gradient__WEBPACK_IMPORTED_MODULE_2__["parseGradient"])(container, background.source, gradientBounds);\n\n if (gradient) {\n switch (gradient.type) {\n case _Gradient__WEBPACK_IMPORTED_MODULE_2__["GRADIENT_TYPE"].LINEAR_GRADIENT:\n // $FlowFixMe\n this.target.renderLinearGradient(gradientBounds, gradient);\n break;\n\n case _Gradient__WEBPACK_IMPORTED_MODULE_2__["GRADIENT_TYPE"].RADIAL_GRADIENT:\n // $FlowFixMe\n this.target.renderRadialGradient(gradientBounds, gradient);\n break;\n }\n }\n }\n }, {\n key: "renderBorder",\n value: function renderBorder(border, side, curvePoints) {\n this.target.drawShape(Object(_Bounds__WEBPACK_IMPORTED_MODULE_0__["parsePathForBorder"])(curvePoints, side), border.borderColor);\n }\n }
1, {\n key: "renderStack",\n value: function renderStack(stack) {\n var _this4 = this;\n\n if (stack.container.isVisible()) {\n var _opacity = stack.getOpacity();\n\n if (_opacity !== this._opacity) {\n this.target.setOpacity(stack.getOpacity());\n this._opacity = _opacity;\n }\n\n var transform = stack.container.style.transform;\n\n if (transform !== null) {\n this.target.transform(stack.container.bounds.left + transform.transformOrigin[0].value, stack.container.bounds.top + transform.transformOrigin[1].value, transform.transform, function () {\n return _this4.renderStackContent(stack);\n });\n } else {\n this.renderStackContent(stack);\n }\n }\n }\n }, {\n key: "renderStackContent",\n value: function renderStackContent(stack) {\n var _splitStackingContext = splitStackingContexts(stack),\n _splitStackingContext2 = _slicedToArray(_splitStackingContext, 5),\n negativeZIndex = _splitStackingContext2[0],\n zeroOrAutoZIndexOrTransformedOrOpacity = _splitStackingContext2[1],\n positiveZIndex = _splitStackingContext2[2],\n nonPositionedFloats = _splitStackingContext2[3],\n nonPositionedInlineLevel = _splitStackingContext2[4];\n\n var _splitDescendants = splitDescendants(stack),\n _splitDescendants2 = _slicedToArray(_splitDescendants, 2),\n inlineLevel = _splitDescendants2[0],\n nonInlineLevel = _splitDescendants2[1]; // https://www.w3.org/TR/css-position-3/#painting-order\n // 1. the background and borders of the element forming the stacking context.\n\n\n this.renderNodeBackgroundAndBorders(stack.container); // 2. the child stacking contexts with negative stack levels (most negative first).\n\n negativeZIndex.sort(sortByZIndex).forEach(this.renderStack, this); // 3. For all its in-flow, non-positioned, block-level descendants in tree order:\n\n this.renderNodeContent(stack.container);\n nonInlineLevel.forEach(this.renderNode, this); // 4. All non-positioned floating descendants, in tree order. For each one of these,\n // treat the element as if it created a new stacking context, but any positioned descendants and descendants\n // which actually create a new stacking context should be considered part of the parent stacking context,\n // not this new one.\n\n nonPositionedFloats.forEach(this.renderStack, this); // 5. the in-flow, inline-level, non-positioned descendants, including inline tables and inline blocks.\n\n nonPositionedInlineLevel.forEach(this.renderStack, this);\n inlineLevel.forEach(this.renderNode, this); // 6. All positioned, opacity or transform descendants, in tree order that fall into the following categories:\n // All positioned descendants with \'z-index: auto\' or \'z-index: 0\', in tree order.\n // For those with \'z-index: auto\', treat the element as if it created a new stacking context,\n // but any positioned descendants and descendants which actually create a new stacking context should be\n // considered part of the parent stacking context, not this new one. For those with \'z-index: 0\',\n // treat the stacking context generated atomically.\n //\n // All opacity descendants with opacity less than 1\n //\n // All transform descendants with transform other than none\n\n zeroOrAutoZIndexOrTransformedOrOpacity.forEach(this.renderStack, this); // 7. Stacking contexts formed by positioned descendants with z-indices greater than or equal to 1 in z-index\n // order (smallest first) then tree order.\n\n positiveZIndex.sort(sortByZIndex).forEach(this.renderStack, this);\n }\n }, {\n key: "render",\n value: function render(stack) {\n var _this5 = this;\n\n if (this.options.backgroundColor) {\n this.target.rectangle(this.options.x, this.options.y, this.options.width, this.options.height, this.options.backgroundColor);\n }\n\n this.renderStack(stack);\n var target = this.target.getTarget();\n\n if (true) {\n return target.then(function (output) {\n _this5.options.logger.log("Render completed");\n\n return output;\n });\n }\n\n return target;\n }\n }]);\n\n return Renderer;\n}();\n\n\n\nvar splitDescendants = function splitDescendants(stack) {\n var inlineLevel = [];\n var nonInlineLevel = [];\n var length = stack.children.length;\n\n for (var i = 0; i < length;
1 i++) {\n var child = stack.children[i];\n\n if (child.isInlineLevel()) {\n inlineLevel.push(child);\n } else {\n nonInlineLevel.push(child);\n }\n }\n\n return [inlineLevel, nonInlineLevel];\n};\n\nvar splitStackingContexts = function splitStackingContexts(stack) {\n var negativeZIndex = [];\n var zeroOrAutoZIndexOrTransformedOrOpacity = [];\n var positiveZIndex = [];\n var nonPositionedFloats = [];\n var nonPositionedInlineLevel = [];\n var length = stack.contexts.length;\n\n for (var i = 0; i < length; i++) {\n var child = stack.contexts[i];\n\n if (child.container.isPositioned() || child.container.style.opacity < 1 || child.container.isTransformed()) {\n if (child.container.style.zIndex.order < 0) {\n negativeZIndex.push(child);\n } else if (child.container.style.zIndex.order > 0) {\n positiveZIndex.push(child);\n } else {\n zeroOrAutoZIndexOrTransformedOrOpacity.push(child);\n }\n } else {\n if (child.container.isFloating()) {\n nonPositionedFloats.push(child);\n } else {\n nonPositionedInlineLevel.push(child);\n }\n }\n }\n\n return [negativeZIndex, zeroOrAutoZIndexOrTransformedOrOpacity, positiveZIndex, nonPositionedFloats, nonPositionedInlineLevel];\n};\n\nvar sortByZIndex = function sortByZIndex(a, b) {\n if (a.container.style.zIndex.order > b.container.style.zIndex.order) {\n return 1;\n } else if (a.container.style.zIndex.order < b.container.style.zIndex.order) {\n return -1;\n }\n\n return a.container.index > b.container.index ? 1 : -1;\n};\n\n//# sourceURL=webpack://html2canvas/./src/Renderer.js?')},
1"./src/ResourceLoader.js":function _src_ResourceLoaderJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return ResourceLoader; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResourceStore", function() { return ResourceStore; });\n/* harmony import */ var _Feature__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Feature */ "./src/Feature.js");\n/* harmony import */ var _Proxy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Proxy */ "./src/Proxy.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\n\nvar ResourceLoader =\n/*#__PURE__*/\nfunction () {\n function ResourceLoader(options, logger, window) {\n _classCallCheck(this, ResourceLoader);\n\n this.options = options;\n this._window = window;\n this.origin = this.getOrigin(window.location.href);\n this.cache = {};\n this.logger = logger;\n this._index = 0;\n }\n\n _createClass(ResourceLoader, [{\n key: "loadImage",\n value: function loadImage(src) {\n var _this = this;\n\n if (this.hasResourceInCache(src)) {\n return src;\n }\n\n if (isBlobImage(src)) {\n this.cache[src] = _loadImage(src, this.options.imageTimeout || 0);\n return src;\n }\n\n if (!isSVG(src) || _Feature__WEBPACK_IMPORTED_MODULE_0__["default"].SUPPORT_SVG_DRAWING) {\n if (this.options.allowTaint === true || isInlineImage(src) || this.isSameOrigin(src)) {\n return this.addImage(src, src, false);\n } else if (!this.isSameOrigin(src)) {\n if (typeof this.options.proxy === \'string\') {\n this.cache[src] = Object(_Proxy__WEBPACK_IMPORTED_MODULE_1__["Proxy"])(src, this.options).then(function (src) {\n return _loadImage(src, _this.options.imageTimeout || 0);\n });\n return src;\n } else if (this.options.useCORS === true && _Feature__WEBPACK_IMPORTED_MODULE_0__["default"].SUPPORT_CORS_IMAGES) {\n return this.addImage(src, src, true);\n }\n }\n }\n }\n }, {\n key: "inlineImage",\n value: function inlineImage(src) {\n var _this2 = this;\n\n if (isInlineImage(src)) {\n return _loadImage(src, this.options.imageTimeout || 0);\n }\n\n if (this.hasResourceInCache(src)) {\n return this.cache[src];\n }\n\n if (!this.isSameOrigin(src) && typeof this.options.proxy === \'string\') {\n return this.cache[src] = Object(_Proxy__WEBPACK_IMPORTED_MODULE_1__["Proxy"])(src, this.options).then(function (src) {\n return _loadImage(src, _this2.options.imageTimeout || 0);\n });\n }\n\n return this.xhrImage(src);\n }\n }, {\n key: "xhrImage",\n value: function xhrImage(src) {\n var _this3 = this;\n\n this.cache[src] = new Promise(function (resolve, reject) {\n var xhr = new XMLHttpRequest();\n\n xhr.onreadystatechange = function () {\n if (xhr.readyState === 4) {\n if (xhr.status !== 200) {\n reject("Failed to fetch image ".concat(src.substring(0, 256), " with status code ").concat(xhr.status));\n } else {\n var reader = new FileReader();\n reader.addEventListener(\'load\', function () {\n // $FlowFixMe\n var result = reader.result;\n resolve(result);\n }, false);\n reader.addEventListener(\'error\', function (e) {\n return reject(e);\n }, false);
1\n reader.readAsDataURL(xhr.response);\n }\n }\n };\n\n xhr.responseType = \'blob\';\n\n if (_this3.options.imageTimeout) {\n var timeout = _this3.options.imageTimeout;\n xhr.timeout = timeout;\n\n xhr.ontimeout = function () {\n return reject( true ? "Timed out (".concat(timeout, "ms) fetching ").concat(src.substring(0, 256)) : undefined);\n };\n }\n\n xhr.open(\'GET\', src, true);\n xhr.send();\n }).then(function (src) {\n return _loadImage(src, _this3.options.imageTimeout || 0);\n });\n return this.cache[src];\n }\n }, {\n key: "loadCanvas",\n value: function loadCanvas(node) {\n var key = String(this._index++);\n this.cache[key] = Promise.resolve(node);\n return key;\n }\n }, {\n key: "hasResourceInCache",\n value: function hasResourceInCache(key) {\n return typeof this.cache[key] !== \'undefined\';\n }\n }, {\n key: "addImage",\n value: function addImage(key, src, useCORS) {\n var _this4 = this;\n\n if (true) {\n this.logger.log("Added image ".concat(key.substring(0, 256)));\n }\n\n this.cache[key] = new Promise(function (resolve, reject) {\n var img = new Image();\n\n img.onload = function () {\n return resolve(img);\n }; //ios safari 10.3 taints canvas with data urls unless crossOrigin is set to anonymous\n\n\n if (isInlineBase64Image(src) || useCORS) {\n img.crossOrigin = \'anonymous\';\n }\n\n img.onerror = reject;\n img.src = src;\n\n if (img.complete === true) {\n // Inline XML images may fail to parse, throwing an Error later on\n setTimeout(function () {\n resolve(img);\n }, 500);\n }\n\n if (_this4.options.imageTimeout) {\n var timeout = _this4.options.imageTimeout;\n setTimeout(function () {\n return reject( true ? "Timed out (".concat(timeout, "ms) fetching ").concat(src.substring(0, 256)) : undefined);\n }, timeout);\n }\n });\n return key;\n }\n }, {\n key: "isSameOrigin",\n value: function isSameOrigin(url) {\n return this.getOrigin(url) === this.origin;\n }\n }, {\n key: "getOrigin",\n value: function getOrigin(url) {\n var link = this._link || (this._link = this._window.document.createElement(\'a\'));\n\n link.href = url;\n link.href = link.href; // IE9, LOL! - http://jsfiddle.net/niklasvh/2e48b/\n\n return link.protocol + link.hostname + link.port;\n }\n }, {\n key: "ready",\n value: function ready() {\n var _this5 = this;\n\n var keys = Object.keys(this.cache);\n var values = keys.map(function (str) {\n return _this5.cache[str].catch(function (e) {\n if (true) {\n _this5.logger.log("Unable to load image", e);\n }\n\n return null;\n });\n });\n return Promise.all(values).then(function (images) {\n if (true) {\n _this5.logger.log("Finished loading ".concat(images.length, " images"), images);\n }\n\n return new ResourceStore(keys, images);\n });\n }\n }]);\n\n return ResourceLoader;\n}();\n\n\nvar ResourceStore =\n/*#__PURE__*/\nfunction () {\n function ResourceStore(keys, resources) {\n _classCallCheck(this, ResourceStore);\n\n this._keys = keys;\n this._resources = resources;\n }\n\n _createClass(ResourceStore, [{\n key: "get",\n value: function get(key) {\n var index = this._keys.indexOf(key);\n\n return index === -1 ? null : this._resources[index];\n }\n }]);\n\n return ResourceStore;\n}();\nvar INLINE_SVG = /^data:image\\/svg\\+xml/i;\nvar INLINE_BASE64 = /^data:image\\/.*;base64,/i;\nvar INLINE_IMG = /^data:image\\/.*/i;\n\nvar isInlineImage = function isInlineImage(src) {\n return INLINE_IMG.test(src);\n};\n\nvar isInlineBase64Image = function isInlineBase64Image(src) {\n return INLINE_BASE64.test(src);\n};\n\nvar isBlobImage = function isBlobImage(src) {\n return src.substr(0, 4) === \'blob\';\n};\n\nvar isSVG = function isSVG(src) {\n return src.substr(-3).toLowerCase() === \'svg\' || INLINE_SVG.test(src);\n};\n\nvar _loadImage = function _loadImage(src, timeout) {\n return new Promise(function (resolve, reject) {\n var img = new Image();\n\n img.onload = function () {\n return resolve(img);\n };\n\n img.onerror = reject;\n img.src = src;\n\n if (img.complete === true) {\n // Inline XML images may fail to parse, throwing an Error later on\n setTimeout(function () {\n resolve(img);\n }, 500);\n }\n\n if (timeout) {\n setTimeout(function () {\n return reject( true ? "Timed out (".concat(timeout, "ms) loading image") : undefined);\n }, timeout);\n }\n });\n};\n\n//# sourceURL=webpack://html2canvas/./src/ResourceLoader.js?')},
1"./src/StackingContext.js":function _src_StackingContextJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return StackingContext; });\n/* harmony import */ var _NodeContainer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./NodeContainer */ "./src/NodeContainer.js");\n/* harmony import */ var _parsing_position__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parsing/position */ "./src/parsing/position.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\n\nvar StackingContext =\n/*#__PURE__*/\nfunction () {\n function StackingContext(container, parent, treatAsRealStackingContext) {\n _classCallCheck(this, StackingContext);\n\n this.container = container;\n this.parent = parent;\n this.contexts = [];\n this.children = [];\n this.treatAsRealStackingContext = treatAsRealStackingContext;\n }\n\n _createClass(StackingContext, [{\n key: "getOpacity",\n value: function getOpacity() {\n return this.parent ? this.container.style.opacity * this.parent.getOpacity() : this.container.style.opacity;\n }\n }, {\n key: "getRealParentStackingContext",\n value: function getRealParentStackingContext() {\n return !this.parent || this.treatAsRealStackingContext ? this : this.parent.getRealParentStackingContext();\n }\n }]);\n\n return StackingContext;\n}();\n\n\n\n//# sourceURL=webpack://html2canvas/./src/StackingContext.js?')},
1"./src/TextBounds.js":function _src_TextBoundsJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextBounds", function() { return TextBounds; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseTextBounds", function() { return parseTextBounds; });\n/* harmony import */ var _Bounds__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Bounds */ "./src/Bounds.js");\n/* harmony import */ var _parsing_textDecoration__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parsing/textDecoration */ "./src/parsing/textDecoration.js");\n/* harmony import */ var _Feature__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Feature */ "./src/Feature.js");\n/* harmony import */ var _Unicode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Unicode */ "./src/Unicode.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\n\n\n\n\nvar TextBounds = function TextBounds(text, bounds) {\n _classCallCheck(this, TextBounds);\n\n this.text = text;\n this.bounds = bounds;\n};\nvar parseTextBounds = function parseTextBounds(value, parent, node) {\n var letterRendering = parent.style.letterSpacing !== 0;\n var textList = letterRendering ? Object(_Unicode__WEBPACK_IMPORTED_MODULE_3__["toCodePoints"])(value).map(function (i) {\n return Object(_Unicode__WEBPACK_IMPORTED_MODULE_3__["fromCodePoint"])(i);\n }) : Object(_Unicode__WEBPACK_IMPORTED_MODULE_3__["breakWords"])(value, parent);\n var length = textList.length;\n var defaultView = node.parentNode ? node.parentNode.ownerDocument.defaultView : null;\n var scrollX = defaultView ? defaultView.pageXOffset : 0;\n var scrollY = defaultView ? defaultView.pageYOffset : 0;\n var textBounds = [];\n var offset = 0;\n\n for (var i = 0; i < length; i++) {\n var text = textList[i];\n\n if (parent.style.textDecoration !== _parsing_textDecoration__WEBPACK_IMPORTED_MODULE_1__["TEXT_DECORATION"].NONE || text.trim().length > 0) {\n if (_Feature__WEBPACK_IMPORTED_MODULE_2__["default"].SUPPORT_RANGE_BOUNDS) {\
1n textBounds.push(new TextBounds(text, getRangeBounds(node, offset, text.length, scrollX, scrollY)));\n } else {\n var replacementNode = node.splitText(text.length);\n textBounds.push(new TextBounds(text, getWrapperBounds(node, scrollX, scrollY)));\n node = replacementNode;\n }\n } else if (!_Feature__WEBPACK_IMPORTED_MODULE_2__["default"].SUPPORT_RANGE_BOUNDS) {\n node = node.splitText(text.length);\n }\n\n offset += text.length;\n }\n\n return textBounds;\n};\n\nvar getWrapperBounds = function getWrapperBounds(node, scrollX, scrollY) {\n var wrapper = node.ownerDocument.createElement(\'html2canvaswrapper\');\n wrapper.appendChild(node.cloneNode(true));\n var parentNode = node.parentNode;\n\n if (parentNode) {\n parentNode.replaceChild(wrapper, node);\n var bounds = Object(_Bounds__WEBPACK_IMPORTED_MODULE_0__["parseBounds"])(wrapper, scrollX, scrollY);\n\n if (wrapper.firstChild) {\n parentNode.replaceChild(wrapper.firstChild, wrapper);\n }\n\n return bounds;\n }\n\n return new _Bounds__WEBPACK_IMPORTED_MODULE_0__["Bounds"](0, 0, 0, 0);\n};\n\nvar getRangeBounds = function getRangeBounds(node, offset, length, scrollX, scrollY) {\n var range = node.ownerDocument.createRange();\n range.setStart(node, offset);\n range.setEnd(node, offset + length);\n return _Bounds__WEBPACK_IMPORTED_MODULE_0__["Bounds"].fromClientRect(range.getBoundingClientRect(), scrollX, scrollY);\n};\n\n//# sourceURL=webpack://html2canvas/./src/TextBounds.js?')},
1"./src/TextContainer.js":function _src_TextContainerJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return TextContainer; });\n/* harmony import */ var _parsing_textTransform__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parsing/textTransform */ "./src/parsing/textTransform.js");\n/* harmony import */ var _TextBounds__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TextBounds */ "./src/TextBounds.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\n\nvar TextContainer =\n/*#__PURE__*/\nfunction () {\n function TextContainer(text, parent, bounds) {\n _classCallCheck(this, TextContainer);\n\n this.text = text;\n this.parent = parent;\n this.bounds = bounds;\n }\n\n _createClass(TextContainer, null, [{\n key: "fromTextNode",\n value: function fromTextNode(node, parent) {\n var text = transform(node.data, parent.style.textTransform);\n return new TextContainer(text, parent, Object(_TextBounds__WEBPACK_IMPORTED_MODULE_1__["parseTextBounds"])(text, parent, node));\n }\n }]);\n\n return TextContainer;\n}();\n\n\nvar CAPITALIZE = /(^|\\s|:|-|\\(|\\))([a-z])/g;\n\nvar transform = function transform(text, _transform) {\n switch (_transform) {\n case _parsing_textTransform__WEBPACK_IMPORTED_MODULE_0__["TEXT_TRANSFORM"].LOWERCASE:\n return text.toLowerCase();\n\n case _parsing_textTransform__WEBPACK_IMPORTED_MODULE_0__["TEXT_TRANSFORM"].CAPITALIZE:\n return text.replace(CAPITALIZE, capitalize);\n\n case _parsing_textTransform__WEBPACK_IMPORTED_MODULE_0__["TEXT_TRANSFORM"].UPPERCASE:\n return text.toUpperCase();\n\n default:\n return text;\n }\n};\n\nfunction capitalize(m, p1, p2) {\n if (m.length > 0) {\n return p1 + p2.toUpperCase();\n }\n\n return m;\n}\n\n//# sourceURL=webpack://html2canvas/./src/TextContainer.js?')},
1"./src/Unicode.js":function _src_UnicodeJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "breakWords", function() { return breakWords; });\n/* harmony import */ var css_line_break__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! css-line-break */ "./node_modules/css-line-break/dist/index.js");\n/* harmony import */ var css_line_break__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(css_line_break__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _parsing_overflowWrap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parsing/overflowWrap */ "./src/parsing/overflowWrap.js");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "toCodePoints", function() { return css_line_break__WEBPACK_IMPORTED_MODULE_0__["toCodePoints"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "fromCodePoint", function() { return css_line_break__WEBPACK_IMPORTED_MODULE_0__["fromCodePoint"]; });\n\n\n\n\n\n\nvar breakWords = function breakWords(str, parent) {\n var breaker = Object(css_line_break__WEBPACK_IMPORTED_MODULE_0__["LineBreaker"])(str, {\n lineBreak: parent.style.lineBreak,\n wordBreak: parent.style.overflowWrap === _parsing_overflowWrap__WEBPACK_IMPORTED_MODULE_1__["OVERFLOW_WRAP"].BREAK_WORD ? \'break-word\' : parent.style.wordBreak\n });\n var words = [];\n var bk;\n\n while (!(bk = breaker.next()).done) {\n words.push(bk.value.slice());\n }\n\n return words;\n};\n\n//# sourceURL=webpack://html2canvas/./src/Unicode.js?')},
1"./src/Util.js":function _src_UtilJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "contains", function() { return contains; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "distance", function() { return distance; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "copyCSSStyles", function() { return copyCSSStyles; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SMALL_IMAGE", function() { return SMALL_IMAGE; });\n\n\nvar contains = function contains(bit, value) {\n return (bit & value) !== 0;\n};\nvar distance = function distance(a, b) {\n return Math.sqrt(a * a + b * b);\n};\nvar copyCSSStyles = function copyCSSStyles(style, target) {\n // Edge does not provide value for cssText\n for (var i = style.length - 1; i >= 0; i--) {\n var property = style.item(i); // Safari shows pseudoelements if content is set\n\n if (property !== \'content\') {\n target.style.setProperty(property, style.getPropertyValue(property));\n }\n }\n\n return target;\n};\nvar SMALL_IMAGE = \'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\';\n\n//# sourceURL=webpack://html2canvas/./src/Util.js?')},
1"./src/Window.js":function _src_WindowJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "renderElement", function() { return renderElement; });\n/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "./src/Logger.js");\n/* harmony import */ var _NodeParser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./NodeParser */ "./src/NodeParser.js");\n/* harmony import */ var _Renderer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Renderer */ "./src/Renderer.js");\n/* harmony import */ var _renderer_ForeignObjectRenderer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./renderer/ForeignObjectRenderer */ "./src/renderer/ForeignObjectRenderer.js");\n/* harmony import */ var _Feature__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Feature */ "./src/Feature.js");\n/* harmony import */ var _Bounds__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Bounds */ "./src/Bounds.js");\n/* harmony import */ var _Clone__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Clone */ "./src/Clone.js");\n/* harmony import */ var _Font__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Font */ "./src/Font.js");\n/* harmony import */ var _Color__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Color */ "./src/Color.js");\n\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\n\n\n\n\n\n\n\nvar renderElement = function renderElement(element, options, logger) {\n var ownerDocument = element.ownerDocument;\n var windowBounds = new _Bounds__WEBPACK_IMPORTED_MODULE_5__["Bounds"](options.scrollX, options.scrollY, options.windowWidth, options.windowHeight); // http://www.w3.org/TR/css3-background/#special-backgrounds\n\n var documentBackgroundColor = ownerDocument.documentElement ? new _Color__WEBPACK_IMPORTED_MODULE_8__["default"](getComputedStyle(ownerDocument.documentElement).backgroundColor) : _Color__WEBPACK_IMPORTED_MODULE_8__["TRANSPARENT"];\n var bodyBackgroundColor = ownerDocument.body ? new _Color__WEBPACK_IMPORTED_MODULE_8__["default"](getComputedStyle(ownerDocument.body).backgroundColor) : _Color__WEBPACK_IMPORTED_MODULE_8__["TRANSPARENT"];\n var backgroundColor = element === ownerDocument.documentElement ? documentBackgroundColor.isTransparent() ? bodyBackgroundColor.isTransparent() ? options.backgroundColor ? new _Color__WEBPACK_IMPORTED_MODULE_8__["default"](options.backgroundColor) : null : bodyBackgroundColor : documentBackgroundColor : options.backgroundColor ? new _Color__WEBPACK_IMPORTED_MODULE_8__["default"](options.backgroundColor) : null;\n return (options.foreignObjectRendering ? // $FlowFixMe\n _Feature__WEBPACK_IMPORTED_MODULE_4__["default"].SUPPORT_FOREIGNOBJECT_DRAWING : Promise.resolve(false)).then(function (supportForeignObject) {\n return supportForeignObject ? function (cloner) {\n if (true) {\n logger.log("Document cloned, using foreignObject rendering");\n }\n\n return cloner.inlineFonts(ownerDocument).then(function () {\n return cloner.resourceLoader.ready();\n }).then(function () {\n var renderer = new _renderer_ForeignObjectRenderer__WEBPACK_IMPORTED_MODULE_3__["default"](cloner.documentElement);\n var defaultView = ownerDocument.defaultView;\n var scrollX = defaultView.pageXOffset;\n var scrollY = defaultView.pageYOffset;\n var isDocument = element.tagName === \'HTML\' || element.tagName === \'BODY\';\n\n var _ref = isDocument ? Object(_Bounds__WEBPACK_IMPORTED_MODULE_5__["parseDocumentSize"])(ownerDocument) : Object(_Bounds__WEBPACK_IMPORTED_MODULE_5__["parseBounds"])(element, scrollX, scrollY),\n width = _ref.width,\n height = _ref.height,\n left = _ref.left,\n top = _ref.top;\n\n return renderer.render({\n backgroundColor: backgroundColor,\n logger: logger,\n scale: options.scale,\n x: typeof options.x === \'number\' ? options.x : left,\n y: typeof options.y === \'number\' ? options.y : top,\n width: typeof options.width === \'number\' ? options.width : Math.ceil(width),\n height: typeof options.height === \'number\' ? options.height : Math.
1ceil(height),\n windowWidth: options.windowWidth,\n windowHeight: options.windowHeight,\n scrollX: options.scrollX,\n scrollY: options.scrollY\n });\n });\n }(new _Clone__WEBPACK_IMPORTED_MODULE_6__["DocumentCloner"](element, options, logger, true, renderElement)) : Object(_Clone__WEBPACK_IMPORTED_MODULE_6__["cloneWindow"])(ownerDocument, windowBounds, element, options, logger, renderElement).then(function (_ref2) {\n var _ref3 = _slicedToArray(_ref2, 3),\n container = _ref3[0],\n clonedElement = _ref3[1],\n resourceLoader = _ref3[2];\n\n if (true) {\n logger.log("Document cloned, using computed rendering");\n }\n\n var stack = Object(_NodeParser__WEBPACK_IMPORTED_MODULE_1__["NodeParser"])(clonedElement, resourceLoader, logger);\n var clonedDocument = clonedElement.ownerDocument;\n\n if (backgroundColor === stack.container.style.background.backgroundColor) {\n stack.container.style.background.backgroundColor = _Color__WEBPACK_IMPORTED_MODULE_8__["TRANSPARENT"];\n }\n\n return resourceLoader.ready().then(function (imageStore) {\n var fontMetrics = new _Font__WEBPACK_IMPORTED_MODULE_7__["FontMetrics"](clonedDocument);\n\n if (true) {\n logger.log("Starting renderer");\n }\n\n var defaultView = clonedDocument.defaultView;\n var scrollX = defaultView.pageXOffset;\n var scrollY = defaultView.pageYOffset;\n var isDocument = clonedElement.tagName === \'HTML\' || clonedElement.tagName === \'BODY\';\n\n var _ref4 = isDocument ? Object(_Bounds__WEBPACK_IMPORTED_MODULE_5__["parseDocumentSize"])(ownerDocument) : Object(_Bounds__WEBPACK_IMPORTED_MODULE_5__["parseBounds"])(clonedElement, scrollX, scrollY),\n width = _ref4.width,\n height = _ref4.height,\n left = _ref4.left,\n top = _ref4.top;\n\n var renderOptions = {\n backgroundColor: backgroundColor,\n fontMetrics: fontMetrics,\n imageStore: imageStore,\n logger: logger,\n scale: options.scale,\n x: typeof options.x === \'number\' ? options.x : left,\n y: typeof options.y === \'number\' ? options.y : top,\n width: typeof options.width === \'number\' ? options.width : Math.ceil(width),\n height: typeof options.height === \'number\' ? options.height : Math.ceil(height)\n };\n\n if (Array.isArray(options.target)) {\n return Promise.all(options.target.map(function (target) {\n var renderer = new _Renderer__WEBPACK_IMPORTED_MODULE_2__["default"](target, renderOptions);\n return renderer.render(stack);\n }));\n } else {\n var renderer = new _Renderer__WEBPACK_IMPORTED_MODULE_2__["default"](options.target, renderOptions);\n var canvas = renderer.render(stack);\n\n if (options.removeContainer === true) {\n if (container.parentNode) {\n container.parentNode.removeChild(container);\n } else if (true) {\n logger.log("Cannot detach cloned iframe as it is not in the DOM anymore");\n }\n }\n\n return canvas;\n }\n });\n });\n });\n};\n\n//# sourceURL=webpack://html2canvas/./src/Window.js?')},
1"./src/drawing/BezierCurve.js":function _src_drawing_BezierCurveJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return BezierCurve; });\n/* harmony import */ var _Path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Path */ "./src/drawing/Path.js");\n/* harmony import */ var _Vector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Vector */ "./src/drawing/Vector.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\n\nvar lerp = function lerp(a, b, t) {\n return new _Vector__WEBPACK_IMPORTED_MODULE_1__["default"](a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t);\n};\n\nvar BezierCurve =\n/*#__PURE__*/\nfunction () {\n function BezierCurve(start, startControl, endControl, end) {\n _classCallCheck(this, BezierCurve);\n\n this.type = _Path__WEBPACK_IMPORTED_MODULE_0__["PATH"].BEZIER_CURVE;\n this.start = start;\n this.startControl = startControl;\n this.endControl = endControl;\n this.end = end;\n }\n\n _createClass(BezierCurve, [{\n key: "subdivide",\n value: function subdivide(t, firstHalf) {\n var ab = lerp(this.start, this.startControl, t);\n var bc = lerp(this.startControl, this.endControl, t);\n var cd = lerp(this.endControl, this.end, t);\n var abbc = lerp(ab, bc, t);\n var bccd = lerp(bc, cd, t);\n var dest = lerp(abbc, bccd, t);\n return firstHalf ? new BezierCurve(this.start, ab, abbc, dest) : new BezierCurve(dest, bccd, cd, this.end);\n }\n }, {\n key: "reverse",\n value: function reverse() {\n return new BezierCurve(this.end, this.endControl, this.startControl, this.start);\n }\n }]);\n\n return BezierCurve;\n}();\n\n\n\n//# sourceURL=webpack://html2canvas/./src/drawing/BezierCurve.js?')},
1"./src/drawing/Circle.js":function _src_drawing_CircleJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Circle; });\n/* harmony import */ var _Path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Path */ "./src/drawing/Path.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\n\n\nvar Circle = function Circle(x, y, radius) {\n _classCallCheck(this, Circle);\n\n this.type = _Path__WEBPACK_IMPORTED_MODULE_0__["PATH"].CIRCLE;\n this.x = x;\n this.y = y;\n this.radius = radius;\n\n if (true) {\n if (isNaN(x)) {\n console.error("Invalid x value given for Circle");\n }\n\n if (isNaN(y)) {\n console.error("Invalid y value given for Circle");\n }\n\n if (isNaN(radius)) {\n console.error("Invalid radius value given for Circle");\n }\n }\n};\n\n\n\n//# sourceURL=webpack://html2canvas/./src/drawing/Circle.js?')},
1"./src/drawing/Path.js":function _src_drawing_PathJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PATH", function() { return PATH; });\n\n\nvar PATH = {\n VECTOR: 0,\n BEZIER_CURVE: 1,\n CIRCLE: 2\n};\n\n//# sourceURL=webpack://html2canvas/./src/drawing/Path.js?')},
1"./src/drawing/Size.js":function _src_drawing_SizeJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Size; });\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nvar Size = function Size(width, height) {\n _classCallCheck(this, Size);\n\n this.width = width;\n this.height = height;\n};\n\n\n\n//# sourceURL=webpack://html2canvas/./src/drawing/Size.js?')},
1"./src/drawing/Vector.js":function _src_drawing_VectorJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Vector; });\n/* harmony import */ var _Path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Path */ "./src/drawing/Path.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\n\n\nvar Vector = function Vector(x, y) {\n _classCallCheck(this, Vector);\n\n this.type = _Path__WEBPACK_IMPORTED_MODULE_0__["PATH"].VECTOR;\n this.x = x;\n this.y = y;\n\n if (true) {\n if (isNaN(x)) {\n console.error("Invalid x value given for Vector");\n }\n\n if (isNaN(y)) {\n console.error("Invalid y value given for Vector");\n }\n }\n};\n\n\n\n//# sourceURL=webpack://html2canvas/./src/drawing/Vector.js?')},
1"./src/index.js":function _src_indexJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _renderer_CanvasRenderer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./renderer/CanvasRenderer */ "./src/renderer/CanvasRenderer.js");\n/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Logger */ "./src/Logger.js");\n/* harmony import */ var _Window__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Window */ "./src/Window.js");\n\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === \'function\') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\nvar html2canvas = function html2canvas(element, conf) {\n var config = conf || {};\n var logger = new _Logger__WEBPACK_IMPORTED_MODULE_1__["default"](typeof config.logging === \'boolean\' ? config.logging : true);\n logger.log("html2canvas ".concat("1.0.0-rc.1"));\n\n if ( true && typeof config.onrendered === \'function\') {\n logger.error("onrendered option is deprecated, html2canvas returns a Promise with the canvas as the value");\n }\n\n var ownerDocument = element.ownerDocument;\n\n if (!ownerDocument) {\n return Promise.reject("Provided element is not within a Document");\n }\n\n var defaultView = ownerDocument.defaultView;\n var defaultOptions = {\n allowTaint: false,\n backgroundColor: \'#ffffff\',\n imageTimeout: 15000,\n logging: true,\n proxy: null,\n removeContainer: true,\n foreignObjectRendering: false,\n scale: defaultView.devicePixelRatio || 1,\n target: new _renderer_CanvasRenderer__WEBPACK_IMPORTED_MODULE_0__["default"](config.canvas),\n useCORS: false,\n windowWidth: defaultView.innerWidth,\n windowHeight: defaultView.innerHeight,\n scrollX: defaultView.pageXOffset,\n scrollY: defaultView.pageYOffset\n };\n var result = Object(_Window__WEBPACK_IMPORTED_MODULE_2__["renderElement"])(element, _objectSpread({}, defaultOptions, config), logger);\n\n if (true) {\n return result.catch(function (e) {\n logger.error(e);\n throw e;\n });\n }\n\n return result;\n};\n\nhtml2canvas.CanvasRenderer = _renderer_CanvasRenderer__WEBPACK_IMPORTED_MODULE_0__["default"];\n/* harmony default export */ __webpack_exports__["default"] = (html2canvas);\n\n//# sourceURL=webpack://html2canvas/./src/index.js?')},
1"./src/parsing/background.js":function _src_parsing_backgroundJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BACKGROUND_REPEAT", function() { return BACKGROUND_REPEAT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BACKGROUND_SIZE", function() { return BACKGROUND_SIZE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BACKGROUND_CLIP", function() { return BACKGROUND_CLIP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BACKGROUND_ORIGIN", function() { return BACKGROUND_ORIGIN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculateBackgroundSize", function() { return calculateBackgroundSize; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculateGradientBackgroundSize", function() { return calculateGradientBackgroundSize; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculateBackgroungPaintingArea", function() { return calculateBackgroungPaintingArea; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculateBackgroungPositioningArea", function() { return calculateBackgroungPositioningArea; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculateBackgroundPosition", function() { return calculateBackgroundPosition; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculateBackgroundRepeatPath", function() { return calculateBackgroundRepeatPath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseBackground", function() { return parseBackground; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseBackgroundImage", function() { return parseBackgroundImage; });\n/* harmony import */ var _Color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Color */ "./src/Color.js");\n/* harmony import */ var _Length__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Length */ "./src/Length.js");\n/* harmony import */ var _drawing_Size__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../drawing/Size */ "./src/drawing/Size.js");\n/* harmony import */ var _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../drawing/Vector */ "./src/drawing/Vector.js");\n/* harmony import */ var _Bounds__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Bounds */ "./src/Bounds.js");\n/* harmony import */ var _padding__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./padding */ "./src/parsing/padding.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\n\n\n\n\n\n\nvar BACKGROUND_REPEAT = {\n REPEAT: 0,\n NO_REPEAT: 1,\n REPEAT_X: 2,\n REPEAT_Y: 3\n};\nvar BACKGROUND_SIZE = {\n AUTO: 0,\n CONTAIN: 1,\n COVER: 2,\n LENGTH: 3\n};\nvar BACKGROUND_CLIP = {\n BORDER_BOX: 0,\n PADDING_BOX: 1,\n CONTENT_BOX: 2\n};\nvar BACKGROUND_ORIGIN = BACKGROUND_CLIP;\nvar AUTO = \'auto\';
1\n\nvar BackgroundSize = function BackgroundSize(size) {\n _classCallCheck(this, BackgroundSize);\n\n switch (size) {\n case \'contain\':\n this.size = BACKGROUND_SIZE.CONTAIN;\n break;\n\n case \'cover\':\n this.size = BACKGROUND_SIZE.COVER;\n break;\n\n case \'auto\':\n this.size = BACKGROUND_SIZE.AUTO;\n break;\n\n default:\n this.value = new _Length__WEBPACK_IMPORTED_MODULE_1__["default"](size);\n }\n};\n\nvar calculateBackgroundSize = function calculateBackgroundSize(backgroundImage, image, bounds) {\n var width = 0;\n var height = 0;\n var size = backgroundImage.size;\n\n if (size[0].size === BACKGROUND_SIZE.CONTAIN || size[0].size === BACKGROUND_SIZE.COVER) {\n var targetRatio = bounds.width / bounds.height;\n var currentRatio = image.width / image.height;\n return targetRatio < currentRatio !== (size[0].size === BACKGROUND_SIZE.COVER) ? new _drawing_Size__WEBPACK_IMPORTED_MODULE_2__["default"](bounds.width, bounds.width / currentRatio) : new _drawing_Size__WEBPACK_IMPORTED_MODULE_2__["default"](bounds.height * currentRatio, bounds.height);\n }\n\n if (size[0].value) {\n width = size[0].value.getAbsoluteValue(bounds.width);\n }\n\n if (size[0].size === BACKGROUND_SIZE.AUTO && size[1].size === BACKGROUND_SIZE.AUTO) {\n height = image.height;\n } else if (size[1].size === BACKGROUND_SIZE.AUTO) {\n height = width / image.width * image.height;\n } else if (size[1].value) {\n height = size[1].value.getAbsoluteValue(bounds.height);\n }\n\n if (size[0].size === BACKGROUND_SIZE.AUTO) {\n width = height / image.height * image.width;\n }\n\n return new _drawing_Size__WEBPACK_IMPORTED_MODULE_2__["default"](width, height);\n};\nvar calculateGradientBackgroundSize = function calculateGradientBackgroundSize(backgroundImage, bounds) {\n var size = backgroundImage.size;\n var width = size[0].value ? size[0].value.getAbsoluteValue(bounds.width) : bounds.width;\n var height = size[1].value ? size[1].value.getAbsoluteValue(bounds.height) : size[0].value ? width : bounds.height;\n return new _drawing_Size__WEBPACK_IMPORTED_MODULE_2__["default"](width, height);\n};\nvar AUTO_SIZE = new BackgroundSize(AUTO);\nvar calculateBackgroungPaintingArea = function calculateBackgroungPaintingArea(curves, clip) {\n switch (clip) {\n case BACKGROUND_CLIP.BORDER_BOX:\n return Object(_Bounds__WEBPACK_IMPORTED_MODULE_4__["calculateBorderBoxPath"])(curves);\n\n case BACKGROUND_CLIP.PADDING_BOX:\n default:\n return Object(_Bounds__WEBPACK_IMPORTED_MODULE_4__["calculatePaddingBoxPath"])(curves);\n }\n};\nvar calculateBackgroungPositioningArea = function calculateBackgroungPositioningArea(backgroundOrigin, bounds, padding, border) {\n var paddingBox = Object(_Bounds__WEBPACK_IMPORTED_MODULE_4__["calculatePaddingBox"])(bounds, border);\n\n switch (backgroundOrigin) {\n case BACKGROUND_ORIGIN.BORDER_BOX:\n return bounds;\n\n case BACKGROUND_ORIGIN.CONTENT_BOX:\n var paddingLeft = padding[_padding__WEBPACK_IMPORTED_MODULE_5__["PADDING_SIDES"].LEFT].getAbsoluteValue(bounds.width);\n var paddingRight = padding[_padding__WEBPACK_IMPORTED_MODULE_5__["PADDING_SIDES"].RIGHT].getAbsoluteValue(bounds.width);\n var paddingTop = padding[_padding__WEBPACK_IMPORTED_MODULE_5__["PADDING_SIDES"].TOP].getAbsoluteValue(bounds.width);\n var paddingBottom = padding[_padding__WEBPACK_IMPORTED_MODULE_5__["PADDING_SIDES"].BOTTOM].getAbsoluteValue(bounds.width);\n return new _Bounds__WEBPACK_IMPORTED_MODULE_4__["Bounds"](paddingBox.left + paddingLeft, paddingBox.top + paddingTop, paddingBox.width - paddingLeft - paddingRight, paddingBox.height - paddingTop - paddingBottom);\n\n case BACKGROUND_ORIGIN.PADDING_BOX:\n default:\n return paddingBox;\n }\n};\nvar calculateBackgroundPosition = function calculateBackgroundPosition(position, size, bounds) {\n return new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](position[0].getAbsoluteValue(bounds.width - size.width), position[1].getAbsoluteValue(bounds.height - size.height));\n};
1\nvar calculateBackgroundRepeatPath = function calculateBackgroundRepeatPath(background, position, size, backgroundPositioningArea, bounds) {\n var repeat = background.repeat;\n\n switch (repeat) {\n case BACKGROUND_REPEAT.REPEAT_X:\n return [new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(bounds.left), Math.round(backgroundPositioningArea.top + position.y)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(bounds.left + bounds.width), Math.round(backgroundPositioningArea.top + position.y)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(bounds.left + bounds.width), Math.round(size.height + backgroundPositioningArea.top + position.y)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(bounds.left), Math.round(size.height + backgroundPositioningArea.top + position.y))];\n\n case BACKGROUND_REPEAT.REPEAT_Y:\n return [new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(backgroundPositioningArea.left + position.x), Math.round(bounds.top)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(backgroundPositioningArea.left + position.x + size.width), Math.round(bounds.top)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(backgroundPositioningArea.left + position.x + size.width), Math.round(bounds.height + bounds.top)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(backgroundPositioningArea.left + position.x), Math.round(bounds.height + bounds.top))];\n\n case BACKGROUND_REPEAT.NO_REPEAT:\n return [new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(backgroundPositioningArea.left + position.x), Math.round(backgroundPositioningArea.top + position.y)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(backgroundPositioningArea.left + position.x + size.width), Math.round(backgroundPositioningArea.top + position.y)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(backgroundPositioningArea.left + position.x + size.width), Math.round(backgroundPositioningArea.top + position.y + size.height)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(backgroundPositioningArea.left + position.x), Math.round(backgroundPositioningArea.top + position.y + size.height))];\n\n default:\n return [new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(bounds.left), Math.round(bounds.top)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(bounds.left + bounds.width), Math.round(bounds.top)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(bounds.left + bounds.width), Math.round(bounds.height + bounds.top)), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_3__["default"](Math.round(bounds.left), Math.round(bounds.height + bounds.top))];\n }\n};\nvar parseBackground = function parseBackground(style, resourceLoader) {\n return {\n backgroundColor: new _Color__WEBPACK_IMPORTED_MODULE_0__["default"](style.backgroundColor),\n backgroundImage: parseBackgroundImages(style, resourceLoader),\n backgroundClip: parseBackgroundClip(style.backgroundClip),\n backgroundOrigin: parseBackgroundOrigin(style.backgroundOrigin)\n };\n};\n\nvar parseBackgroundClip = function parseBackgroundClip(backgroundClip) {\n switch (backgroundClip) {\n case \'padding-box\':\n return BACKGROUND_CLIP.PADDING_BOX;\n\n case \'content-box\':\n return BACKGROUND_CLIP.CONTENT_BOX;\n }\n\n return BACKGROUND_CLIP.BORDER_BOX;\n};\n\nvar parseBackgroundOrigin = function parseBackgroundOrigin(backgroundOrigin) {\n switch (backgroundOrigin) {\n case \'padding-box\':\n return BACKGROUND_ORIGIN.PADDING_BOX;\n\n case \'content-box\':\n return BACKGROUND_ORIGIN.CONTENT_BOX;\n }\n\n return BACKGROUND_ORIGIN.BORDER_BOX;\n};\n\nvar parseBackgroundRepeat = function parseBackgroundRepeat(backgroundRepeat) {\n switch (backgroundRepeat.trim()) {\n case \'no-repeat\':\n return BACKGROUND_REPEAT.NO_REPEAT;\n\n case \'repeat-x\':\n case \'repeat no-repeat\':\n return BACKGROUND_REPEAT.REPEAT_X;\n\n case \'repeat-y\':\n case \'no-repeat repeat\':\n return BACKGROUND_REPEAT.REPEAT_Y;\n\n case \'repeat\':\n return BACKGROUND_REPEAT.REPEAT;\n }\n\n if (true) {\n console.error("Invalid background-repeat value \\"".concat(backgroundRepeat, "\\""));\n }\n\n return BACKGROUND_REPEAT.REPEAT;\n};
1\n\nvar parseBackgroundImages = function parseBackgroundImages(style, resourceLoader) {\n var sources = parseBackgroundImage(style.backgroundImage).map(function (backgroundImage) {\n if (backgroundImage.method === \'url\') {\n var key = resourceLoader.loadImage(backgroundImage.args[0]);\n backgroundImage.args = key ? [key] : [];\n }\n\n return backgroundImage;\n });\n var positions = style.backgroundPosition.split(\',\');\n var repeats = style.backgroundRepeat.split(\',\');\n var sizes = style.backgroundSize.split(\',\');\n return sources.map(function (source, index) {\n var size = (sizes[index] || AUTO).trim().split(\' \').map(parseBackgroundSize);\n var position = (positions[index] || AUTO).trim().split(\' \').map(parseBackgoundPosition);\n return {\n source: source,\n repeat: parseBackgroundRepeat(typeof repeats[index] === \'string\' ? repeats[index] : repeats[0]),\n size: size.length < 2 ? [size[0], AUTO_SIZE] : [size[0], size[1]],\n position: position.length < 2 ? [position[0], position[0]] : [position[0], position[1]]\n };\n });\n};\n\nvar parseBackgroundSize = function parseBackgroundSize(size) {\n return size === \'auto\' ? AUTO_SIZE : new BackgroundSize(size);\n};\n\nvar parseBackgoundPosition = function parseBackgoundPosition(position) {\n switch (position) {\n case \'bottom\':\n case \'right\':\n return new _Length__WEBPACK_IMPORTED_MODULE_1__["default"](\'100%\');\n\n case \'left\':\n case \'top\':\n return new _Length__WEBPACK_IMPORTED_MODULE_1__["default"](\'0%\');\n\n case \'auto\':\n return new _Length__WEBPACK_IMPORTED_MODULE_1__["default"](\'0\');\n }\n\n return new _Length__WEBPACK_IMPORTED_MODULE_1__["default"](position);\n};\n\nvar parseBackgroundImage = function parseBackgroundImage(image) {\n var whitespace = /^\\s$/;\n var results = [];\n var args = [];\n var method = \'\';\n var quote = null;\n var definition = \'\';\n var mode = 0;\n var numParen = 0;
1\n\n var appendResult = function appendResult() {\n var prefix = \'\';\n\n if (method) {\n if (definition.substr(0, 1) === \'"\') {\n definition = definition.substr(1, definition.length - 2);\n }\n\n if (definition) {\n args.push(definition.trim());\n }\n\n var prefix_i = method.indexOf(\'-\', 1) + 1;\n\n if (method.substr(0, 1) === \'-\' && prefix_i > 0) {\n prefix = method.substr(0, prefix_i).toLowerCase();\n method = method.substr(prefix_i);\n }\n\n method = method.toLowerCase();\n\n if (method !== \'none\') {\n results.push({\n prefix: prefix,\n method: method,\n args: args\n });\n }\n }\n\n args = [];\n method = definition = \'\';\n };\n\n image.split(\'\').forEach(function (c) {\n if (mode === 0 && whitespace.test(c)) {\n return;\n }\n\n switch (c) {\n case \'"\':\n if (!quote) {\n quote = c;\n } else if (quote === c) {\n quote = null;\n }\n\n break;\n\n case \'(\':\n if (quote) {\n break;\n } else if (mode === 0) {\n mode = 1;\n return;\n } else {\n numParen++;\n }\n\n break;\n\n case \')\':\n if (quote) {\n break;\n } else if (mode === 1) {\n if (numParen === 0) {\n mode = 0;\n appendResult();\n return;\n } else {\n numParen--;\n }\n }\n\n break;\n\n case \',\':\n if (quote) {\n break;\n } else if (mode === 0) {\n appendResult();\n return;\n } else if (mode === 1) {\n if (numParen === 0 && !method.match(/^url$/i)) {\n args.push(definition.trim());\n definition = \'\';\n return;\n }\n }\n\n break;\n }\n\n if (mode === 0) {\n method += c;\n } else {\n definition += c;\n }\n });\n appendResult();\n return results;\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/background.js?')},
1"./src/parsing/border.js":function _src_parsing_borderJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BORDER_STYLE", function() { return BORDER_STYLE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BORDER_SIDES", function() { return BORDER_SIDES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseBorder", function() { return parseBorder; });\n/* harmony import */ var _Color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Color */ "./src/Color.js");\n\n\n\nvar BORDER_STYLE = {\n NONE: 0,\n SOLID: 1\n};\nvar BORDER_SIDES = {\n TOP: 0,\n RIGHT: 1,\n BOTTOM: 2,\n LEFT: 3\n};\nvar SIDES = Object.keys(BORDER_SIDES).map(function (s) {\n return s.toLowerCase();\n});\n\nvar parseBorderStyle = function parseBorderStyle(style) {\n switch (style) {\n case \'none\':\n return BORDER_STYLE.NONE;\n }\n\n return BORDER_STYLE.SOLID;\n};\n\nvar parseBorder = function parseBorder(style) {\n return SIDES.map(function (side) {\n var borderColor = new _Color__WEBPACK_IMPORTED_MODULE_0__["default"](style.getPropertyValue("border-".concat(side, "-color")));\n var borderStyle = parseBorderStyle(style.getPropertyValue("border-".concat(side, "-style")));\n var borderWidth = parseFloat(style.getPropertyValue("border-".concat(side, "-width")));\n return {\n borderColor: borderColor,\n borderStyle: borderStyle,\n borderWidth: isNaN(borderWidth) ? 0 : borderWidth\n };\n });\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/border.js?')},
1"./src/parsing/borderRadius.js":function _src_parsing_borderRadiusJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseBorderRadius", function() { return parseBorderRadius; });\n/* harmony import */ var _Length__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Length */ "./src/Length.js");\n\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar SIDES = [\'top-left\', \'top-right\', \'bottom-right\', \'bottom-left\'];\nvar parseBorderRadius = function parseBorderRadius(style) {\n return SIDES.map(function (side) {\n var value = style.getPropertyValue("border-".concat(side, "-radius"));\n\n var _value$split$map = value.split(\' \').map(_Length__WEBPACK_IMPORTED_MODULE_0__["default"].create),\n _value$split$map2 = _slicedToArray(_value$split$map, 2),\n horizontal = _value$split$map2[0],\n vertical = _value$split$map2[1];\n\n return typeof vertical === \'undefined\' ? [horizontal, horizontal] : [horizontal, vertical];\n });\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/borderRadius.js?')},
1"./src/parsing/display.js":function _src_parsing_displayJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DISPLAY\", function() { return DISPLAY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseDisplay\", function() { return parseDisplay; });\n\n\nvar DISPLAY = {\n NONE: 1 << 0,\n BLOCK: 1 << 1,\n INLINE: 1 << 2,\n RUN_IN: 1 << 3,\n FLOW: 1 << 4,\n FLOW_ROOT: 1 << 5,\n TABLE: 1 << 6,\n FLEX: 1 << 7,\n GRID: 1 << 8,\n RUBY: 1 << 9,\n SUBGRID: 1 << 10,\n LIST_ITEM: 1 << 11,\n TABLE_ROW_GROUP: 1 << 12,\n TABLE_HEADER_GROUP: 1 << 13,\n TABLE_FOOTER_GROUP: 1 << 14,\n TABLE_ROW: 1 << 15,\n TABLE_CELL: 1 << 16,\n TABLE_COLUMN_GROUP: 1 << 17,\n TABLE_COLUMN: 1 << 18,\n TABLE_CAPTION: 1 << 19,\n RUBY_BASE: 1 << 20,\n RUBY_TEXT: 1 << 21,\n RUBY_BASE_CONTAINER: 1 << 22,\n RUBY_TEXT_CONTAINER: 1 << 23,\n CONTENTS: 1 << 24,\n INLINE_BLOCK: 1 << 25,\n INLINE_LIST_ITEM: 1 << 26,\n INLINE_TABLE: 1 << 27,\n INLINE_FLEX: 1 << 28,\n INLINE_GRID: 1 << 29\n};\n\nvar parseDisplayValue = function parseDisplayValue(display) {\n switch (display) {\n case 'block':\n return DISPLAY.BLOCK;\n\n case 'inline':\n return DISPLAY.INLINE;\n\n case 'run-in':\n return DISPLAY.RUN_IN;\n\n case 'flow':\n return DISPLAY.FLOW;\n\n case 'flow-root':\n return DISPLAY.FLOW_ROOT;\n\n case 'table':\n return DISPLAY.TABLE;\n\n case 'flex':\n return DISPLAY.FLEX;\n\n case 'grid':\n return DISPLAY.GRID;\n\n case 'ruby':\n return DISPLAY.RUBY;\n\n case 'subgrid':\n return DISPLAY.SUBGRID;\n\n case 'list-item':\n return DISPLAY.LIST_ITEM;\n\n case 'table-row-group':\n return DISPLAY.TABLE_ROW_GROUP;\n\n case 'table-header-group':\n return DISPLAY.TABLE_HEADER_GROUP;\n\n case 'table-footer-group':\n return DISPLAY.TABLE_FOOTER_GROUP;\n\n case 'table-row':\n return DISPLAY.TABLE_ROW;\n\n case 'table-cell':\n return DISPLAY.TABLE_CELL;\n\n case 'table-column-group':\n return DISPLAY.TABLE_COLUMN_GROUP;\n\n case 'table-column':\n return DISPLAY.TABLE_COLUMN;\n\n case 'table-caption':\n return DISPLAY.TABLE_CAPTION;\n\n case 'ruby-base':\n return DISPLAY.RUBY_BASE;\n\n case 'ruby-text':\n return DISPLAY.RUBY_TEXT;\n\n case 'ruby-base-container':\n return DISPLAY.RUBY_BASE_CONTAINER;\n\n case 'ruby-text-container':\n return DISPLAY.RUBY_TEXT_CONTAINER;\n\n case 'contents':\n return DISPLAY.CONTENTS;\n\n case 'inline-block':\n return DISPLAY.INLINE_BLOCK;\n\n case 'inline-list-item':\n return DISPLAY.INLINE_LIST_ITEM;\n\n case 'inline-table':\n return DISPLAY.INLINE_TABLE;\n\n case 'inline-flex':\n return DISPLAY.INLINE_FLEX;\n\n case 'inline-grid':\n return DISPLAY.INLINE_GRID;\n }\n\n return DISPLAY.NONE;\n};\n\nvar setDisplayBit = function setDisplayBit(bit, display) {\n return bit | parseDisplayValue(display);\n};\n\nvar parseDisplay = function parseDisplay(display) {\n return dis
1play.split(' ').reduce(setDisplayBit, 0);\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/display.js?")},
1"./src/parsing/float.js":function _src_parsing_floatJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FLOAT\", function() { return FLOAT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseCSSFloat\", function() { return parseCSSFloat; });\n\n\nvar FLOAT = {\n NONE: 0,\n LEFT: 1,\n RIGHT: 2,\n INLINE_START: 3,\n INLINE_END: 4\n};\nvar parseCSSFloat = function parseCSSFloat(float) {\n switch (float) {\n case 'left':\n return FLOAT.LEFT;\n\n case 'right':\n return FLOAT.RIGHT;\n\n case 'inline-start':\n return FLOAT.INLINE_START;\n\n case 'inline-end':\n return FLOAT.INLINE_END;\n }\n\n return FLOAT.NONE;\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/float.js?")},
1"./src/parsing/font.js":function _src_parsing_fontJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseFont\", function() { return parseFont; });\n\n\nvar parseFontWeight = function parseFontWeight(weight) {\n switch (weight) {\n case 'normal':\n return 400;\n\n case 'bold':\n return 700;\n }\n\n var value = parseInt(weight, 10);\n return isNaN(value) ? 400 : value;\n};\n\nvar parseFont = function parseFont(style) {\n var fontFamily = style.fontFamily;\n var fontSize = style.fontSize;\n var fontStyle = style.fontStyle;\n var fontVariant = style.fontVariant;\n var fontWeight = parseFontWeight(style.fontWeight);\n return {\n fontFamily: fontFamily,\n fontSize: fontSize,\n fontStyle: fontStyle,\n fontVariant: fontVariant,\n fontWeight: fontWeight\n };\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/font.js?")},
1"./src/parsing/letterSpacing.js":function _src_parsing_letterSpacingJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseLetterSpacing\", function() { return parseLetterSpacing; });\n\n\nvar parseLetterSpacing = function parseLetterSpacing(letterSpacing) {\n if (letterSpacing === 'normal') {\n return 0;\n }\n\n var value = parseFloat(letterSpacing);\n return isNaN(value) ? 0 : value;\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/letterSpacing.js?")},
1"./src/parsing/lineBreak.js":function _src_parsing_lineBreakJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LINE_BREAK\", function() { return LINE_BREAK; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseLineBreak\", function() { return parseLineBreak; });\n\n\nvar LINE_BREAK = {\n NORMAL: 'normal',\n STRICT: 'strict'\n};\nvar parseLineBreak = function parseLineBreak(wordBreak) {\n switch (wordBreak) {\n case 'strict':\n return LINE_BREAK.STRICT;\n\n case 'normal':\n default:\n return LINE_BREAK.NORMAL;\n }\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/lineBreak.js?")},
1"./src/parsing/listStyle.js":function _src_parsing_listStyleJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LIST_STYLE_POSITION\", function() { return LIST_STYLE_POSITION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LIST_STYLE_TYPE\", function() { return LIST_STYLE_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseListStyleType\", function() { return parseListStyleType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseListStyle\", function() { return parseListStyle; });\n/* harmony import */ var _background__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./background */ \"./src/parsing/background.js\");\n\n\n\nvar LIST_STYLE_POSITION = {\n INSIDE: 0,\n OUTSIDE: 1\n};\nvar LIST_STYLE_TYPE = {\n NONE: -1,\n DISC: 0,\n CIRCLE: 1,\n SQUARE: 2,\n DECIMAL: 3,\n CJK_DECIMAL: 4,\n DECIMAL_LEADING_ZERO: 5,\n LOWER_ROMAN: 6,\n UPPER_ROMAN: 7,\n LOWER_GREEK: 8,\n LOWER_ALPHA: 9,\n UPPER_ALPHA: 10,\n ARABIC_INDIC: 11,\n ARMENIAN: 12,\n BENGALI: 13,\n CAMBODIAN: 14,\n CJK_EARTHLY_BRANCH: 15,\n CJK_HEAVENLY_STEM: 16,\n CJK_IDEOGRAPHIC: 17,\n DEVANAGARI: 18,\n ETHIOPIC_NUMERIC: 19,\n GEORGIAN: 20,\n GUJARATI: 21,\n GURMUKHI: 22,\n HEBREW: 22,\n HIRAGANA: 23,\n HIRAGANA_IROHA: 24,\n JAPANESE_FORMAL: 25,\n JAPANESE_INFORMAL: 26,\n KANNADA: 27,\n KATAKANA: 28,\n KATAKANA_IROHA: 29,\n KHMER: 30,\n KOREAN_HANGUL_FORMAL: 31,\n KOREAN_HANJA_FORMAL: 32,\n KOREAN_HANJA_INFORMAL: 33,\n LAO: 34,\n LOWER_ARMENIAN: 35,\n MALAYALAM: 36,\n MONGOLIAN: 37,\n MYANMAR: 38,\n ORIYA: 39,\n PERSIAN: 40,\n SIMP_CHINESE_FORMAL: 41,\n SIMP_CHINESE_INFORMAL: 42,\n TAMIL: 43,\n TELUGU: 44,\n THAI: 45,\n TIBETAN: 46,\n TRAD_CHINESE_FORMAL: 47,\n TRAD_CHINESE_INFORMAL: 48,\n UPPER_ARMENIAN: 49,\n DISCLOSURE_OPEN: 50,\n DISCLOSURE_CLOSED: 51\n};\nvar parseListStyleType = function parseListStyleType(type) {\n switch (type) {\n case 'disc':\n return LIST_STYLE_TYPE.DISC;\n\n case 'circle':\n return LIST_STYLE_TYPE.CIRCLE;\n\n case 'square':\n return LIST_STYLE_TYPE.SQUARE;\n\n case 'decimal':\n return LIST_STYLE_TYPE.DECIMAL;\n\n case 'cjk-decimal':\n return LIST_STYLE_TYPE.CJK_DECIMAL;\n\n case 'decimal-leading-zero':\n return LIST_STYLE_TYPE.DECIMAL_LEADING_ZERO;\n\n case 'lower-roman':\n return LIST_STYLE_TYPE.LOWER_ROMAN;\n\n case 'upper-roman':\n return LIST_STYLE_TYPE.UPPER_ROMAN;\n\n case 'lower-greek':\n return LIST_STYLE_TYPE.LOWER_GREEK;\n\n case 'lower-alpha':\n return LIST_STYLE_TYPE.LOWER_ALPHA;\n\n case 'upper-alpha':\n return LIST_STYLE_TYPE.UPPER_ALPHA;\n\n case 'arabic-indic':\n return LIST_STYLE_TYPE.ARABIC_INDIC;\n\n case 'armenian':\n return LIST_STYLE_TYPE.ARMENIAN;\n\n case 'bengali':\n return LIST_STYLE_TYPE.BENGALI;\n\n case 'cambodian':\n return LIST_STYLE_TYPE.CAMBODIAN;\n\n case 'cjk-earthly-branch':\n return LIST_STYLE_TYPE.CJK_EARTHLY_BRANCH;\n\n case 'cjk-heavenly-stem':\n return LIST_STYLE_TYPE.CJK_HEAVENLY_STEM;\n\n case 'cjk-ideographic':\n return LIST_STYLE_TYPE.CJK_IDEOGRAPHIC;\n\n case 'devanagari':\n return LIST_STYLE_TYPE.DEVANAGARI;\n\n case 'ethiopic-numeric':\n return LIST_STYLE_TYPE.ETHIOPIC_NUMERIC;\n\n case 'georgian':\n return LIST_STYLE_TYPE.GEORGIAN;\n\n case 'gujarati':\n return LIST_STYLE_TYPE.GUJARATI;\n\n case 'gurmukhi':\n return LIST_STYLE_TYPE.GURMUKHI;\n\n case 'hebrew':\n return LIST_STYLE_TYPE.HEBREW;\n\n case 'hiragana':\n return LIST_STYLE_TYPE.HIRAGANA;\n\n case 'hiragana-iroha':\n return LIST_STYLE_TYPE.HIRAGANA_IROHA;\n\n case 'japanese-formal':\n return LIST_STYLE_TYPE.JAPANESE_FORMAL;\n\n case 'japanese-informal':\n return LIST_STYLE_TYPE.JAPANESE_INFORMAL;\n\n case 'kannada':\n return LIST_STYLE_TYPE.KANNADA;
1\n\n case 'katakana':\n return LIST_STYLE_TYPE.KATAKANA;\n\n case 'katakana-iroha':\n return LIST_STYLE_TYPE.KATAKANA_IROHA;\n\n case 'khmer':\n return LIST_STYLE_TYPE.KHMER;\n\n case 'korean-hangul-formal':\n return LIST_STYLE_TYPE.KOREAN_HANGUL_FORMAL;\n\n case 'korean-hanja-formal':\n return LIST_STYLE_TYPE.KOREAN_HANJA_FORMAL;\n\n case 'korean-hanja-informal':\n return LIST_STYLE_TYPE.KOREAN_HANJA_INFORMAL;\n\n case 'lao':\n return LIST_STYLE_TYPE.LAO;\n\n case 'lower-armenian':\n return LIST_STYLE_TYPE.LOWER_ARMENIAN;\n\n case 'malayalam':\n return LIST_STYLE_TYPE.MALAYALAM;\n\n case 'mongolian':\n return LIST_STYLE_TYPE.MONGOLIAN;\n\n case 'myanmar':\n return LIST_STYLE_TYPE.MYANMAR;\n\n case 'oriya':\n return LIST_STYLE_TYPE.ORIYA;\n\n case 'persian':\n return LIST_STYLE_TYPE.PERSIAN;\n\n case 'simp-chinese-formal':\n return LIST_STYLE_TYPE.SIMP_CHINESE_FORMAL;\n\n case 'simp-chinese-informal':\n return LIST_STYLE_TYPE.SIMP_CHINESE_INFORMAL;\n\n case 'tamil':\n return LIST_STYLE_TYPE.TAMIL;\n\n case 'telugu':\n return LIST_STYLE_TYPE.TELUGU;\n\n case 'thai':\n return LIST_STYLE_TYPE.THAI;\n\n case 'tibetan':\n return LIST_STYLE_TYPE.TIBETAN;\n\n case 'trad-chinese-formal':\n return LIST_STYLE_TYPE.TRAD_CHINESE_FORMAL;\n\n case 'trad-chinese-informal':\n return LIST_STYLE_TYPE.TRAD_CHINESE_INFORMAL;\n\n case 'upper-armenian':\n return LIST_STYLE_TYPE.UPPER_ARMENIAN;\n\n case 'disclosure-open':\n return LIST_STYLE_TYPE.DISCLOSURE_OPEN;\n\n case 'disclosure-closed':\n return LIST_STYLE_TYPE.DISCLOSURE_CLOSED;\n\n case 'none':\n default:\n return LIST_STYLE_TYPE.NONE;\n }\n};\nvar parseListStyle = function parseListStyle(style) {\n var listStyleImage = Object(_background__WEBPACK_IMPORTED_MODULE_0__[\"parseBackgroundImage\"])(style.getPropertyValue('list-style-image'));\n return {\n listStyleType: parseListStyleType(style.getPropertyValue('list-style-type')),\n listStyleImage: listStyleImage.length ? listStyleImage[0] : null,\n listStylePosition: parseListStylePosition(style.getPropertyValue('list-style-position'))\n };\n};\n\nvar parseListStylePosition = function parseListStylePosition(position) {\n switch (position) {\n case 'inside':\n return LIST_STYLE_POSITION.INSIDE;\n\n case 'outside':\n default:\n return LIST_STYLE_POSITION.OUTSIDE;\n }\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/listStyle.js?")},
1"./src/parsing/margin.js":function _src_parsing_marginJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseMargin\", function() { return parseMargin; });\n/* harmony import */ var _Length__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Length */ \"./src/Length.js\");\n\n\n\nvar SIDES = ['top', 'right', 'bottom', 'left'];\nvar parseMargin = function parseMargin(style) {\n return SIDES.map(function (side) {\n return new _Length__WEBPACK_IMPORTED_MODULE_0__[\"default\"](style.getPropertyValue(\"margin-\".concat(side)));\n });\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/margin.js?")},
1"./src/parsing/overflow.js":function _src_parsing_overflowJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OVERFLOW\", function() { return OVERFLOW; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseOverflow\", function() { return parseOverflow; });\n\n\nvar OVERFLOW = {\n VISIBLE: 0,\n HIDDEN: 1,\n SCROLL: 2,\n AUTO: 3\n};\nvar parseOverflow = function parseOverflow(overflow) {\n switch (overflow) {\n case 'hidden':\n return OVERFLOW.HIDDEN;\n\n case 'scroll':\n return OVERFLOW.SCROLL;\n\n case 'auto':\n return OVERFLOW.AUTO;\n\n case 'visible':\n default:\n return OVERFLOW.VISIBLE;\n }\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/overflow.js?")},
1"./src/parsing/overflowWrap.js":function _src_parsing_overflowWrapJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OVERFLOW_WRAP\", function() { return OVERFLOW_WRAP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseOverflowWrap\", function() { return parseOverflowWrap; });\n\n\nvar OVERFLOW_WRAP = {\n NORMAL: 0,\n BREAK_WORD: 1\n};\nvar parseOverflowWrap = function parseOverflowWrap(overflow) {\n switch (overflow) {\n case 'break-word':\n return OVERFLOW_WRAP.BREAK_WORD;\n\n case 'normal':\n default:\n return OVERFLOW_WRAP.NORMAL;\n }\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/overflowWrap.js?")},
1"./src/parsing/padding.js":function _src_parsing_paddingJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PADDING_SIDES", function() { return PADDING_SIDES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parsePadding", function() { return parsePadding; });\n/* harmony import */ var _Length__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Length */ "./src/Length.js");\n\n\n\nvar PADDING_SIDES = {\n TOP: 0,\n RIGHT: 1,\n BOTTOM: 2,\n LEFT: 3\n};\nvar SIDES = [\'top\', \'right\', \'bottom\', \'left\'];\nvar parsePadding = function parsePadding(style) {\n return SIDES.map(function (side) {\n return new _Length__WEBPACK_IMPORTED_MODULE_0__["default"](style.getPropertyValue("padding-".concat(side)));\n });\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/padding.js?')},
1"./src/parsing/position.js":function _src_parsing_positionJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"POSITION\", function() { return POSITION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parsePosition\", function() { return parsePosition; });\n\n\nvar POSITION = {\n STATIC: 0,\n RELATIVE: 1,\n ABSOLUTE: 2,\n FIXED: 3,\n STICKY: 4\n};\nvar parsePosition = function parsePosition(position) {\n switch (position) {\n case 'relative':\n return POSITION.RELATIVE;\n\n case 'absolute':\n return POSITION.ABSOLUTE;\n\n case 'fixed':\n return POSITION.FIXED;\n\n case 'sticky':\n return POSITION.STICKY;\n }\n\n return POSITION.STATIC;\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/position.js?")},
1"./src/parsing/textDecoration.js":function _src_parsing_textDecorationJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TEXT_DECORATION_STYLE\", function() { return TEXT_DECORATION_STYLE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TEXT_DECORATION\", function() { return TEXT_DECORATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TEXT_DECORATION_LINE\", function() { return TEXT_DECORATION_LINE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseTextDecoration\", function() { return parseTextDecoration; });\n/* harmony import */ var _Color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Color */ \"./src/Color.js\");\n\n\n\nvar TEXT_DECORATION_STYLE = {\n SOLID: 0,\n DOUBLE: 1,\n DOTTED: 2,\n DASHED: 3,\n WAVY: 4\n};\nvar TEXT_DECORATION = {\n NONE: null\n};\nvar TEXT_DECORATION_LINE = {\n UNDERLINE: 1,\n OVERLINE: 2,\n LINE_THROUGH: 3,\n BLINK: 4\n};\n\nvar parseLine = function parseLine(line) {\n switch (line) {\n case 'underline':\n return TEXT_DECORATION_LINE.UNDERLINE;\n\n case 'overline':\n return TEXT_DECORATION_LINE.OVERLINE;\n\n case 'line-through':\n return TEXT_DECORATION_LINE.LINE_THROUGH;\n }\n\n return TEXT_DECORATION_LINE.BLINK;\n};\n\nvar parseTextDecorationLine = function parseTextDecorationLine(line) {\n if (line === 'none') {\n return null;\n }\n\n return line.split(' ').map(parseLine);\n};\n\nvar parseTextDecorationStyle = function parseTextDecorationStyle(style) {\n switch (style) {\n case 'double':\n return TEXT_DECORATION_STYLE.DOUBLE;\n\n case 'dotted':\n return TEXT_DECORATION_STYLE.DOTTED;\n\n case 'dashed':\n return TEXT_DECORATION_STYLE.DASHED;\n\n case 'wavy':\n return TEXT_DECORATION_STYLE.WAVY;\n }\n\n return TEXT_DECORATION_STYLE.SOLID;\n};\n\nvar parseTextDecoration = function parseTextDecoration(style) {\n var textDecorationLine = parseTextDecorationLine(style.textDecorationLine ? style.textDecorationLine : style.textDecoration);\n\n if (textDecorationLine === null) {\n return TEXT_DECORATION.NONE;\n }\n\n var textDecorationColor = style.textDecorationColor ? new _Color__WEBPACK_IMPORTED_MODULE_0__[\"default\"](style.textDecorationColor) : null;\n var textDecorationStyle = parseTextDecorationStyle(style.textDecorationStyle);\n return {\n textDecorationLine: textDecorationLine,\n textDecorationColor: textDecorationColor,\n textDecorationStyle: textDecorationStyle\n };\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/textDecoration.js?")},
1"./src/parsing/textShadow.js":function _src_parsing_textShadowJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseTextShadow\", function() { return parseTextShadow; });\n/* harmony import */ var _Color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Color */ \"./src/Color.js\");\n\n\n\nvar NUMBER = /^([+-]|\\d|\\.)$/i;\nvar parseTextShadow = function parseTextShadow(textShadow) {\n if (textShadow === 'none' || typeof textShadow !== 'string') {\n return null;\n }\n\n var currentValue = '';\n var isLength = false;\n var values = [];\n var shadows = [];\n var numParens = 0;\n var color = null;\n\n var appendValue = function appendValue() {\n if (currentValue.length) {\n if (isLength) {\n values.push(parseFloat(currentValue));\n } else {\n color = new _Color__WEBPACK_IMPORTED_MODULE_0__[\"default\"](currentValue);\n }\n }\n\n isLength = false;\n currentValue = '';\n };\n\n var appendShadow = function appendShadow() {\n if (values.length && color !== null) {\n shadows.push({\n color: color,\n offsetX: values[0] || 0,\n offsetY: values[1] || 0,\n blur: values[2] || 0\n });\n }\n\n values.splice(0, values.length);\n color = null;\n };\n\n for (var i = 0; i < textShadow.length; i++) {\n var c = textShadow[i];\n\n switch (c) {\n case '(':\n currentValue += c;\n numParens++;\n break;\n\n case ')':\n currentValue += c;\n numParens--;\n break;\n\n case ',':\n if (numParens === 0) {\n appendValue();\n appendShadow();\n } else {\n currentValue += c;\n }\n\n break;\n\n case ' ':\n if (numParens === 0) {\n appendValue();\n } else {\n currentValue += c;\n }\n\n break;\n\n default:\n if (currentValue.length === 0 && NUMBER.test(c)) {\n isLength = true;\n }\n\n currentValue += c;\n }\n }\n\n appendValue();\n appendShadow();\n\n if (shadows.length === 0) {\n return null;\n }\n\n return shadows;\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/textShadow.js?")},
1"./src/parsing/textTransform.js":function _src_parsing_textTransformJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TEXT_TRANSFORM\", function() { return TEXT_TRANSFORM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseTextTransform\", function() { return parseTextTransform; });\n\n\nvar TEXT_TRANSFORM = {\n NONE: 0,\n LOWERCASE: 1,\n UPPERCASE: 2,\n CAPITALIZE: 3\n};\nvar parseTextTransform = function parseTextTransform(textTransform) {\n switch (textTransform) {\n case 'uppercase':\n return TEXT_TRANSFORM.UPPERCASE;\n\n case 'lowercase':\n return TEXT_TRANSFORM.LOWERCASE;\n\n case 'capitalize':\n return TEXT_TRANSFORM.CAPITALIZE;\n }\n\n return TEXT_TRANSFORM.NONE;\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/textTransform.js?")},
1"./src/parsing/transform.js":function _src_parsing_transformJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseTransform\", function() { return parseTransform; });\n/* harmony import */ var _Length__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Length */ \"./src/Length.js\");\n\n\n\n\nvar toFloat = function toFloat(s) {\n return parseFloat(s.trim());\n};\n\nvar MATRIX = /(matrix|matrix3d)\\((.+)\\)/;\nvar parseTransform = function parseTransform(style) {\n var transform = parseTransformMatrix(style.transform || style.webkitTransform || style.mozTransform || // $FlowFixMe\n style.msTransform || // $FlowFixMe\n style.oTransform);\n\n if (transform === null) {\n return null;\n }\n\n return {\n transform: transform,\n transformOrigin: parseTransformOrigin(style.transformOrigin || style.webkitTransformOrigin || style.mozTransformOrigin || // $FlowFixMe\n style.msTransformOrigin || // $FlowFixMe\n style.oTransformOrigin)\n };\n}; // $FlowFixMe\n\nvar parseTransformOrigin = function parseTransformOrigin(origin) {\n if (typeof origin !== 'string') {\n var v = new _Length__WEBPACK_IMPORTED_MODULE_0__[\"default\"]('0');\n return [v, v];\n }\n\n var values = origin.split(' ').map(_Length__WEBPACK_IMPORTED_MODULE_0__[\"default\"].create);\n return [values[0], values[1]];\n}; // $FlowFixMe\n\n\nvar parseTransformMatrix = function parseTransformMatrix(transform) {\n if (transform === 'none' || typeof transform !== 'string') {\n return null;\n }\n\n var match = transform.match(MATRIX);\n\n if (match) {\n if (match[1] === 'matrix') {\n var matrix = match[2].split(',').map(toFloat);\n return [matrix[0], matrix[1], matrix[2], matrix[3], matrix[4], matrix[5]];\n } else {\n var matrix3d = match[2].split(',').map(toFloat);\n return [matrix3d[0], matrix3d[1], matrix3d[4], matrix3d[5], matrix3d[12], matrix3d[13]];\n }\n }\n\n return null;\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/transform.js?")},
1"./src/parsing/visibility.js":function _src_parsing_visibilityJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VISIBILITY\", function() { return VISIBILITY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseVisibility\", function() { return parseVisibility; });\n\n\nvar VISIBILITY = {\n VISIBLE: 0,\n HIDDEN: 1,\n COLLAPSE: 2\n};\nvar parseVisibility = function parseVisibility(visibility) {\n switch (visibility) {\n case 'hidden':\n return VISIBILITY.HIDDEN;\n\n case 'collapse':\n return VISIBILITY.COLLAPSE;\n\n case 'visible':\n default:\n return VISIBILITY.VISIBLE;\n }\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/visibility.js?")},
1"./src/parsing/word-break.js":function _src_parsing_wordBreakJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WORD_BREAK\", function() { return WORD_BREAK; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseWordBreak\", function() { return parseWordBreak; });\n\n\nvar WORD_BREAK = {\n NORMAL: 'normal',\n BREAK_ALL: 'break-all',\n KEEP_ALL: 'keep-all'\n};\nvar parseWordBreak = function parseWordBreak(wordBreak) {\n switch (wordBreak) {\n case 'break-all':\n return WORD_BREAK.BREAK_ALL;\n\n case 'keep-all':\n return WORD_BREAK.KEEP_ALL;\n\n case 'normal':\n default:\n return WORD_BREAK.NORMAL;\n }\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/word-break.js?")},
1"./src/parsing/zIndex.js":function _src_parsing_zIndexJs(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseZIndex\", function() { return parseZIndex; });\n\n\nvar parseZIndex = function parseZIndex(zIndex) {\n var auto = zIndex === 'auto';\n return {\n auto: auto,\n order: auto ? 0 : parseInt(zIndex, 10)\n };\n};\n\n//# sourceURL=webpack://html2canvas/./src/parsing/zIndex.js?")},
1"./src/renderer/CanvasRenderer.js":function _src_renderer_CanvasRendererJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return CanvasRenderer; });\n/* harmony import */ var _drawing_Path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../drawing/Path */ "./src/drawing/Path.js");\n/* harmony import */ var _parsing_textDecoration__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../parsing/textDecoration */ "./src/parsing/textDecoration.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\n\nvar addColorStops = function addColorStops(gradient, canvasGradient) {\n var maxStop = Math.max.apply(null, gradient.colorStops.map(function (colorStop) {\n return colorStop.stop;\n }));\n var f = 1 / Math.max(1, maxStop);\n gradient.colorStops.forEach(function (colorStop) {\n canvasGradient.addColorStop(Math.floor(Math.max(0, f * colorStop.stop)), colorStop.color.toString());\n });\n};\n\nvar CanvasRenderer =\n/*#__PURE__*/\nfunction () {\n function CanvasRenderer(canvas) {\n _classCallCheck(this, CanvasRenderer);\n\n this.canvas = canvas ? canvas : document.createElement(\'canvas\');\n }\n\n _createClass(CanvasRenderer, [{\n key: "render",\n value: function render(options) {\n this.ctx = this.canvas.getContext(\'2d\');\n this.options = options;\n this.canvas.width = Math.floor(options.width * options.scale);\n this.canvas.height = Math.floor(options.height * options.scale);\n this.canvas.style.width = "".concat(options.width, "px");\n this.canvas.style.height = "".concat(options.height, "px");\n this.ctx.scale(this.options.scale, this.options.scale);\n this.ctx.translate(-options.x, -options.y);\n this.ctx.textBaseline = \'bottom\';\n options.logger.log("Canvas renderer initialized (".concat(options.width, "x").concat(options.height, " at ").concat(options.x, ",").concat(options.y, ") with scale ").concat(this.options.scale));\n }\n }, {\n key: "clip",\n value: function clip(clipPaths, callback) {\n var _this = this;\n\n if (clipPaths.length) {\n this.ctx.save();\n clipPaths.forEach(function (path) {\n _this.path(path);\n\n _this.ctx.clip();\n });\n }\n\n callback();\n\n if (clipPaths.length) {\n this.ctx.restore();\n }\n }\n }, {\n key: "drawImage",\n value: function drawImage(image, source, destination) {\n this.ctx.drawImage(image, source.left, source.top, source.width, source.height, destination.left, destination.top, destination.width, destination.height);\n }\n }, {\n key: "drawShape",\n value: function drawShape(path, color) {\n this.path(path);\n this.ctx.fillStyle = color.toString();\n this.ctx.fill();\n }\n }, {\n key: "fill",\n value: function fill(color) {\n this.ctx.fillStyle = color.toString();\n this.ctx.fill();\n }\n }, {\n key: "getTarget",\n value: function getTarget() {\n this.canvas.getContext(\'2d\').setTransform(1, 0, 0, 1, 0, 0);\n return Promise.resolve(this.canvas);\n }\n }, {\n key: "path",\n value: function path(_path) {\n var _this2 = this;\n\n this.ctx.beginPath();\n\n if (Array.isArray(_path)) {\n _path.forEach(function (point, index) {\n var start = point.type === _drawing_Path__WEBPACK_IMPORTED_MODULE_0__["PATH"].VECTOR ? point : point.start;\n\n if (index === 0) {\n _this2.ctx.moveTo(start.x, start.y);\n } else {\n _this2.ctx.lineTo(start.x, start.y);\n }\n\n if (point.type === _drawing_Path__WEBPACK_IMPORTED_MODULE_0__["PATH"].BEZIER_CURVE) {\n _this2.ctx.bezierCurveTo(point.startControl.x, point.startControl.y, point.endControl.x, point.endControl.y, point.end.x, point.end.y);\n }\n });\n } else {\n this.ctx.arc(_path.x + _path.radius, _path.y + _path.radius, _path.radius, 0, Math.PI * 2, true);\n }\n\n this.ctx.closePath();\n }\n }
1, {\n key: "rectangle",\n value: function rectangle(x, y, width, height, color) {\n this.ctx.fillStyle = color.toString();\n this.ctx.fillRect(x, y, width, height);\n }\n }, {\n key: "renderLinearGradient",\n value: function renderLinearGradient(bounds, gradient) {\n var linearGradient = this.ctx.createLinearGradient(bounds.left + gradient.direction.x1, bounds.top + gradient.direction.y1, bounds.left + gradient.direction.x0, bounds.top + gradient.direction.y0);\n addColorStops(gradient, linearGradient);\n this.ctx.fillStyle = linearGradient;\n this.ctx.fillRect(bounds.left, bounds.top, bounds.width, bounds.height);\n }\n }, {\n key: "renderRadialGradient",\n value: function renderRadialGradient(bounds, gradient) {\n var _this3 = this;\n\n var x = bounds.left + gradient.center.x;\n var y = bounds.top + gradient.center.y;\n var radialGradient = this.ctx.createRadialGradient(x, y, 0, x, y, gradient.radius.x);\n\n if (!radialGradient) {\n return;\n }\n\n addColorStops(gradient, radialGradient);\n this.ctx.fillStyle = radialGradient;\n\n if (gradient.radius.x !== gradient.radius.y) {\n // transforms for elliptical radial gradient\n var midX = bounds.left + 0.5 * bounds.width;\n var midY = bounds.top + 0.5 * bounds.height;\n var f = gradient.radius.y / gradient.radius.x;\n var invF = 1 / f;\n this.transform(midX, midY, [1, 0, 0, f, 0, 0], function () {\n return _this3.ctx.fillRect(bounds.left, invF * (bounds.top - midY) + midY, bounds.width, bounds.height * invF);\n });\n } else {\n this.ctx.fillRect(bounds.left, bounds.top, bounds.width, bounds.height);\n }\n }\n }, {\n key: "renderRepeat",\n value: function renderRepeat(path, image, imageSize, offsetX, offsetY) {\n this.path(path);\n this.ctx.fillStyle = this.ctx.createPattern(this.resizeImage(image, imageSize), \'repeat\');\n this.ctx.translate(offsetX, offsetY);\n this.ctx.fill();\n this.ctx.translate(-offsetX, -offsetY);\n }\n }, {\n key: "renderTextNode",\n value: function renderTextNode(textBounds, color, font, textDecoration, textShadows) {\n var _this4 = this;\n\n this.ctx.font = [font.fontStyle, font.fontVariant, font.fontWeight, font.fontSize, font.fontFamily].join(\' \');\n textBounds.forEach(function (text) {\n _this4.ctx.fillStyle = color.toString();\n\n if (textShadows && text.text.trim().length) {\n textShadows.slice(0).reverse().forEach(function (textShadow) {\n _this4.ctx.shadowColor = textShadow.color.toString();\n _this4.ctx.shadowOffsetX = textShadow.offsetX * _this4.options.scale;\n _this4.ctx.shadowOffsetY = textShadow.offsetY * _this4.options.scale;\n _this4.ctx.shadowBlur = textShadow.blur;\n\n _this4.ctx.fillText(text.text, text.bounds.left, text.bounds.top + text.bounds.height);\n });\n _this4.ctx.shadowColor = \'\';\n _this4.ctx.shadowOffsetX = 0;\n _this4.ctx.shadowOffsetY = 0;\n _this4.ctx.shadowBlur = 0;\n } else {\n _this4.ctx.fillText(text.text, text.bounds.left, text.bounds.top + text.bounds.height);\n }\n\n if (textDecoration !== null) {\n var textDecorationColor = textDecoration.textDecorationColor || color;\n textDecoration.textDecorationLine.forEach(function (textDecorationLine) {\n switch (textDecorationLine) {\n case _parsing_textDecoration__WEBPACK_IMPORTED_MODULE_1__["TEXT_DECORATION_LINE"].UNDERLINE:\n // Draws a line at the baseline of the font\n // TODO As some browsers display the line as more than 1px if the font-size is big,\n // need to take that into account both in position and size\n var _this4$options$fontMe = _this4.options.fontMetrics.getMetrics(font),\n baseline = _this4$options$fontMe.baseline;\n\n _this4.rectangle(text.bounds.left, Math.round(text.bounds.top + baseline), text.bounds.width, 1, textDecorationColor);\n\n break;\n\n case _parsing_textDecoration__WEBPACK_IMPORTED_MODULE_1__["TEXT_DECORATION_LINE"].OVERLINE:\n _this4.rectangle(text.bounds.left, Math.round(text.bounds.top), text.bounds.width, 1, textDecorationColor);\n\n break;\n\n case _parsing_textDecoration__WEBPACK_IMPORTED_MODULE_1__["TEXT_DECORATION_LINE"].LINE_THROUGH:\n // TODO try and find exact position for line-through\n var _this4$options$fontMe2 = _this4.options.fontMetrics.getMetrics(font),\n middle = _this4$options$fontMe2.middle;\n\n _this4.rectangle(text.bounds.left, Math.ceil(text.bounds.top + middle), text.bounds.width, 1, textDecorationColor);\n\n break;\n }\n });\n }\n });\n }\n }, {\n key: "resizeImage",\n value: function resizeImage(image, size) {\n if (image.width === size.width && image.height === size.height) {\n return image;\n }\n\n var canvas = this.canvas.ownerDocument.createElement(\'canvas\');\n canvas.width = size.width;\n canvas.height = size.height;\n var ctx = canvas.getContext(\'2d\');\n ctx.drawImage(image, 0, 0, image.width, image.height, 0, 0, size.width, size.height);\n return canvas;\n }\n }, {\n key: "setOpacity",\n value: function setOpacity(opacity) {\n this.ctx.globalAlpha = opacity;\n }\n }, {\n key: "transform",\n value: function transform(offsetX, offsetY, matrix, callback) {\n this.ctx.save();\n this.ctx.translate(offsetX, offsetY);
1\n this.ctx.transform(matrix[0], matrix[1], matrix[2], matrix[3], matrix[4], matrix[5]);\n this.ctx.translate(-offsetX, -offsetY);\n callback();\n this.ctx.restore();\n }\n }]);\n\n return CanvasRenderer;\n}();\n\n\n\n//# sourceURL=webpack://html2canvas/./src/renderer/CanvasRenderer.js?')},
1"./src/renderer/ForeignObjectRenderer.js":function _src_renderer_ForeignObjectRendererJs(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return ForeignObjectRenderer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createForeignObjectSVG", function() { return createForeignObjectSVG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "loadSerializedSVG", function() { return loadSerializedSVG; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nvar ForeignObjectRenderer =\n/*#__PURE__*/\nfunction () {\n function ForeignObjectRenderer(element) {\n _classCallCheck(this, ForeignObjectRenderer);\n\n this.element = element;\n }\n\n _createClass(ForeignObjectRenderer, [{\n key: "render",\n value: function render(options) {\n var _this = this;\n\n this.options = options;\n this.canvas = document.createElement(\'canvas\');\n this.ctx = this.canvas.getContext(\'2d\');\n this.canvas.width = Math.floor(options.width) * options.scale;\n this.canvas.height = Math.floor(options.height) * options.scale;\n this.canvas.style.width = "".concat(options.width, "px");\n this.canvas.style.height = "".concat(options.height, "px");\n this.ctx.scale(options.scale, options.scale);\n options.logger.log("ForeignObject renderer initialized (".concat(options.width, "x").concat(options.height, " at ").concat(options.x, ",").concat(options.y, ") with scale ").concat(options.scale));\n var svg = createForeignObjectSVG(Math.max(options.windowWidth, options.width) * options.scale, Math.max(options.windowHeight, options.height) * options.scale, options.scrollX * options.scale, options.scrollY * options.scale, this.element);\n return loadSerializedSVG(svg).then(function (img) {\n if (options.backgroundColor) {\n _this.ctx.fillStyle = options.backgroundColor.toString();\n\n _this.ctx.fillRect(0, 0, options.width * options.scale, options.height * options.scale);\n }\n\n _this.ctx.drawImage(img, -options.x * options.scale, -options.y * options.scale);\n\n return _this.canvas;\n });\n }\n }]);\n\n return ForeignObjectRenderer;\n}();\n\n\nvar createForeignObjectSVG = function createForeignObjectSVG(width, height, x, y, node) {\n var xmlns = \'http://www.w3.org/2000/svg\';\n var svg = document.createElementNS(xmlns, \'svg\');\n var foreignObject = document.createElementNS(xmlns, \'foreignObject\');\n svg.setAttributeNS(null, \'width\', width);\n svg.setAttributeNS(null, \'height\', height);\n foreignObject.setAttributeNS(null, \'width\', \'100%\');\n foreignObject.setAttributeNS(null, \'height\', \'100%\');\n foreignObject.setAttributeNS(null, \'x\', x);\n foreignObject.setAttributeNS(null, \'y\', y);\n foreignObject.setAttributeNS(null, \'externalResourcesRequired\', \'true\');\n svg.appendChild(foreignObject);\n foreignObject.appendChild(node);\n return svg;\n};\nvar loadSerializedSVG = function loadSerializedSVG(svg) {\n return new Promise(function (resolve, reject) {\n var img = new Image();\n\n img.onload = function () {\n return resolve(img);\n };\n\n img.onerror = reject;\n img.src = "data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent(new XMLSerializer().serializeToString(svg)));\n });\n};\n\n//# sourceURL=webpack://html2canvas/./src/renderer/ForeignObjectRenderer.js?')}
1}).default},module.exports=factory()},wZ5I:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("XZzK"),i=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"setOrder",value:function(e){return{type:r.a.SET_ORDER,payload:e}}},{key:"setOrderId",value:function(e){return{type:r.a.SET_ORDER_ID,payload:e}}},{key:"setOrderStep",value:function(e){return{type:r.a.SET_STEP,payload:e}}},{key:"setPrice",value:function(e){return{type:r.a.SET_PRICE,payload:e}}},{key:"setContactDetails",value:function(e){return{type:r.a.SET_CONTACT_DETAILS,payload:e}}},{key:"setPurpose",value:function(e){return{type:r.a.SET_PURPOSE,payload:e}}},{key:"setConsent",value:function(e){return{type:r.a.SET_CONSENT,payload:e}}},{key:"setPriority",value:function(e){return{type:r.a.SET_PRIORITY,payload:e}}},{key:"setNames",value:function(e){return{type:r.a.SET_NAMES,payload:e}}},{key:"setAddresses",value:function(e){return{type:r.a.SET_ADDRESSES,payload:e}}},{key:"setFurtherDetails",value:function(e){return{type:r.a.SET_FURTHER_DETAILS,payload:e}}},{key:"setDocuments",value:function(e){return{type:r.a.SET_DOCUMENTS,payload:e}}},{key:"setIsBornInAustralia",value:function(e){return{type:r.a.SET_BORN_LOCATION,payload:e}}},{key:"addPayment",value:function(e){return{type:r.a.ADD_PAYMENT,payload:e}}},{key:"editDocument",value:function(e){return{type:r.a.EDIT_DOCUMENT,payload:e}}},{key:"deleteDocument",value:function(e){return{type:r.a.DELETE_DOCUMENT,payload:e}}},{key:"setIsEmailDelivered",value:function(e){return{type:r.a.EMAIL_DELIVERED,payload:e}}},{key:"setIsSmsDelivered",value:function(e){return{type:r.a.SMS_DELIVERED,payload:e}}},{key:"setCoupon",value:function(e){return{type:r.a.SET_COUPON,payload:e}}}])}()},xbPD:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new o(e))}}var o=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.defaultValue=t}),[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.defaultValue))}}])}(),a=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).defaultValue=n,r.isEmpty=!0,r}return _inherits2(t,e),_createClass2(t,[{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()}}])}(r.a)},xgIS:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),i=n("DH7j"),o=n("n6bG"),a=n("lJxs");function s(e,t,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?s(e,t,n).pipe(Object(a.a)((function(e){return Object(i.a)(e)?l.apply(void 0,_toConsumableArray2(e)):l(e)}))):new r.a((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 l=t;t.on(n,r),a=function(){return l.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var u=t;t.addListener(n,r),a=function(){return u.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var c=0,h=t.length;c<h;c++)e(t[c],n,r,i,o)}i.add(a)}(e,t,(function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),r,n)}))}},y4HL:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n("LRne"),i=n("SxV6"),o=n("5+tZ"),a=n("vkgz"),s=n("8Y7J"),l=n("DQLy"),u=n("Ga8v"),c=n("f4AX"),h=function(){var e=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.store=t,this.userActionCreator=n,this.userService=r}),[{key:"resolve",value:function(e,t){var n=this;return this.store.pipe(Object(i.a)(),Object(o.a)((function(e){return e.user?Object(r.a)(e.user):Object(r.a)(e.user).pipe(Object(o.a)((function(){return n.userService.getCurrentUser().pipe(Object(i.a)(),Object(a.a)((function(e){n.store.dispatch(n.userActionCreator.setUser(e))})))})))})))}}])}();return e.ngInjectableDef=s["\u0275\u0275defineInjectable"]({factory:function(){return new e(s["\u0275\u0275inject"](l.o),s["\u0275\u0275inject"](u.a),s["\u0275\u0275inject"](c.a))},token:e,providedIn:"root"}),e}()},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("HDdC"),i=n("ngJS"),o=n("jZKg");function a(e,t){return t?Object(o.a)(e,t):new r.a(Object(i.a)(e))}},"yK//":function(e,t,n){"use strict";function r(e,t){if(e)throw new Error("".concat(t," has already been loaded. Import ").concat(t," modules in the AppModule only."))}var i=n("NUQi"),o=n("4HIu");n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i.a})),n.d(t,"b",(function(){return o.a}))},yksw:function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.Ok="ok",e.Exited="exited",e.Crashed="crashed",e.Abnormal="abnormal"}(r||(r={}))},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return r}))},"z/SZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("8Y7J"),i=n("hpHm"),o=_createClass2((function e(t,n,r){_classCallCheck2(this,e),this.nodes=t,this.viewRef=n,this.componentRef=r})),a=function(){return _createClass2((function e(t,n,i,o,a,s,l,u){_classCallCheck2(this,e),this._viewContainerRef
1=t,this._renderer=n,this._elementRef=i,this._injector=o,this._componentFactoryResolver=a,this._ngZone=s,this._applicationRef=l,this._posService=u,this.onBeforeShow=new r.EventEmitter,this.onShown=new r.EventEmitter,this.onBeforeHide=new r.EventEmitter,this.onHidden=new r.EventEmitter,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}),[{key:"isShown",get:function(){return!this._isHiding&&!!this._componentRef}},{key:"attach",value:function(e){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(e),this}},{key:"to",value:function(e){return this.container=e||this.container,this}},{key:"position",value:function(e){return this.attachment=e.attachment||this.attachment,this._elementRef=e.target||this._elementRef,this}},{key:"provide",value:function(e){return this._providers.push(e),this}},{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(e.content,e.context,e.initialState);var t=r.Injector.create({providers:this._providers,parent:this._injector});this._componentRef=this._componentFactory.create(t,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,e),this.container instanceof r.ElementRef&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&"undefined"!=typeof document&&(document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector)).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}},{key:"hide",value:function(){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);var e=this._componentRef.location.nativeElement;return e.parentNode.removeChild(e),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this}},{key:"toggle",value:function(){this.isShown?this.hide():this.show()}},{key:"dispose",value:function(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}},{key:"listen",value:function(e){var t=this;this.triggers=e.triggers||this.triggers,this._listenOpts.outsideClick=e.outsideClick,this._listenOpts.outsideEsc=e.outsideEsc,e.target=e.target||this._elementRef.nativeElement;var n=this._listenOpts.hide=function(){return e.hide?e.hide():void t.hide()},r=this._listenOpts.show=function(n){e.show?e.show(n):t.show(n),n()};return this._unregisterListenersFn=Object(i.e)(this._renderer,{target:e.target,triggers:e.triggers,show:r,hide:n,toggle:function(e){t.isShown?n():r(e)}}),this}},{key:"_removeGlobalListener",value:function(){this._globalListener&&(this._globalListener(),this._globalListener=null)}},{key:"attachInline",value:function(e,t){return this._inlineViewRef=e.createEmbeddedView(t),this}},{key:"_registerOutsideClick",value:function(){var e=this;if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){var t=this._componentRef.location.nativeElement;setTimeout((function(){e._globalListener=Object(i.h)(e._renderer,{targets:[t,e._elementRef.nativeElement],outsideClick:e._listenOpts.outsideClick,hide:function(){return e._listenOpts.hide()}})}))}if(this._listenOpts.outsideEsc){var n=this._componentRef.location.nativeElement;this._globalListener=Object(i.g)(this._renderer,{targets:[n,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:function(){return e._listenOpts.hide()}})}}}},{key:"getInnerComponent",value:function(){return this._innerComponent}},{key:"_subscribePositioning",value:function(){var e=this;!this._zoneSubscription&&this.attachment&&(this.onShown.subscribe((function(){e._posService.position({element:e._componentRef.location,target:e._elementRef,attachment:e.attachment,appendToBody:"body"===e.container})})),this._zoneSubscription=this._ngZone.onStable.subscribe((function(){e._componentRef&&e._posService.calcPosition()})))}},{key:"_unsubscribePositioning",value:function(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)}},{key:"_getContentRef",value:function(e,t,n){if(!e)return new o([]);if(e instanceof r.TemplateRef){if(this._viewContainerRef){var i=this._viewContainerRef.createEmbeddedView(e,t);return i.markForCheck(),new o([i.rootNodes],i)}var a=e.createEmbeddedView({});return this._applicationRef.attachView(a),new o([a.rootNodes],a)}if("function"==typeof e){var s=this._componentFactoryResolver.resolve
1ComponentFactory(e),l=r.Injector.create({providers:this._providers,parent:this._injector}),u=s.create(l);return Object.assign(u.instance,n),this._applicationRef.attachView(u.hostView),new o([[u.location.nativeElement]],u.hostView,u)}return new o([[this._renderer.createText(""+e)]])}}])}(),s=function(){return _createClass2((function e(t,n,r,i,o){_classCallCheck2(this,e),this._componentFactoryResolver=t,this._ngZone=n,this._injector=r,this._posService=i,this._applicationRef=o}),[{key:"createLoader",value:function(e,t,n){return new a(t,n,e,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}])}()},z5nN:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return c}));var r=n("8Y7J"),i=n("LqlI"),o=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function a(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,2,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),r["\u0275ncd"](null,0)],null,(function(e,t){var n=t.component;e(t,0,0,"modal-dialog"+(n.config.class?" "+n.config.class:""))}))}var s=r["\u0275ccf"]("modal-container",i.d,(function(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"modal-container",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[1,"aria-modal",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"mousedown"],[null,"mouseup"],["window","keydown.esc"]],(function(e,t,n){var i=!0;return"mousedown"===t&&(i=!1!==r["\u0275nov"](e,1).onClickStarted(n)&&i),"mouseup"===t&&(i=!1!==r["\u0275nov"](e,1).onClickStop(n)&&i),"window:keydown.esc"===t&&(i=!1!==r["\u0275nov"](e,1).onEsc(n)&&i),i}),a,o)),r["\u0275did"](1,245760,null,0,i.d,[i.g,r.ElementRef,r.Renderer2],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,!0,r["\u0275nov"](t,1).config.ariaLabelledBy,r["\u0275nov"](t,1).config.ariaDescribedby)}))}),{},{},["*"]),l=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function u(e){return r["\u0275vid"](0,[],null,null)}var c=r["\u0275ccf"]("bs-modal-backdrop",i.c,(function(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"bs-modal-backdrop",[["class","modal-backdrop"]],null,null,null,u,l)),r["\u0275did"](1,114688,null,0,i.c,[r.ElementRef,r.Renderer2],null,null)],(function(e,t){e(t,1,0)}),null)}),{},{},[])},z6cu:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("HDdC");function i(e,t){return new r.a(t?function(n){return t.schedule(o,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function o(e){var t=e.error;e.subscriber.error(t)}},zMNK:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"g",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return d}));var r=n("8Y7J");function i(){throw Error("Host already has a portal attached")}var o=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"attach",value:function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&i(),this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}])}(),a=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t)).component=e,o.viewContainerRef=n,o.injector=r,o.componentFactoryResolver=i,o}return _inherits2(t,e),_createClass2(t)}(o),s=function(e){function t(e,n,r){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t)).templateRef=e,i.viewContainerRef=n,i.context=r,i}return _inherits2(t,e),_createClass2(t,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=n,_superPropGet(t,"attach",this,3)([e])}},{key:"detach",value:function(){return this.context=void 0,_superPropGet(t,"detach",this,3)([])}}])}(o),l=function(){return _createClass2((function e(){_classCallCheck2(this,e),this._isDisposed=!1}),[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e||function(){throw Error("Mu
1st provide a portal to attach")}(),this.hasAttached()&&i(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof a?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof s?(this._attachedPortal=e,this.attachTemplatePortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}])}(),u=function(e){function t(e,n,r,i){var o;return _classCallCheck2(this,t),(o=_callSuper(this,t)).outletElement=e,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return _inherits2(t,e),_createClass2(t,[{key:"attachComponentPortal",value:function(e){var t,n=this,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn((function(){return t.destroy()}))):(t=r.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn((function(){n._appRef.detachView(t.hostView),t.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(t)),t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,r=n.createEmbeddedView(e.templateRef,e.context);return r.detectChanges(),r.rootNodes.forEach((function(e){return t.outletElement.appendChild(e)})),this.setDisposeFn((function(){var e=n.indexOf(r);-1!==e&&n.remove(e)})),r}},{key:"dispose",value:function(){_superPropGet(t,"dispose",this,3)([]),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}])}(l),c=function(e){function t(e,n){var i;return _classCallCheck2(this,t),(i=_callSuper(this,t))._componentFactoryResolver=e,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new r.EventEmitter,i}return _inherits2(t,e),_createClass2(t,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&_superPropGet(t,"detach",this,3)([]),e&&_superPropGet(t,"attach",this,3)([e]),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){_superPropGet(t,"dispose",this,3)([]),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=n.createComponent(r,n.length,e.injector||n.injector);return _superPropGet(t,"setDisposeFn",this,3)([function(){return i.destroy()}]),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"attachTemplatePortal",value:function(e){var n=this;e.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return _superPropGet(t,"setDisposeFn",this,3)([function(){return n._viewContainerRef.clear()}]),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}}])}(l),h=_createClass2((function e(){_classCallCheck2(this,e)})),d=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._parentInjector=t,this._customTokens=n}),[{key:"get",value:function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)}}])}()},zP0r:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e){return function(t){return t.lift(new o(e))}}var o=function(){return _createClass2((function e(t){_classCallCheck2(this,e),this.total=t}),[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.total))}}])}(),a=function(e){function t(e,n){var r;return _classCallCheck2(this,t),(r=_callSuper(this,t,[e])).total=n,r.count=0,r}
1return _inherits2(t,e),_createClass2(t,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}])}(r.a)},zQui:function(e,t,n){"use strict";n.d(t,"r",(function(){return B})),n.d(t,"t",(function(){return D})),n.d(t,"s",(function(){return M})),n.d(t,"o",(function(){return I})),n.d(t,"b",(function(){return d})),n.d(t,"j",(function(){return f})),n.d(t,"f",(function(){return p})),n.d(t,"d",(function(){return g})),n.d(t,"i",(function(){return A})),n.d(t,"e",(function(){return v})),n.d(t,"a",(function(){return m})),n.d(t,"l",(function(){return b})),n.d(t,"h",(function(){return C})),n.d(t,"n",(function(){return w})),n.d(t,"c",(function(){return k})),n.d(t,"k",(function(){return E})),n.d(t,"g",(function(){return S})),n.d(t,"m",(function(){return O})),n.d(t,"p",(function(){return U})),n.d(t,"u",(function(){return F})),n.d(t,"q",(function(){return L}));var r=n("KCVW"),i=n("8Y7J"),o=n("8bJo"),a=n("XNiG"),s=n("2Vo4"),l=n("HDdC"),u=n("LRne"),c=n("1G5W");function h(e){return function(e){function t(){var e;_classCallCheck2(this,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=_callSuper(this,t,[].concat(r)))._sticky=!1,e._hasStickyChanged=!1,e}return _inherits2(t,e),_createClass2(t,[{key:"sticky",get:function(){return this._sticky},set:function(e){var t=this._sticky;this._sticky=Object(r.c)(e),this._hasStickyChanged=t!==this._sticky}},{key:"hasStickyChanged",value:function(){var e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}},{key:"resetStickyChanged",value:function(){this._hasStickyChanged=!1}}])}(e)}var d=_createClass2((function e(t){_classCallCheck2(this,e),this.template=t})),f=_createClass2((function e(t){_classCallCheck2(this,e),this.template=t})),p=_createClass2((function e(t){_classCallCheck2(this,e),this.template=t})),g=function(e){function t(){var e;return _classCallCheck2(this,t),(e=_callSuper(this,t,arguments))._stickyEnd=!1,e}return _inherits2(t,e),_createClass2(t,[{key:"name",get:function(){return this._name},set:function(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"))}},{key:"stickyEnd",get:function(){return this._stickyEnd},set:function(e){var t=this._stickyEnd;this._stickyEnd=Object(r.c)(e),this._hasStickyChanged=t!==this._stickyEnd}}])}(h(_createClass2((function e(){_classCallCheck2(this,e)})))),_=_createClass2((function e(t,n){_classCallCheck2(this,e),n.nativeElement.classList.add("cdk-column-"+t.cssClassFriendlyName)})),A=function(e){function t(e,n){return _classCallCheck2(this,t),_callSuper(this,t,[e,n])}return _inherits2(t,e),_createClass2(t)}(_),v=function(e){function t(e,n){return _classCallCheck2(this,t),_callSuper(this,t,[e,n])}return _inherits2(t,e),_createClass2(t)}(_),m=function(e){function t(e,n){return _classCallCheck2(this,t),_callSuper(this,t,[e,n])}return _inherits2(t,e),_createClass2(t)}(_),y=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.template=t,this._differs=n}),[{key:"ngOnChanges",value:function(e){if(!this._columnsDiffer){var t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}},{key:"getColumnsDiff",value:function(){return this._columnsDiffer.diff(this.columns)}},{key:"extractCellTemplate",value:function(e){return this instanceof b?e.headerCell.template:this instanceof C?e.footerCell.template:e.cell.template}}])}(),b=function(e){function t(e,n){return _classCallCheck2(this,t),_callSuper(this,t,[e,n])}return _inherits2(t,e),_createClass2(t,[{key:"ngOnChanges",value:function(e){_superPropGet(t,"ngOnChanges",this,3)([e])}}])}(h(function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t)}(y))),C=function(e){function t(e,n){return _classCallCheck2(this,t),_callSuper(this,t,[e,n])}return _inherits2(t,e),_createClass2(t,[{key:"ngOnChanges",value:function(e){_superPropGet(t,"ngOnChanges",this,3)([e])}}])}(h(function(e){function t(){return _classCallCheck2(this,t),_callSuper(this,t,arguments)}return _inherits2(t,e),_createClass2(t)}(y))),w=function(e){function t(e,n){return _classCallCheck2(this,t),_callSuper(this,t,[e,n])}
1return _inherits2(t,e),_createClass2(t)}(y),k=function(){var e=function(){function e(t){_classCallCheck2(this,e),this._viewContainer=t,e.mostRecentCellOutlet=this}return _createClass2(e,[{key:"ngOnDestroy",value:function(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}}])}();return e.mostRecentCellOutlet=null,e}(),E=_createClass2((function e(){_classCallCheck2(this,e)})),S=_createClass2((function e(){_classCallCheck2(this,e)})),O=_createClass2((function e(){_classCallCheck2(this,e)})),x=["top","bottom","left","right"],P=function(){return _createClass2((function e(t,n,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];_classCallCheck2(this,e),this._isNativeHtmlTable=t,this._stickCellCss=n,this.direction=r,this._isBrowser=i}),[{key:"clearStickyPositioning",value:function(e,t){var n,r=_createForOfIteratorHelper2(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.nodeType===i.ELEMENT_NODE){this._removeStickyStyle(i,t);for(var o=0;o<i.children.length;o++)this._removeStickyStyle(i.children[o],t)}}}catch(a){r.e(a)}finally{r.f()}}},{key:"updateStickyColumns",value:function(e,t,n){var r=t.some((function(e){return e}))||n.some((function(e){return e}));if(e.length&&r&&this._isBrowser){var i,o=e[0],a=o.children.length,s=this._getCellWidths(o),l=this._getStickyStartColumnPositions(s,t),u=this._getStickyEndColumnPositions(s,n),c="rtl"===this.direction,h=_createForOfIteratorHelper2(e);try{for(h.s();!(i=h.n()).done;)for(var d=i.value,f=0;f<a;f++){var p=d.children[f];t[f]&&this._addStickyStyle(p,c?"right":"left",l[f]),n[f]&&this._addStickyStyle(p,c?"left":"right",u[f])}}catch(g){h.e(g)}finally{h.f()}}}},{key:"stickRows",value:function(e,t,n){if(this._isBrowser)for(var r="bottom"===n?e.reverse():e,i=0,o=0;o<r.length;o++)if(t[o]){var a=r[o];if(this._isNativeHtmlTable)for(var s=0;s<a.children.length;s++)this._addStickyStyle(a.children[s],n,i);else this._addStickyStyle(a,n,i);if(o===r.length-1)return;i+=a.getBoundingClientRect().height}}},{key:"updateStickyFooterContainer",value:function(e,t){if(this._isNativeHtmlTable){var n=e.querySelector("tfoot");t.some((function(e){return!e}))?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)}}},{key:"_removeStickyStyle",value:function(e,t){var n,r=_createForOfIteratorHelper2(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;e.style[i]=""}}catch(o){r.e(o)}finally{r.f()}e.style.zIndex=this._getCalculatedZIndex(e),x.some((function(t){return!!e.style[t]}))||(e.style.position="",e.classList.remove(this._stickCellCss))}},{key:"_addStickyStyle",value:function(e,t,n){e.classList.add(this._stickCellCss),e.style[t]=n+"px",e.style.cssText+="position: -webkit-sticky; position: sticky; ",e.style.zIndex=this._getCalculatedZIndex(e)}},{key:"_getCalculatedZIndex",value:function(e){for(var t={top:100,bottom:10,left:1,right:1},n=0,r=0,i=x;r<i.length;r++){var o=i[r];e.style[o]&&(n+=t[o])}return n?""+n:""}},{key:"_getCellWidths",value:function(e){for(var t=[],n=e.children,r=0;r<n.length;r++)t.push(n[r].getBoundingClientRect().width);return t}},{key:"_getStickyStartColumnPositions",value:function(e,t){for(var n=[],r=0,i=0;i<e.length;i++)t[i]&&(n[i]=r,r+=e[i]);return n}},{key:"_getStickyEndColumnPositions",value:function(e,t){for(var n=[],r=0,i=e.length;i>0;i--)t[i]&&(n[i]=r,r+=e[i]);return n}}])}();function T(e){return Error('Could not find column with id "'.concat(e,'".'))}var B=_createClass2((function e(t,n){_classCallCheck2(this,e),this.viewContainer=t,this.elementRef=n})),D=_createClass2((function e(t,n){_classCallCheck2(this,e),this.viewContainer=t,this.elementRef=n})),M=_createClass2((function e(t,n){_classCallCheck2(this,e),this.viewContainer=t,this.elementRef=n})),I=function(){return _createClass2((function e(t,n,r,i,o,l,u){_classCallCheck2(this,e),this._differs=t,this._changeDetectorRef=n,this._elementRef=r,this._dir=o,this._platform=u,this._onDestroy=new a.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new s.a({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=l,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}),[{key:"trackBy",get:function(){return this._trackByFn},set:function(e){Object(i.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(e),".")),this._trackByFn=e}},{key:"dataSource",get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows}
1,set:function(e){this._multiTemplateDataRows=Object(r.c)(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}},{key:"ngOnInit",value:function(){var e=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((function(t,n){return e.trackBy?e.trackBy(n.dataIndex,n.data):n}))}},{key:"ngAfterContentChecked",value:function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(o.d)(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var e=this;this._renderRows=this._getAllRenderRows();var t=this._dataDiffer.diff(this._renderRows);if(t){var n=this._rowOutlet.viewContainer;t.forEachOperation((function(t,r,i){if(null==t.previousIndex)e._insertRow(t.item,i);else if(null==i)n.remove(r);else{var o=n.get(r);n.move(o,i)}})),this._updateRowIndexContext(),t.forEachIdentityChange((function(e){n.get(e.currentIndex).context.$implicit=e.item.data})),this.updateStickyColumnStyles()}}},{key:"setHeaderRowDef",value:function(e){this._customHeaderRowDefs=new Set([e]),this._headerRowDefChanged=!0}},{key:"setFooterRowDef",value:function(e){this._customFooterRowDefs=new Set([e]),this._footerRowDefChanged=!0}},{key:"addColumnDef",value:function(e){this._customColumnDefs.add(e)}},{key:"removeColumnDef",value:function(e){this._customColumnDefs.delete(e)}},{key:"addRowDef",value:function(e){this._customRowDefs.add(e)}},{key:"removeRowDef",value:function(e){this._customRowDefs.delete(e)}},{key:"addHeaderRowDef",value:function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}},{key:"updateStickyHeaderRowStyles",value:function(){var e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");var n=this._headerRowDefs.map((function(e){return e.sticky}));this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach((function(e){return e.resetStickyChanged()}))}},{key:"updateStickyFooterRowStyles",value:function(){var e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");var n=this._footerRowDefs.map((function(e){return e.sticky}));this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach((function(e){return e.resetStickyChanged()}))}},{key:"updateStickyColumnStyles",value:function(){var e=this,t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([].concat(_toConsumableArray2(t),_toConsumableArray2(n),_toConsumableArray2(r)),["left","right"]),t.forEach((function(t,n){e._addStickyColumnStyles([t],e._headerRowDefs[n])}
1)),this._rowDefs.forEach((function(t){for(var r=[],i=0;i<n.length;i++)e._renderRows[i].rowDef===t&&r.push(n[i]);e._addStickyColumnStyles(r,t)})),r.forEach((function(t,n){e._addStickyColumnStyles([t],e._footerRowDefs[n])})),Array.from(this._columnDefsByName.values()).forEach((function(e){return e.resetStickyChanged()}))}},{key:"_getAllRenderRows",value:function(){var e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var n=0;n<this._data.length;n++){var r=this._data[n],i=this._getRenderRowsForData(r,n,t.get(r));this._cachedRenderRowsMap.has(r)||this._cachedRenderRowsMap.set(r,new WeakMap);for(var o=0;o<i.length;o++){var a=i[o],s=this._cachedRenderRowsMap.get(a.data);s.has(a.rowDef)?s.get(a.rowDef).push(a):s.set(a.rowDef,[a]),e.push(a)}}return e}},{key:"_getRenderRowsForData",value:function(e,t,n){return this._getRowDefs(e,t).map((function(r){var i=n&&n.has(r)?n.get(r):[];if(i.length){var o=i.shift();return o.dataIndex=t,o}return{data:e,rowDef:r,dataIndex:t}}))}},{key:"_cacheColumnDefs",value:function(){var e=this;this._columnDefsByName.clear(),R(this._contentColumnDefs,this._customColumnDefs).forEach((function(t){if(e._columnDefsByName.has(t.name))throw Error('Duplicate column definition name provided: "'.concat(t.name,'".'));e._columnDefsByName.set(t.name,t)}))}},{key:"_cacheRowDefs",value:function(){this._headerRowDefs=R(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=R(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=R(this._contentRowDefs,this._customRowDefs);var e=this._rowDefs.filter((function(e){return!e.when}));if(!this.multiTemplateDataRows&&e.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=e[0]}},{key:"_renderUpdatedColumns",value:function(){var e=function(e,t){return e||!!t.getColumnsDiff()};this._rowDefs.reduce(e,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(e,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(e,!1)&&this._forceRenderFooterRows()}},{key:"_switchDataSource",value:function(e){this._data=[],Object(o.d)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}},{key:"_observeRenderChanges",value:function(){var e=this;if(this.dataSource){var t;if(Object(o.d)(this.dataSource)?t=this.dataSource.connect(this):this.dataSource instanceof l.a?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(u.a)(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(Object(c.a)(this._onDestroy)).subscribe((function(t){e._data=t||[],e.renderRows()}))}}},{key:"_forceRenderHeaderRows",value:function(){var e=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(t,n){return e._renderRow(e._headerRowOutlet,t,n)})),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}},{key:"_forceRenderFooterRows",value:function(){var e=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((function(t,n){return e._renderRow(e._footerRowOutlet,t,n)})),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}},{key:"_addStickyColumnStyles",value:function(e,t){var n=this,r=Array.from(t.columns||[]).map((function(e){var t=n._columnDefsByName.get(e);if(!t)throw T(e);return t})),i=r.map((function(e){return e.sticky})),o=r.map((function(e){return e.stickyEnd}));this._stickyStyler.updateStickyColumns(e,i,o)}},{key:"_getRenderedRows",value:function(e){for(var t=[],n=0;n<e.viewContainer.length;n++){var r=e.viewContainer.get(n);t.push(r.rootNodes[0])}return t}},{key:"_getRowDefs",value:function(e,t){if(1==this._rowDefs.length)return[this._rowDefs[0]];var n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter((function(n){return!n.when||n.when(t,e)}));else{var r=this._rowDefs.find((function(n){return n.when&&n.when(t,e)}))||this._defaultRowDef;r&&n.push(r)}if(!n.length)throw function(e){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(e))}(e);return n}},{key:"_insertRow",value:function(e,t){this._renderRow(this._rowOutlet,e.rowDef,t,{$implicit:e.data})}},{key:"_renderRow",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e.viewContainer.createEmbeddedView(t.template,r,n);var i,o=_createForOfIteratorHelper2(this._getCellTemplates(t));try{for(o.s();!(i=o.n()).done;){var a=i.value;k.mostRecentCellOutlet&&k.mostRecentCellOutlet._viewContainer.createEmbeddedView(a,r)}}catch(s){o.e(s)}finally{o.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var e=this._rowOutlet.viewContainer,t=0,n=e.length;t<n;t++){var r=e.get(t).context;r.count=n,r.first=0===t,r.last=t===n-1,r.even=t%2==0,r.odd=!r.even,this.multiTemplateDataRows?(r.dataIndex=this._renderRows[t].dataIndex,r.renderIndex=t):r.index=this._renderRows[t].dataIndex}}},{key:"_getCellTemplates",value:function(e){var t=this;return e&&e.columns?Array.from(e.columns,(function(n){var r=t._columnDefsByName.get(n);if(!r)throw T(n);return e.extractCellTemplate(r)})):[]}},{key:"_applyNativeTableSections",value:function(){for(var e=this._document.createDocumentFragment(),t=0,n=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];t<n.length;t++){var r=n[t],i=this._document.createElement(r.tag);i.setAttribute("role","rowgroup"),i.appendChild(r.outlet.elementRef.nativeElement),e.appendChild(i)}this._elementRef.nativeElement.appendChild(e)}},{key:"_forceRenderDataRows",value:function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}},{key:"_checkStickyStates",value:function(){var e=function(e,t){return e||t.hasStickyChanged()};this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&this.updateStickyColumnStyles()}},{key:"_setupStickyStyler",value:function(){var e=this;this._stickyStyler=new P(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:Object(u.a)()).pipe(Object(c.a)(this._onDestroy)).subscribe((function(t){e._stickyStyler.direction=t,e.updateStickyColumnStyles()}))}}])}();function R(e,t){return e.toArray().concat(Array.from(t))}var F=new i.InjectionToken("text-column-options"),L=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this._table=t,this._options=n,this.justify="start",this._options=n||{}}),[{key:"name",get:function(){return this._name}
1,set:function(e){this._name=e,this._syncColumnDefName()}},{key:"ngOnInit",value:function(){if(this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||function(e,t){return e[t]}),!this._table)throw Error("Text column could not find a parent table for registration.");this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef)}},{key:"ngOnDestroy",value:function(){this._table&&this._table.removeColumnDef(this.columnDef)}},{key:"_createDefaultHeaderText",value:function(){var e=this.name;if(Object(i.isDevMode)()&&!e)throw Error("Table text column must have a name.");return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(e):e[0].toUpperCase()+e.slice(1)}},{key:"_syncColumnDefName",value:function(){this.columnDef&&(this.columnDef.name=this.name)}}])}(),U=_createClass2((function e(){_classCallCheck2(this,e)}))},zUnb:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"FunctionToString",(function(){return d})),n.d(r,"InboundFilters",(function(){return y}));var i=n("8Y7J"),o=n("AytR"),a=n("3Rfw");function s(){return new a.WebStorageStateStore({store:window.localStorage})}var l,u,c=_createClass2((function e(){_classCallCheck2(this,e)})),h=n("iInd"),d=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){l=Function.prototype.toString,Function.prototype.toString=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.__sentry_original__||this;return l.apply(n,e)}},e.id="FunctionToString",e}(),f=n("mrSG"),p=n("KjyA"),g=n("lW6c"),_=n("8LbN"),A=n("9/Zf"),v=n("+924"),m=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],y=function(){function e(t){void 0===t&&(t={}),this._options=t,this.name=e.id}return e.prototype.setupOnce=function(){Object(p.b)((function(t){var n=Object(g.a)();if(!n)return t;var r=n.getIntegration(e);if(r){var i=n.getClient(),o=i?i.getOptions():{},a=r._mergeOptions(o);if(r._shouldDropEvent(t,a))return null}return t}))},e.prototype._shouldDropEvent=function(e,t){return this._isSentryError(e,t)?(_.a.warn("Event dropped due to being internal Sentry Error.\nEvent: "+Object(A.d)(e)),!0):this._isIgnoredError(e,t)?(_.a.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+Object(A.d)(e)),!0):this._isDeniedUrl(e,t)?(_.a.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+Object(A.d)(e)+".\nUrl: "+this._getEventFilterUrl(e)),!0):!this._isAllowedUrl(e,t)&&(_.a.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+Object(A.d)(e)+".\nUrl: "+this._getEventFilterUrl(e)),!0)},e.prototype._isSentryError=function(e,t){if(!t.ignoreInternal)return!1;try{return e&&e.exception&&e.exception.values&&e.exception.values[0]&&"SentryError"===e.exception.values[0].type||!1}catch(n){return!1}},e.prototype._isIgnoredError=function(e,t){return!(!t.ignoreErrors||!t.ignoreErrors.length)&&this._getPossibleEventMessages(e).some((function(e){return t.ignoreErrors.some((function(t){return Object(v.a)(e,t)}))}))},e.prototype._isDeniedUrl=function(e,t){if(!t.denyUrls||!t.denyUrls.length)return!1;var n=this._getEventFilterUrl(e);return!!n&&t.denyUrls.some((function(e){return Object(v.a)(n,e)}))},e.prototype._isAllowedUrl=function(e,t){if(!t.allowUrls||!t.allowUrls.length)return!0;var n=this._getEventFilterUrl(e);return!n||t.allowUrls.some((function(e){return Object(v.a)(n,e)}))},e.prototype._mergeOptions=function(e){return void 0===e&&(e={}),{allowUrls:Object(f.h)(this._options.whitelistUrls||[],this._options.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:Object(f.h)(this._options.blacklistUrls||[],this._options.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:Object(f.h)(this._options.ignoreErrors||[],e.ignoreErrors||[],m),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal}},e.prototype._getPossibleEventMessages=function(e){if(e.message)return[e.message];if(e.exception)try{var t=e.exception.values&&e.exception.values[0]||{},n=t.type,r=t.value,i=void 0===r?"":r;return[""+i,(void 0===n?"":n)+": "+i]}catch(o){return _.a.error("Cannot extract message for event "+Object(A.d)(e)),[]}return[]},e.prototype._getEventFilterUrl=function(e){try{if(e.stacktrace){var t=e.stacktrace.frames;return t&&t[t.length-1].filename||null}if(e.exception){var n=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return n&&n[n.length-1].filename||null}return null}catch(r){return _.a.error("Cannot extract url for event "+Object(A.d)(e)),null}},e.id="InboundFilters",e}
1(),b=n("HR75"),C=n("yksw"),w=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){return e.__proto__=t,e}:function(e,t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n]);return e}),k=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return r.message=t,r.name=n.prototype.constructor.name,w(r,n.prototype),r}return Object(f.d)(t,e),t}(Error),E=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,S=function(){function e(e){"string"==typeof e?this._fromString(e):this._fromComponents(e),this._validate()}return e.prototype.toString=function(e){void 0===e&&(e=!1);var t=this,n=t.path,r=t.pass,i=t.port;return t.protocol+"://"+t.user+(e&&r?":"+r:"")+"@"+t.host+(i?":"+i:"")+"/"+(n?n+"/":n)+t.projectId},e.prototype._fromString=function(e){var t=E.exec(e);if(!t)throw new k("Invalid Dsn");var n=Object(f.f)(t.slice(1),6),r=n[0],i=n[1],o=n[2],a=void 0===o?"":o,s=n[3],l=n[4],u=void 0===l?"":l,c="",h=n[5],d=h.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),h=d.pop()),h){var p=h.match(/^\d+/);p&&(h=p[0])}this._fromComponents({host:s,pass:a,path:c,projectId:h,port:u,protocol:r,user:i})},e.prototype._fromComponents=function(e){this.protocol=e.protocol,this.user=e.user,this.pass=e.pass||"",this.host=e.host,this.port=e.port||"",this.path=e.path||"",this.projectId=e.projectId},e.prototype._validate=function(){var e=this;if(["protocol","user","host","projectId"].forEach((function(t){if(!e[t])throw new k("Invalid Dsn: "+t+" missing")})),!this.projectId.match(/^\d+$/))throw new k("Invalid Dsn: Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new k("Invalid Dsn: Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new k("Invalid Dsn: Invalid port "+this.port)},e}(),O=n("9AQC"),x=n("kdvv"),P=n("6PXS"),T=[],B=function(){function e(e,t){this._integrations={},this._processing=0,this._backend=new e(t),this._options=t,t.dsn&&(this._dsn=new S(t.dsn))}return e.prototype.captureException=function(e,t,n){var r=this,i=t&&t.event_id;return this._process(this._getBackend().eventFromException(e,t).then((function(e){return r._captureEvent(e,t,n)})).then((function(e){i=e}))),i},e.prototype.captureMessage=function(e,t,n,r){var i=this,o=n&&n.event_id,a=Object(O.i)(e)?this._getBackend().eventFromMessage(String(e),t,n):this._getBackend().eventFromException(e,n);return this._process(a.then((function(e){return i._captureEvent(e,n,r)})).then((function(e){o=e}))),o},e.prototype.captureEvent=function(e,t,n){var r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((function(e){r=e}))),r},e.prototype.captureSession=function(e){e.release?this._sendSession(e):_.a.warn("Discarded session because of missing release")},e.prototype.getDsn=function(){return this._dsn},e.prototype.getOptions=function(){return this._options},e.prototype.flush=function(e){var t=this;return this._isClientProcessing(e).then((function(n){return t._getBackend().getTransport().close(e).then((function(e){return n&&e}))}))},e.prototype.close=function(e){var t=this;return this.flush(e).then((function(e){return t.getOptions().enabled=!1,e}))},e.prototype.setupIntegrations=function(){var e;this._isEnabled()&&(this._integrations=(e={},function(e){var t=e.defaultIntegrations&&Object(f.h)(e.defaultIntegrations)||[],n=e.integrations,r=[];if(Array.isArray(n)){var i=n.map((function(e){return e.name})),o=[];t.forEach((function(e){-1===i.indexOf(e.name)&&-1===o.indexOf(e.name)&&(r.push(e),o.push(e.name))})),n.forEach((function(e){-1===o.indexOf(e.name)&&(r.push(e),o.push(e.name))}))}else"function"==typeof n?(r=n(t),r=Array.isArray(r)?r:[r]):r=Object(f.h)(t);var a=r.map((function(e){return e.name}));return-1!==a.indexOf("Debug")&&r.push.apply(r,Object(f.h)(r.splice(a.indexOf("Debug"),1))),r}(this._options).forEach((function(t){e[t.name]=t,function(e){-1===T.indexOf(e.name)&&(e.setupOnce(p.b,g.a),T.push(e.name),_.a.log("Integration installed: "+e.name))}(t)})),e))},e.prototype.getIntegration=function(e){try{return this._integrations[e.id]||null}catch(t){return _.a.warn("Cannot retrieve integration "+e.id+" from the current Client"),null}},e.prototype._updateSessionFromEvent=function(e,t){var n,r,i,o=!1,a=!1,s=t.exception&&t.exception.values;if(s){a=!0;try{for(var l=Object(f.i)(s),u=l.next();!u.done;u=l.next()){var c=u.value.mechanism;if(c&&!1===c.handled){o=!0;break}}}catch(g){n={error:g}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}var h=t.user;if(!e.userAgent){var d=t.request?t.request.headers:{};for(var p in d)if("user-agent"===p.toLowerCase()){i=d[p];break}}e.update(Object(f.a)(Object(f.a)({},o&&{status:C.a.Crashed}),{user:h,userAgent:i,errors:e.errors+Number(a||o)}))},e.prototype._sendSession=function(e){this._getBackend().sendSession(e)},e.prototype._isClientProcessing=function(e){var t=this;return new b.a((function(n){var r=0,i=setInterval((function(){0==t._processing?(clearInterval(i),n(!0)):(r+=1,e&&r>=e&&(clearInterval(i),n(!1)))}),1)}))},e.prototype._getBackend=function(){return this._backend},e.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},e.prototype._prepareEvent=function(e,t,n){var r=this,i=this.getOptions().normalizeDepth,o=void 0===i?3:i,a=Object(f.a)(Object(f.a)({}
1,e),{event_id:e.event_id||(n&&n.event_id?n.event_id:Object(A.i)()),timestamp:e.timestamp||Object(x.a)()});this._applyClientOptions(a),this._applyIntegrationsMetadata(a);var s=t;n&&n.captureContext&&(s=p.a.clone(s).update(n.captureContext));var l=b.a.resolve(a);return s&&(l=s.applyToEvent(a,n)),l.then((function(e){return"number"==typeof o&&o>0?r._normalizeEvent(e,o):e}))},e.prototype._normalizeEvent=function(e,t){if(!e)return null;var n=Object(f.a)(Object(f.a)(Object(f.a)(Object(f.a)(Object(f.a)({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((function(e){return Object(f.a)(Object(f.a)({},e),e.data&&{data:Object(P.d)(e.data,t)})}))}),e.user&&{user:Object(P.d)(e.user,t)}),e.contexts&&{contexts:Object(P.d)(e.contexts,t)}),e.extra&&{extra:Object(P.d)(e.extra,t)});return e.contexts&&e.contexts.trace&&(n.contexts.trace=e.contexts.trace),n},e.prototype._applyClientOptions=function(e){var t=this.getOptions(),n=t.release,r=t.dist,i=t.maxValueLength,o=void 0===i?250:i;"environment"in e||(e.environment="environment"in t?t.environment:"production"),void 0===e.release&&void 0!==n&&(e.release=n),void 0===e.dist&&void 0!==r&&(e.dist=r),e.message&&(e.message=Object(v.d)(e.message,o));var a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=Object(v.d)(a.value,o));var s=e.request;s&&s.url&&(s.url=Object(v.d)(s.url,o))},e.prototype._applyIntegrationsMetadata=function(e){var t=e.sdk,n=Object.keys(this._integrations);t&&n.length>0&&(t.integrations=n)},e.prototype._sendEvent=function(e){this._getBackend().sendEvent(e)},e.prototype._captureEvent=function(e,t,n){return this._processEvent(e,t,n).then((function(e){return e.event_id}),(function(e){_.a.error(e)}))},e.prototype._processEvent=function(e,t,n){var r=this,i=this.getOptions(),o=i.beforeSend,a=i.sampleRate;if(!this._isEnabled())return b.a.reject(new k("SDK not enabled, will not send event."));var s="transaction"===e.type;return!s&&"number"==typeof a&&Math.random()>a?b.a.reject(new k("Discarding event because it's not included in the random sample (sampling rate = "+a+")")):this._prepareEvent(e,n,t).then((function(e){if(null===e)throw new k("An event processor returned null, will not send event.");if(t&&t.data&&!0===t.data.__sentry__||s||!o)return e;var n=o(e,t);if(void 0===n)throw new k("`beforeSend` method has to return `null` or a valid event.");return Object(O.m)(n)?n.then((function(e){return e}),(function(e){throw new k("beforeSend rejected with "+e)})):n})).then((function(e){if(null===e)throw new k("`beforeSend` returned `null`, will not send event.");var t=n&&n.getSession&&n.getSession();return!s&&t&&r._updateSessionFromEvent(t,e),r._sendEvent(e),e})).then(null,(function(e){if(e instanceof k)throw e;throw r.captureException(e,{data:{__sentry__:!0},originalException:e}),new k("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+e)}))},e.prototype._process=function(e){var t=this;this._processing+=1,e.then((function(e){return t._processing-=1,e}),(function(e){return t._processing-=1,e}))},e}();!function(e){e.Unknown="unknown",e.Skipped="skipped",e.Success="success",e.RateLimit="rate_limit",e.Invalid="invalid",e.Failed="failed"}(u||(u={})),function(e){e.fromHttpCode=function(t){return t>=200&&t<300?e.Success:429===t?e.RateLimit:t>=400&&t<500?e.Invalid:t>=500?e.Failed:e.Unknown}}(u||(u={}));var D,M=function(){function e(){}return e.prototype.sendEvent=function(e){return b.a.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:u.Skipped})},e.prototype.close=function(e){return b.a.resolve(!0)},e}(),I=function(){function e(e){this._options=e,this._options.dsn||_.a.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return e.prototype.eventFromException=function(e,t){throw new k("Backend has to implement `eventFromException` method")},e.prototype.eventFromMessage=function(e,t,n){throw new k("Backend has to implement `eventFromMessage` method")},e.prototype.sendEvent=function(e){this._transport.sendEvent(e).then(null,(function(e){_.a.error("Error while sending event: "+e)}))},e.prototype.sendSession=function(e){this._transport.sendSession?this._transport.sendSession(e).then(null,(function(e){_.a.error("Error while sending session: "+e)})):_.a.warn("Dropping session because custom transport doesn't implement sendSession")},e.prototype.getTransport=function(){return this._transport},e.prototype._setupTransport=function(){return new M},e}();function R(){if(!("fetch"in Object(A.e)()))return!1;
vendor: 1,054 bytes, line 1
1try{return new Headers,new Request(""),new Response,!0}catch(e){return!1}}function F(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function L(){if(!R())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}}!function(e){e.Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical"}(D||(D={})),function(e){e.fromString=function(t){switch(t){case"debug":return e.Debug;case"info":return e.Info;case"warn":case"warning":return e.Warning;case"error":return e.Error;case"fatal":return e.Fatal;case"critical":return e.Critical;case"log":default:return e.Log}}}(D||(D={}));var U=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,N=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,j=/^\s*
1at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,H=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Q=/\((\S*)(?::(\d+))(?::(\d+))\)/,V=/Minified React error #\d+;/i;function K(e){var t=null,n=0;e&&("number"==typeof e.framesToPop?n=e.framesToPop:V.test(e.message)&&(n=1));try{if(t=function(e){if(!e||!e.stacktrace)return null;for(var t,n=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,r=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,i=e.stacktrace.split("\n"),o=[],a=0;a<i.length;a+=2){var s=null;(t=n.exec(i[a]))?s={url:t[2],func:t[3],args:[],line:+t[1],column:null}:(t=r.exec(i[a]))&&(s={url:t[6],func:t[3]||t[4],args:t[5]?t[5].split(","):[],line:+t[1],column:+t[2]}),s&&(!s.func&&s.line&&(s.func="?"),o.push(s))}return o.length?{message:z(e),name:e.name,stack:o}:null}(e))return W(t,n)}catch(r){}try{if(t=function(e){if(!e||!e.stack)return null;for(var t,n,r,i=[],o=e.stack.split("\n"),a=0;a<o.length;++a){if(n=U.exec(o[a])){var s=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(t=Q.exec(n[2]))&&(n[2]=t[1],n[3]=t[2],n[4]=t[3]),r={url:n[2]&&0===n[2].indexOf("address at ")?n[2].substr("address at ".length):n[2],func:n[1]||"?",args:s?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=j.exec(o[a]))r={url:n[2],func:n[1]||"?",args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=N.exec(o[a])))continue;n[3]&&n[3].indexOf(" > eval")>-1&&(t=H.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=t[1],n[4]=t[2],n[5]=""):0!==a||n[5]||void 0===e.columnNumber||(i[0].column=e.columnNumber+1),r={url:n[3],func:n[1]||"?",args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!r.func&&r.line&&(r.func="?"),i.push(r)}return i.length?{message:z(e),name:e.name,stack:i}:null}(e))return W(t,n)}catch(r){}return{message:z(e),name:e&&e.name,stack:[],failed:!0}}function W(e,t){try{return Object(f.a)(Object(f.a)({},e),{stack:e.stack.slice(t)})}catch(n){return e}}function z(e){var t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function q(e){var t=G(e.stack),n={type:e.name,value:e.message};return t&&t.length&&(n.stacktrace={frames:t}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function Y(e){return{exception:{values:[q(e)]}}}function G(e){if(!e||!e.length)return[];var t=e,n=t[0].func||"",r=t[t.length-1].func||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(t=t.slice(1)),-1!==r.indexOf("sentryWrapped")&&(t=t.slice(0,-1)),t.slice(0,50).map((function(e){return{colno:null===e.column?void 0:e.column,filename:e.url||t[0].url,function:e.func||"?",in_app:!0,lineno:null===e.line?void 0:e.line}})).reverse()}function X(e,t,n){var r;if(void 0===n&&(n={}),Object(O.e)(e)&&e.error)return Y(K(e=e.error));if(Object(O.a)(e)||Object(O.b)(e)){var i=e,o=i.name||(Object(O.a)(i)?"DOMError":"DOMException"),a=i.message?o+": "+i.message:o;return r=J(a,t,n),Object(A.b)(r,a),"code"in i&&(r.tags=Object(f.a)(Object(f.a)({},r.tags),{"DOMException.code":""+i.code})),r}return Object(O.d)(e)?r=Y(K(e)):Object(O.h)(e)||Object(O.f)(e)?(r=function(e,t,n){var r={exception:{values:[{type:Object(O.f)(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+Object(P.b)(e)}]},extra:{__serialized__:Object(P.e)(e)}};if(t){var i=G(K(t).stack);r.stacktrace={frames:i}}return r}(e,t,n.rejection),Object(A.a)(r,{synthetic:!0}),r):(r=J(e,t,n),Object(A.b)(r,""+e,void 0),Object(A.a)(r,{synthetic:!0}),r)}function J(e,t,n){void 0===n&&(n={});var r={message:e};if(n.attachStacktrace&&t){var i=G(K(t).stack);r.stacktrace={frames:i}}return r}function Z(e,t){return{body:JSON.stringify({sent_at:(new Date).toISOString()})+"\n"+JSON.stringify({type:"session"})+"\n"+JSON.stringify(e),type:"session",url:t.getEnvelopeEndpointWithUrlEncodedAuth()}}function $(e,t){var n=e.tags||{},r=n.__sentry_samplingMethod,i=n.__sentry_sampleRate,o=Object(f.g)(n,["__sentry_samplingMethod","__sentry_sampleRate"]);e.tags=o;var a="transaction"===e.type,s={body:JSON.stringify(e),type:e.type||"event",url:a?t.getEnvelopeEndpointWithUrlEncodedAuth():t.getStoreEndpointWithUrlEncodedAuth()};if(a){var l=JSON.stringify({event_id:e.event_id,sent_at:(new Date).toISOString()}),u=JSON.stringify({type:e.type,sample_rates:[{id:r,rate:i}]});s.body=l+"\n"+u+"\n"+s.body}return s}
1var ee=function(){function e(e){this.dsn=e,this._dsnObject=new S(e)}return e.prototype.getDsn=function(){return this._dsnObject},e.prototype.getBaseApiEndpoint=function(){var e=this._dsnObject;return(e.protocol?e.protocol+":":"")+"//"+e.host+(e.port?":"+e.port:"")+(e.path?"/"+e.path:"")+"/api/"},e.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},e.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},e.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},e.prototype.getStoreEndpointPath=function(){var e=this._dsnObject;return(e.path?"/"+e.path:"")+"/api/"+e.projectId+"/store/"},e.prototype.getRequestHeaders=function(e,t){var n=this._dsnObject,r=["Sentry sentry_version=7"];return r.push("sentry_client="+e+"/"+t),r.push("sentry_key="+n.user),n.pass&&r.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}},e.prototype.getReportDialogEndpoint=function(e){void 0===e&&(e={});var t=this._dsnObject,n=this.getBaseApiEndpoint()+"embed/error-page/",r=[];for(var i in r.push("dsn="+t.toString()),e)if("dsn"!==i)if("user"===i){if(!e.user)continue;e.user.name&&r.push("name="+encodeURIComponent(e.user.name)),e.user.email&&r.push("email="+encodeURIComponent(e.user.email))}else r.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return r.length?n+"?"+r.join("&"):n},e.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},e.prototype._getIngestEndpoint=function(e){return""+this.getBaseApiEndpoint()+this._dsnObject.projectId+"/"+e+"/"},e.prototype._encodedAuth=function(){var e={sentry_key:this._dsnObject.user,sentry_version:"7"};return Object(P.f)(e)},e}(),te=function(){function e(e){this._limit=e,this._buffer=[]}return e.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},e.prototype.add=function(e){var t=this;return this.isReady()?(-1===this._buffer.indexOf(e)&&this._buffer.push(e),e.then((function(){return t.remove(e)})).then(null,(function(){return t.remove(e).then(null,(function(){}))})),e):b.a.reject(new k("Not adding Promise due to buffer limit reached."))},e.prototype.remove=function(e){return this._buffer.splice(this._buffer.indexOf(e),1)[0]},e.prototype.length=function(){return this._buffer.length},e.prototype.drain=function(e){var t=this;return new b.a((function(n){var r=setTimeout((function(){e&&e>0&&n(!1)}),e);b.a.all(t._buffer).then((function(){clearTimeout(r),n(!0)})).then(null,(function(){n(!0)}))}))},e}(),ne=function(){function e(e){this.options=e,this._buffer=new te(30),this._rateLimits={},this._api=new ee(this.options.dsn),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return e.prototype.sendEvent=function(e){throw new k("Transport Class has to implement `sendEvent` method")},e.prototype.close=function(e){return this._buffer.drain(e)},e.prototype._handleResponse=function(e){var t=e.requestType,n=e.response,r=e.headers,i=e.resolve,o=e.reject,a=u.fromHttpCode(n.status);this._handleRateLimit(r)&&_.a.warn("Too many requests, backing off until: "+this._disabledUntil(t)),a!==u.Success?o(n):i({status:a})},e.prototype._disabledUntil=function(e){return this._rateLimits[e]||this._rateLimits.all},e.prototype._isRateLimited=function(e){return this._disabledUntil(e)>new Date(Date.now())},e.prototype._handleRateLimit=function(e){var t,n,r,i,o=Date.now(),a=e["x-sentry-rate-limits"],s=e["retry-after"];if(a){try{for(var l=Object(f.i)(a.trim().split(",")),u=l.next();!u.done;u=l.next()){var c=u.value.split(":",2),h=parseInt(c[0],10),d=1e3*(isNaN(h)?60:h);try{for(var p=(r=void 0,Object(f.i)(c[1].split(";"))),g=p.next();!g.done;g=p.next())this._rateLimits[g.value||"all"]=new Date(o+d)}catch(_){r={error:_}}finally{try{g&&!g.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}}}catch(v){t={error:v}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return!0}return!!s&&(this._rateLimits.all=new Date(o+Object(A.g)(o,s)),!0)},e}(),re=Object(A.e)(),ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(f.d)(t,e),t.prototype.sendEvent=function(e){return this._sendRequest($(e,this._api),e)},t.prototype.sendSession=function(e){return this._sendRequest(Z(e,this._api),e)},t.prototype._sendRequest=function(e,t){var n=this;if(this._isRateLimited(e.type))return Promise.reject({event:t,type:e.type,reason:"Transport locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429});var r={body:e.body,method:"POST",referrerPolicy:L()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add(new b.a((function(t,i){re.fetch(e.url,r).then((function(r){var o={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:e.type,response:r,headers:o,resolve:t,reject:i})}
1)).catch(i)})))},t}(ne),oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(f.d)(t,e),t.prototype.sendEvent=function(e){return this._sendRequest($(e,this._api),e)},t.prototype.sendSession=function(e){return this._sendRequest(Z(e,this._api),e)},t.prototype._sendRequest=function(e,t){var n=this;return this._isRateLimited(e.type)?Promise.reject({event:t,type:e.type,reason:"Transport locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429}):this._buffer.add(new b.a((function(t,r){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var o={"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")};n._handleResponse({requestType:e.type,response:i,headers:o,resolve:t,reject:r})}},i.open("POST",e.url),n.options.headers)n.options.headers.hasOwnProperty(o)&&i.setRequestHeader(o,n.options.headers[o]);i.send(e.body)})))},t}(ne),ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(f.d)(t,e),t.prototype.eventFromException=function(e,t){return function(e,t,n){var r=X(t,n&&n.syntheticException||void 0,{attachStacktrace:e.attachStacktrace});return Object(A.a)(r,{handled:!0,type:"generic"}),r.level=D.Error,n&&n.event_id&&(r.event_id=n.event_id),b.a.resolve(r)}(this._options,e,t)},t.prototype.eventFromMessage=function(e,t,n){return void 0===t&&(t=D.Info),function(e,t,n,r){void 0===n&&(n=D.Info);var i=J(t,r&&r.syntheticException||void 0,{attachStacktrace:e.attachStacktrace});return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),b.a.resolve(i)}(this._options,e,t,n)},t.prototype._setupTransport=function(){if(!this._options.dsn)return e.prototype._setupTransport.call(this);var t=Object(f.a)(Object(f.a)({},this._options.transportOptions),{dsn:this._options.dsn});return this._options.transport?new this._options.transport(t):R()?new ie(t):new oe(t)},t}(I),se=n("gtzJ"),le=0;function ue(){return le>0}function ce(){le+=1,setTimeout((function(){le-=1}))}function he(e,t,n){if(void 0===t&&(t={}),"function"!=typeof e)return e;try{if(e.__sentry__)return e;if(e.__sentry_wrapped__)return e.__sentry_wrapped__}catch(o){return e}var r=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var i=r.map((function(e){return he(e,t)}));return e.handleEvent?e.handleEvent.apply(this,i):e.apply(this,i)}catch(o){throw ce(),Object(se.b)((function(e){e.addEventProcessor((function(e){var n=Object(f.a)({},e);return t.mechanism&&(Object(A.b)(n,void 0,void 0),Object(A.a)(n,t.mechanism)),n.extra=Object(f.a)(Object(f.a)({},n.extra),{arguments:r}),n})),Object(se.a)(o)})),o}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch(a){}e.prototype=e.prototype||{},r.prototype=e.prototype,Object.defineProperty(e,"__sentry_wrapped__",{enumerable:!1,value:r}),Object.defineProperties(r,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:e}});try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:function(){return e.name}})}catch(a){}return r}var de,fe=n("pRiV"),pe=Object(A.e)(),ge={},_e={};function Ae(e){e&&"string"==typeof e.type&&"function"==typeof e.callback&&(ge[e.type]=ge[e.type]||[],ge[e.type].push(e.callback),function(e){if(!_e[e])switch(_e[e]=!0,e){case"console":"console"in pe&&["debug","info","warn","error","log","assert"].forEach((function(e){e in pe.console&&Object(P.c)(pe.console,e,(function(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];ve("console",{args:n,level:e}),t&&Function.prototype.apply.call(t,pe.console,n)}}))}));break;case"dom":"document"in pe&&(pe.document.addEventListener("click",ke("click",ve.bind(null,"dom")),!1),pe.document.addEventListener("keypress",Ee(ve.bind(null,"dom")),!1),["EventTarget","Node"].forEach((function(e){var t=pe[e]&&pe[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(Object(P.c)(t,"addEventListener",(function(e){return function(t,n,r){return n&&n.handleEvent?("click"===t&&Object(P.c)(n,"handleEvent",(function(e){return function(t){return ke("click",ve.bind(null,"dom"))(t),e.call(this,t)}})),"keypress"===t&&Object(P.c)(n,"handleEvent",(function(e){return function(t){return Ee(ve.bind(null,"dom"))(t),e.call(this,t)}}
1))):("click"===t&&ke("click",ve.bind(null,"dom"),!0)(this),"keypress"===t&&Ee(ve.bind(null,"dom"))(this)),e.call(this,t,n,r)}})),Object(P.c)(t,"removeEventListener",(function(e){return function(t,n,r){try{e.call(this,t,n.__sentry_wrapped__,r)}catch(i){}return e.call(this,t,n,r)}})))})));break;case"xhr":!function(){if("XMLHttpRequest"in pe){var e=[],t=[],n=XMLHttpRequest.prototype;Object(P.c)(n,"open",(function(n){return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=this,a=r[1];o.__sentry_xhr__={method:Object(O.k)(r[0])?r[0].toUpperCase():r[0],url:r[1]},Object(O.k)(a)&&"POST"===o.__sentry_xhr__.method&&a.match(/sentry_key/)&&(o.__sentry_own_request__=!0);var s=function(){if(4===o.readyState){try{o.__sentry_xhr__&&(o.__sentry_xhr__.status_code=o.status)}catch(a){}try{var n=e.indexOf(o);if(-1!==n){e.splice(n);var i=t.splice(n)[0];o.__sentry_xhr__&&void 0!==i[0]&&(o.__sentry_xhr__.body=i[0])}}catch(a){}ve("xhr",{args:r,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:o})}};return"onreadystatechange"in o&&"function"==typeof o.onreadystatechange?Object(P.c)(o,"onreadystatechange",(function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return s(),e.apply(o,t)}})):o.addEventListener("readystatechange",s),n.apply(o,r)}})),Object(P.c)(n,"send",(function(n){return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return e.push(this),t.push(r),ve("xhr",{args:r,startTimestamp:Date.now(),xhr:this}),n.apply(this,r)}}))}}();break;case"fetch":(function(){if(!R())return!1;var e=Object(A.e)();if(F(e.fetch))return!0;var t=!1,n=e.document;if(n&&"function"==typeof n.createElement)try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=F(r.contentWindow.fetch)),n.head.removeChild(r)}catch(i){_.a.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return t})()&&Object(P.c)(pe,"fetch",(function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r={args:t,fetchData:{method:me(t),url:ye(t)},startTimestamp:Date.now()};return ve("fetch",Object(f.a)({},r)),e.apply(pe,t).then((function(e){return ve("fetch",Object(f.a)(Object(f.a)({},r),{endTimestamp:Date.now(),response:e})),e}),(function(e){throw ve("fetch",Object(f.a)(Object(f.a)({},r),{endTimestamp:Date.now(),error:e})),e}))}}));break;case"history":!function(){if(function(){var e=Object(A.e)(),t=e.chrome;return!(t&&t.app&&t.app.runtime||!("history"in e)||!e.history.pushState||!e.history.replaceState)}()){var e=pe.onpopstate;pe.onpopstate=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=pe.location.href,i=de;if(de=r,ve("history",{from:i,to:r}),e)return e.apply(this,t)},Object(P.c)(pe.history,"pushState",t),Object(P.c)(pe.history,"replaceState",t)}function t(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.length>2?t[2]:void 0;if(r){var i=de,o=String(r);de=o,ve("history",{from:i,to:o})}return e.apply(this,t)}}}();break;case"error":Se=pe.onerror,pe.onerror=function(e,t,n,r,i){return ve("error",{column:r,error:i,line:n,msg:e,url:t}),!!Se&&Se.apply(this,arguments)};break;case"unhandledrejection":Oe=pe.onunhandledrejection,pe.onunhandledrejection=function(e){return ve("unhandledrejection",e),!Oe||Oe.apply(this,arguments)};break;default:_.a.warn("unknown instrumentation type:",e)}}(e.type))}function ve(e,t){var n,r;if(e&&ge[e])try{for(var i=Object(f.i)(ge[e]||[]),o=i.next();!o.done;o=i.next()){var a=o.value;try{a(t)}catch(s){_.a.error("Error while triggering instrumentation handler.\nType: "+e+"\nName: "+Object(fe.a)(a)+"\nError: "+s)}}}catch(l){n={error:l}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function me(e){return void 0===e&&(e=[]),"Request"in pe&&Object(O.g)(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function ye(e){return void 0===e&&(e=[]),"string"==typeof e[0]?e[0]:"Request"in pe&&Object(O.g)(e[0],Request)?e[0].url:String(e[0])}var be,Ce,we=0;function ke(e,t,n){return void 0===n&&(n=!1),function(r){be=void 0,r&&Ce!==r&&(Ce=r,we&&clearTimeout(we),n?we=setTimeout((function(){t({event:r,name:e})})):t({event:r,name:e}))}}function Ee(e){return function(t){var n;try{n=t.target}catch(i){return}var r=n&&n.tagName;r&&("INPUT"===r||"TEXTAREA"===r||n.isContentEditable)&&(be||ke("input",e)(t),clearTimeout(be),be=setTimeout((function(){be=void 0}),1e3))}}var Se=null,Oe=null,xe=n("vFt6"),Pe=function(){function e(t){this.name=e.id,this._options=Object(f.a)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return e.prototype.addSentryBreadcrumb=function(e){this._options.sentry&&Object(g.a)().addBreadcrumb({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:Object(A.d)(e)},{event:e})},e.prototype.setupOnce=function(){var e=this;this._options.console&&Ae({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._consoleBreadcrumb.apply(e,Object(f.h)(t))},type:"console"}),this._options.dom&&Ae({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._domBreadcrumb.apply(e,Object(f.h)(t))},type:"dom"}),this._options.xhr&&Ae({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._xhrBreadcrumb.apply(e,Object(f.h)(t))},type:"xhr"}),this._options.fetch&&Ae({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._fetchBreadcrumb.apply(e,Object(f.h)(t))},type:"fetch"}),this._options.history&&Ae({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._historyBreadcrumb.apply(e,Object(f.h)(t))},type:"history"})},e.prototype._consoleBreadcrumb=function(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:D.fromString(e.level),message:Object(v.b)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message="Assertion failed: "+(Object(v.b)(e.args.slice(1)," ")||"console.assert"),t.data.arguments=e.args.slice(1)}Object(g.a)().addBreadcrumb(t,{input:e.args,level:e.level})},e.prototype._domBreadcrumb=function(e){var t;try{t=e.event.target?Object(xe.a)(e.event.target):Object(xe.a)(e.event)}catch(n){t="<unknown>"}0!==t.length&&Object(g.a)().addBreadcrumb({category:"ui."+e.name,message:t},{event:e.event,name:e.name})},e.prototype._xhrBreadcrumb=function(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;var t=e.xhr.__sentry_xhr__||{},n=t.method,r=t.url,i=t.status_code,o=t.body;Object(g.a)().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:i},type:"http"},{xhr:e.xhr,input:o})}},e.prototype._fetchBreadcrumb=function(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key
1/)&&"POST"===e.fetchData.method||(e.error?Object(g.a)().addBreadcrumb({category:"fetch",data:e.fetchData,level:D.Error,type:"http"},{data:e.error,input:e.args}):Object(g.a)().addBreadcrumb({category:"fetch",data:Object(f.a)(Object(f.a)({},e.fetchData),{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})))},e.prototype._historyBreadcrumb=function(e){var t=Object(A.e)(),n=e.from,r=e.to,i=Object(A.h)(t.location.href),o=Object(A.h)(n),a=Object(A.h)(r);o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),Object(g.a)().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},e.id="Breadcrumbs",e}(),Te=function(e){function t(t){return void 0===t&&(t={}),e.call(this,ae,t)||this}return Object(f.d)(t,e),t.prototype.showReportDialog=function(e){void 0===e&&(e={}),Object(A.e)().document&&(this._isEnabled()?function(e){if(void 0===e&&(e={}),e.eventId)if(e.dsn){var t=document.createElement("script");t.async=!0,t.src=new ee(e.dsn).getReportDialogEndpoint(e),e.onLoad&&(t.onload=e.onLoad),(document.head||document.body).appendChild(t)}else _.a.error("Missing dsn option in showReportDialog call");else _.a.error("Missing eventId option in showReportDialog call")}(Object(f.a)(Object(f.a)({},e),{dsn:e.dsn||this.getDsn()})):_.a.error("Trying to call showReportDialog with Sentry Client disabled"))},t.prototype._prepareEvent=function(t,n,r){return t.platform=t.platform||"javascript",t.sdk=Object(f.a)(Object(f.a)({},t.sdk),{name:"sentry.javascript.browser",packages:Object(f.h)(t.sdk&&t.sdk.packages||[],[{name:"npm:@sentry/browser",version:"5.30.0"}]),version:"5.30.0"}),e.prototype._prepareEvent.call(this,t,n,r)},t.prototype._sendEvent=function(t){var n=this.getIntegration(Pe);n&&n.addSentryBreadcrumb(t),e.prototype._sendEvent.call(this,t)},t}(B),Be=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],De=function(){function e(t){this.name=e.id,this._options=Object(f.a)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}return e.prototype.setupOnce=function(){var e=Object(A.e)();this._options.setTimeout&&Object(P.c)(e,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&Object(P.c)(e,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&Object(P.c)(e,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in e&&Object(P.c)(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:Be).forEach(this._wrapEventTarget.bind(this))},e.prototype._wrapTimeFunction=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[0];return t[0]=he(r,{mechanism:{data:{function:Object(fe.a)(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}},e.prototype._wrapRAF=function(e){return function(t){return e.call(this,he(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Object(fe.a)(e)},handled:!0,type:"instrument"}}))}},e.prototype._wrapEventTarget=function(e){var t=Object(A.e)(),n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(P.c)(n,"addEventListener",(function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=he(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:Object(fe.a)(r),target:e},handled:!0,type:"instrument"}}))}catch(o){}return t.call(this,n,he(r,{mechanism:{data:{function:"addEventListener",handler:Object(fe.a)(r),target:e},handled:!0,type:"instrument"}}),i)}})),Object(P.c)(n,"removeEventListener",(function(e){return function(t,n,r){var i,o=n;try{var a=null===(i=o)||void 0===i?void 0:i.__sentry_wrapped__;a&&e.call(this,t,a,r)}catch(s){}return e.call(this,t,o,r)}})))},e.prototype._wrapXHR=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this,i=["onload","onerror","onprogress","onreadystatechange"];
1return i.forEach((function(e){e in r&&"function"==typeof r[e]&&Object(P.c)(r,e,(function(t){var n={mechanism:{data:{function:e,handler:Object(fe.a)(t)},handled:!0,type:"instrument"}};return t.__sentry_original__&&(n.mechanism.data.handler=Object(fe.a)(t.__sentry_original__)),he(t,n)}))})),e.apply(this,t)}},e.id="TryCatch",e}(),Me=function(){function e(t){this.name=e.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=Object(f.a)({onerror:!0,onunhandledrejection:!0},t)}return e.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(_.a.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(_.a.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},e.prototype._installGlobalOnErrorHandler=function(){var t=this;this._onErrorHandlerInstalled||(Ae({callback:function(n){var r=n.error,i=Object(g.a)(),o=i.getIntegration(e),a=r&&!0===r.__sentry_own_request__;if(o&&!ue()&&!a){var s=i.getClient(),l=Object(O.i)(r)?t._eventFromIncompleteOnError(n.msg,n.url,n.line,n.column):t._enhanceEventWithInitialFrame(X(r,void 0,{attachStacktrace:s&&s.getOptions().attachStacktrace,rejection:!1}),n.url,n.line,n.column);Object(A.a)(l,{handled:!1,type:"onerror"}),i.captureEvent(l,{originalException:r})}},type:"error"}),this._onErrorHandlerInstalled=!0)},e.prototype._installGlobalOnUnhandledRejectionHandler=function(){var t=this;this._onUnhandledRejectionHandlerInstalled||(Ae({callback:function(n){var r=n;try{"reason"in n?r=n.reason:"detail"in n&&"reason"in n.detail&&(r=n.detail.reason)}catch(u){}var i=Object(g.a)(),o=i.getIntegration(e),a=r&&!0===r.__sentry_own_request__;if(!o||ue()||a)return!0;var s=i.getClient(),l=Object(O.i)(r)?t._eventFromRejectionWithPrimitive(r):X(r,void 0,{attachStacktrace:s&&s.getOptions().attachStacktrace,rejection:!0});l.level=D.Error,Object(A.a)(l,{handled:!1,type:"onunhandledrejection"}),i.captureEvent(l,{originalException:r})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},e.prototype._eventFromIncompleteOnError=function(e,t,n,r){var i,o=Object(O.e)(e)?e.message:e;if(Object(O.k)(o)){var a=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);a&&(i=a[1],o=a[2])}return this._enhanceEventWithInitialFrame({exception:{values:[{type:i||"Error",value:o}]}},t,n,r)},e.prototype._eventFromRejectionWithPrimitive=function(e){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(e)}]}}},e.prototype._enhanceEventWithInitialFrame=function(e,t,n,r){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].stacktrace=e.exception.values[0].stacktrace||{},e.exception.values[0].stacktrace.frames=e.exception.values[0].stacktrace.frames||[];var i=isNaN(parseInt(r,10))?void 0:r,o=isNaN(parseInt(n,10))?void 0:n,a=Object(O.k)(t)&&t.length>0?t:Object(A.f)();return 0===e.exception.values[0].stacktrace.frames.length&&e.exception.values[0].stacktrace.frames.push({colno:i,filename:a,function:"?",in_app:!0,lineno:o}),e},e.id="GlobalHandlers",e}(),Ie=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._key=t.key||"cause",this._limit=t.limit||5}return e.prototype.setupOnce=function(){Object(p.b)((function(t,n){var r=Object(g.a)().getIntegration(e);return r?r._handler(t,n):t}))},e.prototype._handler=function(e,t){if(!(e.exception&&e.exception.values&&t&&Object(O.g)(t.originalException,Error)))return e;var n=this._walkErrorTree(t.originalException,this._key);return e.exception.values=Object(f.h)(n,e.exception.values),e},e.prototype._walkErrorTree=function(e,t,n){if(void 0===n&&(n=[]),!Object(O.g)(e[t],Error)||n.length+1>=this._limit)return n;var r=q(K(e[t]));return this._walkErrorTree(e[t],t,Object(f.h)([r],n))},e.id="LinkedErrors",e}(),Re=Object(A.e)(),Fe=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){Object(p.b)((function(t){var n,r,i;if(Object(g.a)().getIntegration(e)){if(!Re.navigator&&!Re.location&&!Re.document)return t;var o=(null===(n=t.request)||void 0===n?void 0:n.url)||(null===(r=Re.location)||void 0===r?void 0:r.href),a=(Re.document||{}).referrer,s=(Re.navigator||{}).userAgent,l=Object(f.a)(Object(f.a)(Object(f.a)({},null===(i=t.request)||void 0===i?void 0:i.headers),a&&{Referer:a}),s&&{"User-Agent":s}),u=Object(f.a)(Object(f.a)({},o&&{url:o}),{headers:l});return Object(f.a)(Object(f.a)({},t),{request:u})}return t}))},e.id="UserAgent",e}(),Le=[new r.InboundFilters,new r.FunctionToString,new De,new Pe,new Me,new Ie,new Fe],Ue=n("pLZG"),Ne=n("lJxs"),je=n("5+tZ"),He=function(){return _createClass2((function e(t,n,r,i){_classCallCheck2(this,e),this.router=t,this.activatedRoute=n,this.titleService=r,this.ngxSpinnerService=i,function(e){if(void 0===e&&(e={}),void 0===e.defaultIntegrations&&(e.defaultIntegrations=Le),void 0===e.release){var t=Object(A.e)();
1t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}void 0===e.autoSessionTracking&&(e.autoSessionTracking=!1),function(e,t){!0===t.debug&&_.a.enable();var n=Object(g.a)(),r=new e(t);n.bindClient(r)}(Te,e),e.autoSessionTracking&&function(){var e=Object(A.e)(),t=Object(g.a)(),n="complete"===document.readyState,r=!1,i=function(){r&&n&&t.endSession()},o=function(){n=!0,i(),e.removeEventListener("load",o)};t.startSession(),n||e.addEventListener("load",o);try{var a=new PerformanceObserver((function(e,t){e.getEntries().forEach((function(e){"first-contentful-paint"===e.name&&e.startTime<s&&(t.disconnect(),r=!0,i())}))})),s="hidden"===document.visibilityState?0:1/0;document.addEventListener("visibilitychange",(function(e){s=Math.min(s,e.timeStamp)}),{once:!0}),a.observe({type:"paint",buffered:!0})}catch(l){r=!0,i()}}()}({dsn:o.a.sentryConfig.dsn})}),[{key:"ngOnInit",value:function(){var e=this;this.router.events.pipe(Object(Ue.a)((function(e){return e instanceof h.f})),Object(Ne.a)((function(){for(var t=e.activatedRoute;t.firstChild;)t=t.firstChild;return t})),Object(Ue.a)((function(e){return"primary"===e.outlet})),Object(je.a)((function(e){return e.data}))).subscribe((function(t){e.titleService.setTitle(t.title)})),this.router.events.pipe().subscribe((function(t){switch(!0){case t instanceof h.p:console.log("Nav start"),e.ngxSpinnerService.show();break;case t instanceof h.f:case t instanceof h.e:case t instanceof h.g:case t instanceof h.o:console.log("Nav end"),e.ngxSpinnerService.hide()}}))}},{key:"ngAfterViewInit",value:function(){}},{key:"ngOnDestroy",value:function(){}}])}(),Qe=n("pMnS"),Ve=n("z5nN"),Ke=n("ES0t"),We=n("XePT"),ze=n("Pa/3"),qe=n("7wID"),Ye=n("jvCn"),Ge=n("7g+E"),Xe=n("fBBY"),Je=n("ZkL/"),Ze=n("HdJu"),$e=n("SVse"),et=n("aZ8m"),tt=n("Vurf"),nt=i["\u0275crt"]({encapsulation:0,styles:[['.header[_ngcontent-%COMP%]{height:81px;border-bottom:1px solid var(--gray-light-300);background:var(--white);z-index:999;flex-shrink:0}.header[_ngcontent-%COMP%] [class*=container-][_ngcontent-%COMP%]{height:100%;display:flex;align-items:center}.header-bar[_ngcontent-%COMP%]{flex-grow:1;display:flex;align-items:center;justify-content:flex-end;font-size:16px;line-height:22px;letter-spacing:.18px;font-family:var(--font-medium)}@media (min-width:768px){.header-bar[_ngcontent-%COMP%]{justify-content:space-between;font-size:18px;line-height:30px}}.logo[_ngcontent-%COMP%]{width:142px;flex-shrink:0;display:block}@media (min-width:768px){.logo[_ngcontent-%COMP%]{margin:0 60px 0 0;width:178px}}@media (min-width:1200px){.logo[_ngcontent-%COMP%]{margin:0 135px 0 5px}}.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:100%}.desktop-menu[_ngcontent-%COMP%]{display:none}.mobile-menu[_ngcontent-%COMP%]{display:flex}.create-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--blue-darked)}.save-link[_ngcontent-%COMP%]:before{border-left:1px solid var(--gray-light-400);margin:0 10px;display:inline-block;vertical-align:middle;height:22px;content:""}.save-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--blue-100)}@media (min-width:768px){.save-link[_ngcontent-%COMP%]:before{display:none}.save-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--gray-dark)}}.save-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}@media (min-width:992px){.header[_ngcontent-%COMP%]{height:97px}.header[_ngcontent-%COMP%] [class*=container-][_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}.desktop-menu[_ngcontent-%COMP%]{display:flex}.mobile-menu[_ngcontent-%COMP%]{display:none}.save-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline}}']],data:{}});function rt(e){return i["\u0275vid"](0,[(e()(),i["\u0275eld"](0,0,null,null,4,"div",[["create-link",""]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.navigateToDashboard()&&r),r}),null,null)),(e()(),i["\u0275eld"](1,0,null,null,3,"a",[],null,null,null,null,null)),(e()(),i["\u0275ted"](-1,null,["Dashboard "])),(e()(),i["\u0275eld"](3,0,null,null,1,"span",[["class","badge badge-primary"]],null,null,null,null,null)),(e()(),i["\u0275ted"](4,null,["",""]))],null,(function(e,t){var n=t.component;e(t,4,0,n.ordersCount>0?n.ordersCount:"")}))}function it(e){return i["\u0275vid"](0,[(e()(),i["\u0275eld"](0,0,null,null,4,"div",[["class","create-link"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.navigateToDashboard()&&r),r}),null,null)),(e()(),i["\u0275eld"](1,0,null,null,3,"a",[],null,
1null,null,null,null)),(e()(),i["\u0275ted"](-1,null,["Dashboard "])),(e()(),i["\u0275eld"](3,0,null,null,1,"span",[["class","badge badge-primary"]],null,null,null,null,null)),(e()(),i["\u0275ted"](4,null,["",""]))],null,(function(e,t){var n=t.component;e(t,4,0,n.ordersCount>0?n.ordersCount:"")}))}function ot(e){return i["\u0275vid"](0,[i["\u0275qud"](671088640,1,{ordersModal:0}),(e()(),i["\u0275eld"](1,0,null,null,1,"pc-orders-modal",[],null,null,null,Xe.b,Xe.a)),i["\u0275did"](2,4440064,[[1,4],["ordersModal",4]],0,Je.a,[Ze.a,h.r],null,null),(e()(),i["\u0275eld"](3,0,null,null,21,"header",[["class","header"]],null,null,null,null,null)),(e()(),i["\u0275eld"](4,0,null,null,20,"div",[["class","container-fluid"]],null,null,null,null,null)),(e()(),i["\u0275eld"](5,0,null,null,3,"div",[["class","logo"]],null,null,null,null,null)),(e()(),i["\u0275eld"](6,0,null,null,2,"a",[["routerLink","/"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==i["\u0275nov"](e,7).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r}),null,null)),i["\u0275did"](7,671744,null,0,h.u,[h.r,h.a,$e.k],{routerLink:[0,"routerLink"]},null),(e()(),i["\u0275eld"](8,0,null,null,0,"img",[["alt","1-Check"],["src","assets/images/logo_main.svg"]],null,null,null,null,null)),(e()(),i["\u0275eld"](9,0,null,null,15,"div",[["class","header-bar"]],null,null,null,null,null)),(e()(),i["\u0275eld"](10,0,null,null,0,"div",[],null,null,null,null,null)),(e()(),i["\u0275eld"](11,0,null,null,5,"div",[["class","mobile-menu"]],null,null,null,null,null)),(e()(),i["\u0275and"](16777216,null,null,1,null,rt)),i["\u0275did"](13,16384,null,0,$e.n,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),i["\u0275eld"](14,0,null,null,2,"div",[["class","save-link"]],null,null,null,null,null)),(e()(),i["\u0275eld"](15,0,null,null,1,"a",[],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onSaveAndExitClick()&&r),r}),null,null)),(e()(),i["\u0275ted"](-1,null,["Exit"])),(e()(),i["\u0275eld"](17,0,null,null,7,"div",[["class","desktop-menu"]],null,null,null,null,null)),(e()(),i["\u0275and"](16777216,null,null,1,null,it)),i["\u0275did"](19,16384,null,0,$e.n,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),i["\u0275eld"](20,0,null,null,4,"div",[["class","save-link"]],null,null,null,null,null)),(e()(),i["\u0275eld"](21,0,null,null,3,"a",[],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onSaveAndExitClick()&&r),r}),null,null)),(e()(),i["\u0275eld"](22,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),i["\u0275ted"](-1,null,["Save and "])),(e()(),i["\u0275ted"](-1,null,["Exit"]))],(function(e,t){var n=t.component;e(t,2,0),e(t,7,0,"/"),e(t,13,0,n.isAuthenticated),e(t,19,0,n.isAuthenticated)}),(function(e,t){e(t,6,0,i["\u0275nov"](t,7).target,i["\u0275nov"](t,7).href)}))}var at=n("cUpR"),st=i["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function lt(e){return i["\u0275vid"](0,[(e()(),i["\u0275eld"](0,0,null,null,1,"ngx-spinner",[["bdColor","rgba(51,51,51,0.8)"],["color","#fff"],["size","medium"],["type","ball-square-spin"]],null,null,null,Ye.b,Ye.a)),i["\u0275did"](1,770048,null,0,Ge.a,[Ge.c,i.ChangeDetectorRef],{bdColor:[0,"bdColor"],size:[1,"size"],color:[2,"color"],type:[3,"type"]},null),(e()(),i["\u0275eld"](2,0,null,null,6,"div",[["class","wrapper"]],null,null,null,null,null)),(e()(),i["\u0275eld"](3,0,null,null,1,"pc-header",[],null,null,null,ot,nt)),i["\u0275did"](4,245760,null,0,et.a,[Ze.a,h.r,tt.a],null,null),(e()(),i["\u0275eld"](5,0,null,null,3,"section",[["class","info-block"]],null,null,null,null,null)),(e()(),i["\u0275eld"](6,0,null,null,2,"div",[["class","container-fluid"]],null,null,null,null,null)),(e()(),i["\u0275eld"](7,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),i["\u0275did"](8,212992,null,0,h.w,[h.c,i.ViewContainerRef,i.ComponentFactoryResolver,[8,null],i.ChangeDetectorRef],null,
1null)],(function(e,t){e(t,1,0,"rgba(51,51,51,0.8)","medium","#fff","ball-square-spin"),e(t,4,0),e(t,8,0)}),null)}var ut,ct=i["\u0275ccf"]("pc-root",He,(function(e){return i["\u0275vid"](0,[(e()(),i["\u0275eld"](0,0,null,null,1,"pc-root",[],null,null,null,lt,st)),i["\u0275did"](1,4440064,null,0,He,[h.r,h.a,at.h,Ge.c],null,null)],(function(e,t){e(t,1,0)}),null)}),{},{},[]),ht=n("GS7A"),dt=n("omvX"),ft=n("IheW"),pt=n("eIep"),gt=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.router=t,this.authService=n}),[{key:"intercept",value:function(e,t){return this.authService.user$.pipe(Object(pt.a)((function(n){return n&&n.access_token&&(e=e.clone({setHeaders:{Authorization:"Bearer "+n.access_token}})),t.handle(e)})))}}])}(),_t=n("z6cu"),At=n("JIr8"),vt=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.router=t,this.toastr=n}),[{key:"intercept",value:function(e,t){var n=this;return t.handle(e).pipe(Object(At.a)((function(e){return n.handleError(e),Object(_t.a)(e)})))}},{key:"handleError",value:function(e){401===e.status?console.log("Unauthenticated"):403===e.status?this.router.navigate(["/forbidden"]):this.toastr.error("An unhandled error occurred: "+e.message,"Error")}}])}(),mt=n("EApP"),yt=n("NUQi"),bt=n("4HIu"),Ct=n("s7LF"),wt=n("bOtU"),kt=n("KOzp"),Et=n("DQLy"),St=n("Yml6"),Ot=n("9pFA"),xt=n("wZ5I"),Pt=function(e){return e.SET_STATIC_DATA="SET_STATIC_DATA",e}({}),Tt=function(){return _createClass2((function e(){_classCallCheck2(this,e)}),[{key:"setStaticData",value:function(e){return{type:Pt.SET_STATIC_DATA,payload:e}}}])}(),Bt=n("Ga8v"),Dt=n("Q2+6"),Mt=n("FtX/"),It=n("yK//"),Rt=_createClass2((function e(t){_classCallCheck2(this,e),Object(It.c)(t,"CoreModule")})),Ft=n("LRne"),Lt=n("SxV6"),Ut=n("vkgz"),Nt=n("WiJD"),jt=((ut=function(){return _createClass2((function e(t,n,r){_classCallCheck2(this,e),this.store=t,this.staticDataActionCreator=n,this.configurationService=r}),[{key:"resolve",value:function(e,t){var n=this;return this.store.pipe(Object(Lt.a)(),Object(je.a)((function(e){return e.staticData?Object(Ft.a)(e.staticData):Object(Ft.a)(e.staticData).pipe(Object(je.a)((function(){return n.configurationService.getStaticData().pipe(Object(Lt.a)(),Object(Ut.a)((function(e){n.store.dispatch(n.staticDataActionCreator.setStaticData(e))})))})))})))}}])}()).ngInjectableDef=i["\u0275\u0275defineInjectable"]({factory:function(){return new ut(i["\u0275\u0275inject"](Et.o),i["\u0275\u0275inject"](Tt),i["\u0275\u0275inject"](Nt.a))},token:ut,providedIn:"root"}),ut),Ht=function(){return n.e(5).then(n.bind(null,"L6id")).then((function(e){return e.HomeModuleNgFactory}))},Qt=function(){return n.e(6).then(n.bind(null,"Gc5z")).then((function(e){return e.AccountModuleNgFactory}))},Vt=function(){return n.e(7).then(n.bind(null,"TTih")).then((function(e){return e.HelpModuleNgFactory}))},Kt=_createClass2((function e(){_classCallCheck2(this,e)})),Wt=n("y4HL"),zt=n("j+ll"),qt=n("sGj0"),Yt=n("LqlI"),Gt=n("aHM3"),Xt=n("r1zJ"),Jt=n("aLe/"),Zt=n("3fkT"),$t=n("1v46"),en=n("fdUv"),tn=n("ZEiq"),nn=n("fDlF"),rn=n("2uy1"),on=n("z/SZ"),an=n("PCNd"),sn=n("XZzK"),ln={id:null,numericId:null,formattedNumericId:null,orderStatus:null,createdUtc:null,lastUpdatedUtc:null,authorizationCodeIssuedUtc:null,activationStatus:null,completedSteps:[1],isEmailActivationCodeDelivered:null,isSmsActivationCodeDelivered:null,firstName:null,middleName:null,lastName:null,email:null,contactNumber:null,birthDate:null,isBirthDateYearOnly:null,gender:null,contactVulnerablePeople:null,checkPurpose:null,checkPurposePlaceOfWork:null,checkPurposeLocationOfWork:null,checkPurposeState:null,priority:null,priorityReason:null,birthSuburb:null,birthState:null,birthCountry:null,isBornInAustralia:null,isIdentityConfirmed:null,isConsented:null,price:null,payment:null,coupon:null,names:[],addresses:[],documents:[],additionalData:null,certificateNumber:null,printName:null,consentDate:null};function un(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ln,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case sn.a.SET_ORDER_ID:return Object.assign({},e,{id:t.payload});case sn.a.SET_ORDER:return t.payload;case sn.a.SET_PRICE:return Object.assign({},e,{price:t.payload});case sn.a.SET_CONTACT_DETAILS:case sn.a.SET_PURPOSE:return Object.assign({},e,t.payload);case sn.a.SET_NAMES:return Object.assign({},e,{names:_toConsumableArray2(t.payload)});case sn.a.SET_ADDRESSES:return Object.assign({},e,{addresses:_toConsumableArray2(t.payload)});case sn.a.SET_FURTHER_DETAILS:return Object.assign({},e,t.payload);case sn.a.ADD_PAYMENT:return Object.assign({},e,{payment:t.payload});case sn.a.SET_CONSENT:case sn.a.SET_PRIORITY:return Object.assign({},e,t.payload);case sn.a.SET_DOCUMENTS:return Object.assign({},e,{documents:_toConsumableArray2(t.payload)});case sn.a.SET_BORN_LOCATION:return Object.assign({},e,{isBornInAustralia:t.payload});case sn.a.EDIT_DOCUMENT:return Object.assign({},e,{documents:e.documents.map((function(e,n){return e.id!==t.payload.id?e:t.payload}))});case sn.a.DELETE_DOCUMENT:return Object.assign({},e,{documents:_toConsumableArray2(e.documents.filter((function(e){return e.id!==t.payload.id})))});case sn.a.EMAIL_DELIVERED:return Object.assign({},e,{isEmailActivationCodeDelivered:t.payload});case sn.a.SMS_DELIVERED:return Object.assign({},e,{isSmsActivationCodeDelivered:t.payload});case sn.a.SET_COUPON:return Object.assign({},e,{coupon:t.payload});default:return e}}function cn(e,t){switch(t.type){case Pt.SET_STATIC_DATA:return t.payload;default:return e}}var hn=n("syJT");function dn(e,t){switch(t.type){case hn.a.SET_USER:return t.payload;default:return e}}var fn=_createClass2((function e(){_classCallCheck2(this,e)})),pn=n("jcJX"),gn=i["\u0275cmf"](c,[He],(function(e){return i["\u0275mod"]([i["\u0275mpd"](512,i.ComponentFactoryResolver,i["\u0275CodegenComponentFactoryResolver"],[[8,[Qe.a,Ve.a,Ve.b,Ke.a,We.a,ze.a,qe.a,ct]],[3,i.ComponentFactoryResolver],i.NgModuleRef]),i["\u0275mpd"](5120,i.LOCALE_ID,i["\u0275angular_packages_core_core_p"],[[3,i.LOCALE_ID]]),i["\u0275mpd"](4608,$e.p,$e.o,[i.LOCALE_ID,[2,$e.G]]),i["\u0275mpd"](5120,i["\u0275angular_packages_core_core_ba"],i["\u0275angular_packages_core_core_r"],[i.NgZone]),i["\u0275mpd"](5120,i.IterableDiffers,i["\u0275angular_packages_core_core_n"],[]),i["\u0275mpd"](5120,i.KeyValueDiffers,i["\u0275angular_packages_core_core_o"],[]),i["\u0275mpd"](4608,at.b,at.l,[$e.e]),i["\u0275mpd"](6144,i.Sanitizer,null,[at.b]),i["\u0275mpd"](6144,at.p,null,[at.m]),i["\u0275mpd"](4608,i.Testability,i.Testability,[i.NgZone]),i["\u0275mpd"](4608,ht.b,dt.c,[i.RendererFactory2,$e.e]),i["\u0275mpd"](4608,ft.i,ft.o,[$e.e,i.PLATFORM_ID,ft.m]),i["\u0275mpd"](4608,ft.p,ft.p,[ft.i,ft.n]),i["\u0275mpd"](5120,ft.a,(function(e,t,n,r,i){return[e,new gt(t,n),new vt(r,i)]}),[ft.p,h.r,tt.a,h.r,mt.j]),i["\u0275mpd"](4608,ft.l,ft.l,[]),i["\u0275mpd"](6144,ft.j,null,[ft.l]),i["\u0275mpd"](4608,ft.h,ft.h,[ft.j]),i["\u0275mpd"](6144,ft.b,null,[ft.h]),i["\u0275mpd"](4608,ft.f,ft.k,[ft.b,i.Injector]),i["\u0275mpd"](4608,ft.c,ft.c,[ft.f]),i["\u0275mpd"](4608,yt.a,yt.a,[h.r,tt.a]),i["\u0275mpd"](4608,bt.a,bt.a,[h.r]),i["\u0275mpd"](4608,Ct.y,Ct.y,[]),i["\u0275mpd"](4608,Ct.e,Ct.e,[]),i["\u0275mpd"](5120,wt.h,wt.g,[wt.a,wt.e]),i["\u0275mpd"](4608,wt.b,wt.b,[wt.h]),i["\u0275mpd"](4608,kt.a,kt.a,[]),i["\u0275mpd"](135680,Et.m,Et.m,[Et.a,Et.j,Et.l,Et.e]),i["\u0275mpd"](4608,St.a,St.a,[Et.l]),i["\u0275mpd"](5120,Ot.c,Ot.d,[Ot.j,Ot.g]),i["\u0275mpd"](4608,xt.a,xt.a,[]),i["\u0275mpd"](4608,Tt,Tt,[]),i["\u0275mpd"](4608,Bt.a,Bt.a,[]),i["\u0275mpd"](4608,Dt.d,Dt.d,[i.PLATFORM_ID]),i["\u0275mpd"](4608,Dt.f,Dt.f,[St.a,Dt.d]),i["\u0275mpd"](5120,h.a,h.G,[h.r]),i["\u0275mpd"](4608,h.i,h.i,[]),i["\u0275mpd"](6144,h.k,null,[h.i]),i["\u0275mpd"](135680,h.x,h.x,[h.r,i.NgModuleFactoryLoader,i.Compiler,i.Injector,h.k]),i["\u0275mpd"](4608,h.j,h.j,[]),i["\u0275mpd"](5120,h.L,h.C,[h.r,$e.y,h.l]),i["\u0275mpd"](5120,h.m,h.J,[h.H]),i["\u0275mpd"](5120,i.APP_BOOTSTRAP_LISTENER,(function(e){return[e]}),[h.m]),i["\u0275mpd"](4608,Dt.c,Dt.c,[[2,Dt.b],Et.o,Dt.d]),i["\u0275mpd"](1073742336,$e.c,$e.c,[]),i["\u0275mpd"](512,i.ErrorHandler,Mt.a,[]),i["\u0275mpd"](1024,i.NgProbeToken,(function(){return[h.B()]}),[]),i["\u0275mpd"](512,h.H,h.H,[i.Injector]),i["\u0275mpd"](1024,i.APP_INITIALIZER,(function(e,t){return[at.q(e),h.I(t)]}),[[2,i.NgProbeToken],h.H]),i["\u0275mpd"](512,i.ApplicationInitStatus,i.ApplicationInitStatus,[[2,i.APP_INITIALIZER]]),i["\u0275mpd"](131584,i.ApplicationRef,i.ApplicationRef,[i.NgZone,i["\u0275Console"],i.Injector,i.ErrorHandler,i.ComponentFactoryResolver,i.ApplicationInitStatus]),i["\u0275mpd"](1073742336,i.ApplicationModule,i.ApplicationModule,[i.ApplicationRef]),i["\u0275mpd"](1073742336,at.a,at.a,[[3,at.a]]),i["\u0275mpd"](1073742336,dt.b,dt.b,[]),i["\u0275mpd"](1073742336,ft.e,ft.e,[]),i["\u0275mpd"](1073742336,ft.d,ft.d,[]),i["\u0275mpd"](1073742336,Rt,Rt,[[3,Rt]]),i["\u0275mpd"](1073742336,Ct.x,Ct.x,[]),i["\u0275mpd"](1073742336,Ct.k,Ct.k,[]),i["\u0275mpd"](1073742336,Ct.u,Ct.u,[]),i["\u0275mpd"](1024,h.A,h.E,[[3,h.r]]),i["\u0275mpd"](512,h.z,h.d,[]),i["\u0275mpd"](512,h.c,h.c,[]),i["\u0275mpd"](256,h.l,{},[]),i["\u0275mpd"](1024,$e.k,h.D,[$e.w,[2,$e.a],h.l]),i["\u0275mpd"](512,$e.j,$e.j,[$e.k,$e.w]),i["\u0275mpd"](512,i.Compiler,i.Compiler,[]),i["\u0275mpd"](512,i.NgModuleFactoryLoader,i.SystemJsNgModuleLoader,[i.Compiler,[2,i.SystemJsNgModuleLoaderConfig]]),i["\u0275mpd"](1024,h.n,(function(){return[[{path:"",loadChildren:Ht,resolve:{staticData:jt}},{path:"account",loadChildren:Qt},{path:"help",loadChildren:Vt},{path:"**",redirectTo:"/not-found"}],[{path:"",canActivate:[yt.a],resolve:{user:Wt.a},children:[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"dashboard",component:zt.a,data:qt.b}]}]]}),[]),i["\u0275mpd"](1024,h.r,h.F,[i.ApplicationRef,h.z,h.c,$e.j,i.Injector,i.NgModuleFactoryLoader,i.Compiler,h.n,h.l,[2,h.y],[2,h.q]]),i["\u0275mpd"](1073742336,h.v,h.v,[[2,h.A],[2,h.r]]),i["\u0275mpd"](1073742336,Ge.b,Ge.b,[]),i["\u0275mpd"](1073742336,Yt.f,Yt.f,[]),i["\u0275mpd"](1073742336,Gt.c,Gt.c,[]),i["\u0275mpd"](1073742336,kt.d,kt.d,[]),i["\u0275mpd"](1073742336,mt.i,mt.i,[]),i["\u0275mpd"](1073742336,Xt.b,Xt.b,[]),i["\u0275mpd"](1073742336,Jt.d,Jt.d,[]),i["\u0275mpd"](1073742336,Zt.Vb,Zt.Vb,[]),i["\u0275mpd"](1073742336,Zt.tb,Zt.tb,[]),i["\u0275mpd"](1073742336,Zt.Db,Zt.Db,[]),i["\u0275mpd"](1073742336,Zt.lb,Zt.lb,[]),i["\u0275mpd"](1073742336,Zt.Fb,Zt.Fb,[]),i["\u0275mpd"](1073742336,Zt.rb,Zt.rb,[]),i["\u0275mpd"](1073742336,Zt.Bb,Zt.Bb,[]),i["\u0275mpd"](1073742336,Zt.nb,Zt.nb,[]),i["\u0275mpd"](1073742336,Zt.zb,Zt.zb,[]),i["\u0275mpd"](1073742336,Zt.Hb,Zt.Hb,[]),i["\u0275mpd"](1073742336,Zt.Mb,Zt.Mb,[]),i["\u0275mpd"](1073742336,$t.a,$t.a,[]),i["\u0275mpd"](1073742336,Zt.hb,Zt.hb,[]),i["\u0275mpd"](1073742336,wt.f,wt.f,[]),i["\u0275mpd"](1073742336,Zt.vb,Zt.vb,[]),i["\u0275mpd"](1073742336,en.a,en.a,[]),i["\u0275mpd"](1073742336,tn.b,t
1n.b,[]),i["\u0275mpd"](512,at.e,at.g,[]),i["\u0275mpd"](1024,at.c,(function(e,t,n,r,i,o,a,s){return[new at.j(e,t,n),new at.o(r),new at.n(i,o,a,s)]}),[$e.e,i.NgZone,i.PLATFORM_ID,$e.e,$e.e,at.e,i["\u0275Console"],[2,at.f]]),i["\u0275mpd"](512,at.d,at.d,[at.c,i.NgZone]),i["\u0275mpd"](131584,at.m,at.m,[$e.e]),i["\u0275mpd"](1024,i.APP_ID,i["\u0275angular_packages_core_core_f"],[]),i["\u0275mpd"](512,at.k,at.k,[at.d,at.m,i.APP_ID]),i["\u0275mpd"](1024,nn.a,dt.e,[]),i["\u0275mpd"](1024,nn.c,dt.f,[]),i["\u0275mpd"](512,nn.b,dt.d,[$e.e,nn.a,nn.c]),i["\u0275mpd"](1024,i.RendererFactory2,dt.g,[at.k,nn.b,i.NgZone]),i["\u0275mpd"](512,rn.a,rn.a,[i.NgZone,i.RendererFactory2,i.PLATFORM_ID]),i["\u0275mpd"](512,on.a,on.a,[i.ComponentFactoryResolver,i.NgZone,i.Injector,rn.a,i.ApplicationRef]),i["\u0275mpd"](512,Yt.b,Yt.b,[i.RendererFactory2,on.a]),i["\u0275mpd"](1073742336,an.a,an.a,[Yt.b]),i["\u0275mpd"](131584,Et.a,Et.a,[]),i["\u0275mpd"](131584,Ot.l,Ot.l,[]),i["\u0275mpd"](2048,Et.i,null,[Ot.l]),i["\u0275mpd"](256,Et.L,void 0,[]),i["\u0275mpd"](1024,Et.e,Et.ab,[Et.L]),i["\u0275mpd"](256,Et.N,{order:un,staticData:cn,user:dn},[]),i["\u0275mpd"](2048,Et.O,null,[Et.N]),i["\u0275mpd"](1024,Et.d,Et.X,[i.Injector,Et.N,Et.O]),i["\u0275mpd"](256,Et.M,Et.u,[]),i["\u0275mpd"](256,Et.U,{strictStateImmutability:!0,strictActionImmutability:!0},[]),i["\u0275mpd"](1024,Et.t,Et.I,[Et.U]),i["\u0275mpd"](1024,Et.V,Et.E,[Et.t]),i["\u0275mpd"](1024,Et.f,(function(e,t,n){return[Et.G(e),Et.F(t),Et.H(n)]}),[Et.V,Et.V,Et.V]),i["\u0275mpd"](256,Et.s,[],[]),i["\u0275mpd"](1024,Et.T,Et.bb,[Et.f,Et.s]),i["\u0275mpd"](1024,Et.g,Et.z,[Et.M,Et.T]),i["\u0275mpd"](131584,Et.h,Et.h,[Et.i,Et.e,Et.d,Et.g]),i["\u0275mpd"](2048,Et.j,null,[Et.h]),i["\u0275mpd"](131584,Et.l,Et.l,[]),i["\u0275mpd"](1024,Ot.j,Ot.e,[]),i["\u0275mpd"](256,Ot.h,{maxAge:25,logOnly:!0},[]),i["\u0275mpd"](1024,Ot.g,Ot.i,[Ot.h]),i["\u0275mpd"](512,Ot.k,Ot.k,[Ot.j,Ot.g,Ot.l]),i["\u0275mpd"](512,Ot.a,Ot.a,[Ot.l,Et.a,Et.j,Ot.k,Et.l,i.ErrorHandler,Et.e,Ot.g]),i["\u0275mpd"](1024,Et.n,Ot.f,[Ot.a]),i["\u0275mpd"](512,Et.o,Et.o,[Et.n,Et.a,Et.h]),i["\u0275mpd"](1024,Et.K,Et.cb,[[3,Et.o]]),i["\u0275mpd"](1024,Et.W,(function(e,t){return[Et.J(e),Et.J(t)]}),[Et.V,Et.V]),i["\u0275mpd"](1073742336,Et.q,Et.q,[Et.a,Et.j,Et.l,Et.o,[2,Et.K],[2,Et.W]]),i["\u0275mpd"](256,St.b,St.i,[]),i["\u0275mpd"](512,St.c,St.c,[i.ErrorHandler,St.b]),i["\u0275mpd"](131584,St.f,St.f,[St.c,Et.o]),i["\u0275mpd"](256,St.n,[[]],[]),i["\u0275mpd"](1024,St.g,(function(){return[[],[]]}),[]),i["\u0275mpd"](1024,St.o,St.k,[i.Injector,St.n,St.g]),i["\u0275mpd"](1024,Et.Q,(function(){return[{}]}),[]),i["\u0275mpd"](1024,Et.k,(function(){return[{key:"oidc",reducerFactory:Et.u,metaReducers:[],initialState:void 0}]}),[]),i["\u0275mpd"](1024,Et.R,Et.Y,[i.Injector,Et.Q,Et.k]),i["\u0275mpd"](1024,Et.P,(function(){return[Dt.e]}),[]),i["\u0275mpd"](1024,Et.S,(function(e){return[e]}),[Et.P]),i["\u0275mpd"](1024,Et.b,(function(e,t,n){return[Et.Z(e,t,n)]}),[i.Injector,Et.P,Et.S]),i["\u0275mpd"](1073873408,Et.p,Et.p,[Et.R,Et.b,Et.h,Et.q,[2,Et.W]]),i["\u0275mpd"](1024,St.m,St.l,[[3,St.f]]),i["\u0275mpd"](1073742336,St.e,St.e,[St.c,St.f,Et.o,St.o,[2,Et.q],[2,Et.p],[2,St.m]]),i["\u0275mpd"](1073742336,Ot.b,Ot.b,[]),i["\u0275mpd"](1073742336,fn,fn,[]),i["\u0275mpd"](1024,St.p,(function(){return[[Dt.f]]}),[]),i["\u0275mpd"](1024,St.q,(function(e,t,n){return[St.k(e,t,n
1)]}),[i.Injector,St.p,St.g]),i["\u0275mpd"](1073742336,St.d,St.d,[St.e,St.q,[2,Et.q],[2,Et.p]]),i["\u0275mpd"](1073742336,Dt.a,Dt.a,[]),i["\u0275mpd"](1073742336,Kt,Kt,[]),i["\u0275mpd"](1073742336,qt.a,qt.a,[]),i["\u0275mpd"](1073742336,pn.a,pn.a,[]),i["\u0275mpd"](1073742336,c,c,[]),i["\u0275mpd"](256,i["\u0275APP_ROOT"],!0,[]),i["\u0275mpd"](256,dt.a,"BrowserAnimations",[]),i["\u0275mpd"](256,ft.m,"XSRF-TOKEN",[]),i["\u0275mpd"](256,ft.n,"X-XSRF-TOKEN",[]),i["\u0275mpd"](256,wt.e,void 0,[]),i["\u0275mpd"](256,wt.a,wt.i,[]),i["\u0275mpd"](256,mt.b,{default:mt.a,config:{timeOut:8e3,positionClass:"toast-top-center",preventDuplicates:!0,progressBar:!0,enableHtml:!0}},[]),i["\u0275mpd"](256,Jt.a,an.b,[]),i["\u0275mpd"](256,Dt.b,{oidc_config:{authority:"https://accounts.1-check.com.au",client_id:"pc-register",redirect_uri:"https://register.1-check.com.au/callback.html",response_type:"id_token token",scope:"openid profile roles email offline_access pc_api",post_logout_redirect_uri:"https://register.1-check.com.au/signout-callback.html",silent_redirect_uri:"https://register.1-check.com.au/renew-callback.html",automaticSilentRenew:!0,accessTokenExpiringNotificationTime:10,userStore:s}},[])])}));o.a.production&&(Object(i.enableProdMode)(),console.log=function(){}),at.i().bootstrapModuleFactory(gn).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"},zp1y:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("l7GE"),i=n("ZUHj");function o(){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 a(t,n))}}var a=function(){return _createClass2((function e(t,n){_classCallCheck2(this,e),this.observables=t,this.project=n}),[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.observables,this.project))}}])}(),s=function(e){function t(e,n,r){var o;_classCallCheck2(this,t),(o=_callSuper(this,t,[e])).observables=n,o.project=r,o.toRespond=[];var a=n.length;o.values=new Array(a);for(var s=0;s<a;s++)o.toRespond.push(s);for(var l=0;l<a;l++){var u=n[l];o.add(Object(i.a)(o,u,u,l))}return o}return _inherits2(t,e),_createClass2(t,[{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(_toConsumableArray2(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)}}])}(r.a)}},[[0,0]]]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.